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
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
Ian Fischer
3a2fd489fa
Merge pull request #528 from iansf/asteroids_move_main
...
Move main.dart to lib/main.dart for the game
2015-08-10 15:06:54 -07:00
Ian Fischer
1d661379c9
Move game/main.dart to game/lib/main.dart.
2015-08-10 15:05:54 -07:00
Viktor Lidholt
9b898cffac
Adds optional rect property to sprite layer class
2015-08-10 14:43:34 -07:00
Viktor Lidholt
35bdbbfee0
Updates demo game with changes to Sprites and Nodes
2015-08-10 12:37:44 -07:00
Viktor Lidholt
7b4f41e36c
Adds new Layer class
2015-08-10 12:37:12 -07:00
Viktor Lidholt
32359d4b62
Refactors Sprite class to use SpritePaint mix-in for setting paint properties
2015-08-10 12:36:08 -07:00
Viktor Lidholt
e4b8d8a84a
Improves particle performance by never having doubles as null (5% gain in performance test)
2015-08-10 10:05:35 -07:00
Ian Fischer
d44ed7dfc3
Move example out of sky/packages to //examples
2015-08-07 17:04:50 -07:00
Ian Fischer
82404e030a
Move sky/examples to sky/sdk/lib/example, and code changes to support that change. Fixes T277.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1218593002 .
2015-06-26 15:06:40 -07:00
Viktor Lidholt
2e32c6721d
Adds support for rotated textures
...
Adds documentation to Texture and SpriteSheet
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1212073002 .
2015-06-25 13:13:33 -07:00
Ian Fischer
82d1eb2fdb
Decouple Canvas from DisplayList and map Picture and PictureRecorder more directly to their Skia counterparts.
...
Also changes the framework dart code to use the
refactored APIs and fixes the various examples and
tests.
R=abarth@chromium.org , ianh@chromium.org
Review URL: https://codereview.chromium.org/1190123003 .
2015-06-24 10:21:45 -07:00