142 Commits

Author SHA1 Message Date
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
Viktor Lidholt
5cf3b58f66 Merge pull request #577 from vlidholt/master
Fixes issue in sprite
2015-08-13 12:33:40 -07:00
Adam Barth
c80603cf0e Add PaintingContext which has-a sky.Canvas instead of is-a sky.Canvas
We'll need this for compositing because we need to switch out the sky.Canvas
when we switch compositing layers.
2015-08-13 10:18:33 -07:00
Viktor Lidholt
d8c1d99c25 Fixes issue in sprite 2015-08-12 10:25:55 -07:00
Viktor Lidholt
87a50f412d Adds API docs to particle systems and removes redundant property 2015-08-11 16:25:58 -07:00
Viktor Lidholt
238ac8abdc Adds API docs to sprite Node and Node3D 2015-08-11 14:33:45 -07:00
Viktor Lidholt
db8bdbe619 Adds API docs to sprite ColorSequence and Layer 2015-08-11 14:13:57 -07:00
Viktor Lidholt
1e0ceaf1ac Merge pull request #561 from vlidholt/master
Adds documentation for sprite actions
2015-08-11 14:04:22 -07:00
Viktor Lidholt
7d5dece1db Adds documentation for actions. 2015-08-11 12:19:07 -07:00
Viktor Lidholt
7d3a6c4a78 Merge pull request #527 from vlidholt/master
Adds optional rect property to sprite layer class
2015-08-11 09:11:09 -07:00
Adam Barth
9f228349e9 Use ImageResource instead of Future<sky.Image>
Using ImageResource solves two problems:

1) Listeners can be notified synchronously when the sky.Image is already
   available. This change removes flash of 0x0 layout when moving an
   already-cached image around in the render tree.

2) In the future, when we support animated images, we can notify listeners
   multiple times whenever a new image is available.
2015-08-10 20:43:32 -07:00