Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: sky/sdk/example/game/lib/sprites.dart

Issue 1235653004: Improved action animations in sprites (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/sdk/example/game/lib/sprite_box.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library sprites; 5 library sprites;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:math' as Math; 8 import 'dart:math' as Math;
abarth-chromium 2015/07/10 19:13:51 nit: We've been using the local name |math| rather
9 import 'dart:sky'; 9 import 'dart:sky';
10 import 'dart:convert'; 10 import 'dart:convert';
11 import 'package:sky/animation/curves.dart';
abarth-chromium 2015/07/10 19:13:51 This should probably go below with the other packa
11 12
12 import 'package:sky/base/scheduler.dart' as scheduler; 13 import 'package:sky/base/scheduler.dart' as scheduler;
13 import 'package:sky/mojo/asset_bundle.dart'; 14 import 'package:sky/mojo/asset_bundle.dart';
14 import 'package:sky/rendering/box.dart'; 15 import 'package:sky/rendering/box.dart';
15 import 'package:sky/rendering/object.dart'; 16 import 'package:sky/rendering/object.dart';
16 import 'package:sky/widgets/widget.dart'; 17 import 'package:sky/widgets/widget.dart';
17 import 'package:vector_math/vector_math.dart'; 18 import 'package:vector_math/vector_math.dart';
18 19
19 part 'sprite_box.dart'; 20 part 'sprite_box.dart';
20 part 'sprite_widget.dart'; 21 part 'sprite_widget.dart';
21 part 'node.dart'; 22 part 'node.dart';
22 part 'node_with_size.dart'; 23 part 'node_with_size.dart';
23 part 'sprite.dart'; 24 part 'sprite.dart';
24 part 'image_map.dart'; 25 part 'image_map.dart';
25 part 'texture.dart'; 26 part 'texture.dart';
26 part 'spritesheet.dart'; 27 part 'spritesheet.dart';
27 part 'particle_system.dart'; 28 part 'particle_system.dart';
28 part 'color_secuence.dart'; 29 part 'color_secuence.dart';
29 part 'action.dart'; 30 part 'action.dart';
30 part 'util.dart'; 31 part 'util.dart';
OLDNEW
« no previous file with comments | « sky/sdk/example/game/lib/sprite_box.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698