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

Unified Diff: sky/examples/game/main.dart

Issue 1180703002: Fixes matrix transformations in sprites (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: sky/examples/game/main.dart
diff --git a/sky/examples/game/main.dart b/sky/examples/game/main.dart
index 35cb8bdacc49399fd5663b3acee0363f67022736..273204c3f4f5ac513df30faee5d683a75eb555dd 100644
--- a/sky/examples/game/main.dart
+++ b/sky/examples/game/main.dart
@@ -19,5 +19,5 @@ void allLoaded(ImageMap loader) {
// Create a new app with the sprite box that contains our game world
//app = new AppView(new GameBox(new GameWorld(loader)));
//print("hello");
- app = new AppView((new SpriteBox(new GameTests(loader), SpriteBoxTransformMode.letterbox)));
+ app = new AppView((new GameTestsBox(new GameTests(loader), SpriteBoxTransformMode.nativePoints)));
}
« sky/examples/game/lib/node_with_size.dart ('K') | « sky/examples/game/lib/transform_node.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698