diff --git a/examples/game/lib/action_spline.dart b/examples/game/lib/action_spline.dart index 077b61ba354..61e7835fa2d 100644 --- a/examples/game/lib/action_spline.dart +++ b/examples/game/lib/action_spline.dart @@ -50,8 +50,6 @@ class ActionSpline extends ActionInterval { Point newPos = _cardinalSplineAt(p0, p1, p2, p3, tension, lt); - //print("newPos: $newPos"); - setter(newPos); } } diff --git a/examples/game/lib/game_demo.dart b/examples/game/lib/game_demo.dart index def48f867c0..aaceee4396b 100644 --- a/examples/game/lib/game_demo.dart +++ b/examples/game/lib/game_demo.dart @@ -2,13 +2,10 @@ library game; import 'dart:async'; import 'dart:sky' as sky; -import 'dart:math' as Math; import 'sprites.dart'; import 'package:sky/rendering/object.dart'; import 'package:sky/widgets/framework.dart'; -import 'package:sky/widgets/navigator.dart'; import 'package:sky/animation/curves.dart'; -import 'package:vector_math/vector_math_64.dart'; part 'game_demo_node.dart'; diff --git a/examples/game/lib/main.dart b/examples/game/lib/main.dart index 1efda129314..c6154512894 100644 --- a/examples/game/lib/main.dart +++ b/examples/game/lib/main.dart @@ -81,15 +81,6 @@ class GameDemoApp extends App { int _lastScore = 0; void initState() { - // _game = new GameDemoNode( - // _imageMap, - // _spriteSheet, - // _spriteSheetUI, - // _sounds, - // (lastScore) { - // setState(() {_lastScore = lastScore;}); - // }); - _navigationState = new NavigationState([ new Route( name: '/', @@ -252,10 +243,6 @@ class _TextureButtonToken { class MainScreenBackground extends NodeWithSize { MainScreenBackground() : super(new Size(320.0, 320.0)) { - // Sprite sprtBackground = new Sprite.fromImage(_imageMap['assets/starfield.png']); - // sprtBackground.position = new Point(160.0, 160.0); - // addChild(sprtBackground); - assert(_spriteSheet.image != null); StarField starField = new StarField(_spriteSheet, 200, true);