152 Commits

Author SHA1 Message Date
Viktor Lidholt
dbda2725ff Adds coins when a boss explodes in demo game 2015-09-03 14:55:14 -07:00
Viktor Lidholt
8c958f97fe Refactors code in demo game to make it simpler 2015-09-03 13:40:36 -07:00
Viktor Lidholt
dfe80a53ae Adds power bar and movements to boss fights in demo game 2015-09-03 12:58:24 -07:00
Viktor Lidholt
bd610f43ba Initial boss fight in demo game 2015-09-02 16:49:36 -07:00
Viktor Lidholt
edbf5b7391 Adds speed boost power up to demo game 2015-09-02 15:14:22 -07:00
Viktor Lidholt
fff9642196 Improves laser upgrade in demo game 2015-09-02 14:47:54 -07:00
Adam Barth
b97028086c Merge pull request #1018 from abarth/mv_src
Move widgets and rendering inside src
2015-09-02 13:41:25 -07:00
Adam Barth
693ddcd8dd Move widgets and rendering inside src
Code outside of package:sky should import this code using

package:sky/rendering.dart
package:sky/widgets.dart

Moving this code into the "src" directory is a convention that signifies that
and it cleans up the generated dartdoc because the libraries in the src
directory aren't included in the generated documentation. Instead, the classes
are documented in the widgets.dart and rendering.dart libraries.
2015-09-02 13:38:00 -07:00
Viktor Lidholt
d79b3598b0 Improves on demo game balance and adds levels for lasers 2015-09-02 13:34:02 -07:00
Viktor Lidholt
9a21cbc7e6 Adds level labels to demo game 2015-09-01 16:14:53 -07:00
Viktor Lidholt
37d0c1a8d8 Adds small explosions to demo game 2015-09-01 15:34:43 -07:00
Viktor Lidholt
6de024f0d1 Speeds up explosions in demo game 2015-09-01 15:34:43 -07:00
Viktor Lidholt
138e8fbf42 Adds power-ups to demo game 2015-08-28 16:07:00 -07:00
Viktor Lidholt
c7d2872d77 Adds new enemies and coin display to demo game 2015-08-28 16:07:00 -07:00
Viktor Lidholt
e239e4c993 Adds counting of coins in demo game 2015-08-26 15:35:19 -07:00
Viktor Lidholt
d90ccd3a2a Moves GameObjectFactory and PlayerState to their own files in demo game 2015-08-26 13:14:40 -07:00
Viktor Lidholt
3464bd18d0 Adds power ups to demo game, and some minor refactoring to support the addition 2015-08-26 12:41:21 -07:00
Viktor Lidholt
1bb647e67f Splits up demo game into multiple files for better readability 2015-08-26 10:22:09 -07:00
Viktor Lidholt
e2af762e76 Updates demo game to work with new constraints api 2015-08-26 10:07:59 -07:00
Hixie
ce28a7176e Replace Flex to Row and Column in tests and examples.
This still leaves Flex and FlexDirection available. At some point once
people have transitioned to Row/Column we should rename Flex to _Flex
and stop reexporting FlexDirection from basic.dart.
2015-08-26 09:05:14 -07:00
Viktor Lidholt
ebeb8e2d42 Moves sky sprites to its own package 2015-08-25 16:08:46 -07:00
Viktor Lidholt
59817111f0 Fixes nits 2015-08-25 15:30:45 -07:00
Viktor Lidholt
dec2689c07 Adds swarms of enemies to demo game 2015-08-25 14:49:54 -07:00
Viktor Lidholt
dcd17aefd6 Adds constraint for rotating a node towards another node 2015-08-25 14:47:56 -07:00
Viktor Lidholt
dc3159316e Makes the spline tension editable in sprites 2015-08-25 14:45:44 -07:00
Viktor Lidholt
bc62a243f5 Removes old code from demo game 2015-08-25 10:14:26 -07:00
Viktor Lidholt
af6372fd0e Removes custom joystick code and adds a new moving enemy to demo game 2015-08-25 09:28:58 -07:00
Viktor Lidholt
51715d304f Adds base rotation property to rotate-to-movement constraint 2015-08-25 09:28:58 -07:00
Viktor Lidholt
9fc36fe794 Adds virtual joystick to games library 2015-08-25 09:28:58 -07:00
Viktor Lidholt
119a652d17 Minor code cleanup 2015-08-24 16:41:05 -07:00
Viktor Lidholt
840dfae937 Adds support for spline actions and constraints on nodes 2015-08-24 16:08:23 -07:00
Viktor Lidholt
a78370fe9c New game demo, initial version 2015-08-24 16:07:25 -07:00
Adam Barth
51c7194075 Add SetRequestedOrientation to Activity service
Fixes #743
2015-08-21 12:49:49 -07:00
Viktor Lidholt
d9c743e1c5 Fixes loading of assets in demo game 2015-08-18 10:33:34 -07:00
Viktor Lidholt
882f32bb95 Merge pull request #666 from vlidholt/master
Adds bounce and elastic easing to animation curves
2015-08-18 09:37:02 -07:00
Eric Seidel
b3947162ff Make Asteroids.apk use background music from its bundle
This was the last instance of loading assets off of Github.

@abarth
2015-08-17 17:10:38 -07:00
Viktor Lidholt
9cb2cdacba Updates demo game to use curves from the animation package 2015-08-17 17:07:55 -07:00
Eric Seidel
67c481b2ef Teach Asteroids Sounds how to load from AssetBundle
@abarth
2015-08-17 16:07:08 -07:00
Adam Barth
91a783bf62 Rename Widget.root to Widget.renderObject
The name `root` is confusing because this value isn't the root of anything.
It's just the associated `RenderObject` instance.
2015-08-17 14:15:26 -07:00
Viktor Lidholt
f49a490dc0 Adds SoundManager class 2015-08-17 12:49:32 -07:00
Viktor Lidholt
d028875510 Adds a new ActionDelay class to sprites 2015-08-17 09:23:13 -07:00
Viktor Lidholt
e17f6b7b06 Adds background music for demo game 2015-08-13 16:00:29 -07:00
Viktor Lidholt
4530e45710 Unifies interfaces for SoundTrackPlayer and SoundEffectPlayer 2015-08-13 16:00:29 -07:00
Viktor Lidholt
a750da5606 Adds a SoundTrackPlayer class 2015-08-13 16:00:29 -07:00
Viktor Lidholt
3d31273e65 Rename SoundCompleteCallback to SoundEffectStreamCallback 2015-08-13 16:00:29 -07:00
Viktor Lidholt
fa82f1a6e1 Refactors names of sound effect classes 2015-08-13 16:00:29 -07:00
Viktor Lidholt
6895312218 Removes the ability to jump to different positions in sound effects (this isn't supported on Android) 2015-08-13 16:00:29 -07:00
Viktor Lidholt
4b462bab5d Adds sounds to demo game bundle 2015-08-13 12:57:07 -07:00
Viktor Lidholt
b529445fae Adds sounds to demo game 2015-08-13 12:35:32 -07:00
Viktor Lidholt
86a8e06a90 Adds sound support to sprite api 2015-08-13 12:35:32 -07:00