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

Unified Diff: sky/examples/game/lib/game_world.dart

Issue 1164633004: Adds support for transfer mode in Paint and SpriteNode classes (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fixes indentations and whitespaces 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
« no previous file with comments | « sky/engine/core/painting/Paint.idl ('k') | sky/examples/game/lib/sprite_node.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/game/lib/game_world.dart
diff --git a/sky/examples/game/lib/game_world.dart b/sky/examples/game/lib/game_world.dart
index e066db98dda89e86fdd3db1bfa84cde4740bb3e7..2101512992d37770000f09a082979f9e426a8c68 100644
--- a/sky/examples/game/lib/game_world.dart
+++ b/sky/examples/game/lib/game_world.dart
@@ -66,6 +66,8 @@ class GameWorld extends TransformNode {
SpriteNode sprt = new SpriteNode.withImage(_image);
sprt.width = radius*2;
sprt.height = radius*2;
+ sprt.colorOverlay = new Color(0x33ff0000);
+ sprt.transferMode = TransferMode.plusMode;
body.userData = sprt;
this.children.add(sprt);
}
« no previous file with comments | « sky/engine/core/painting/Paint.idl ('k') | sky/examples/game/lib/sprite_node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698