167 Commits

Author SHA1 Message Date
Matt Perry
d05b9480e6 Introduce an UpdateService for android.
Very simple so far. This schedules an alarm to fire once a day, kicking
off a service that downloads a new app.skyx from a hardcoded URL. The
new skyx replaces the current one.
2015-09-02 15:32:09 -04:00
Adam Barth
b379439e37 Remove some unused dart:sky IDLs
This CL deletes a bunch of unused IDL files and removes some dead code in the
engine.
2015-09-02 00:09:43 -07:00
Viktor Lidholt
1cca29b3cd Adds level labels to demo game 2015-09-01 16:14:53 -07:00
Viktor Lidholt
2291bd6d4c Adds small explosions to demo game 2015-09-01 15:34:43 -07:00
Viktor Lidholt
fcd47c4dc1 Speeds up explosions in demo game 2015-09-01 15:34:43 -07:00
Hixie
bb3d3aa8de Remove the silly dialog.
Fixes #247.
2015-08-31 14:41:34 -07:00
Hans Muller
527772f18f Update mixed_viewport example to new Key API 2015-08-31 11:37:25 -07:00
Adam Barth
d5534a20b8 Pull in a new version of playfair
We need the new version because of the TextPainter rename.
2015-08-29 15:54:43 -07:00
Viktor Lidholt
eb6a09c55c Adds power-ups to demo game 2015-08-28 16:07:00 -07:00
Viktor Lidholt
435e3a5fbd Adds new enemies and coin display to demo game 2015-08-28 16:07:00 -07:00
Hixie
08b7ea3e3d Rationalise the Key API.
Add a way of having keys based on numeric types or DateTimes by having a ValueKey<T> class.
Remove the redundant ways of declaring things, except for leaving one shorthand -- you can say `new Key(s)` instead of `new ValueKey<String>(s)`.
2015-08-28 13:17:34 -07:00
Adam Barth
9c82589fc3 Use GestureDetector in the framework and examples
We're now using it at the widget layer for everything except scrolling and
flinging.
2015-08-28 10:58:46 -07:00
Ian Fischer
89bdb35f25 Only require iOS 7 for Fitness app. 2015-08-27 15:02:18 -07:00
Viktor Lidholt
afdf1c2243 Merge pull request #874 from vlidholt/master
Adds counting of coins in demo game
2015-08-27 10:23:24 -07:00
Viktor Lidholt
aca0dd5860 Adds counting of coins in demo game 2015-08-26 15:35:19 -07:00
Eric Seidel
13926c351f Add support for RenderGrid
I'll write the Widget wrapper in the next CL, including adding
support for padding at the Widget layer.

@Hixie
2015-08-26 13:52:30 -07:00
Viktor Lidholt
77c8c04946 Moves GameObjectFactory and PlayerState to their own files in demo game 2015-08-26 13:14:40 -07:00
Viktor Lidholt
6631c24390 Merge pull request #859 from vlidholt/master
Adds power ups to demo game
2015-08-26 12:46:50 -07:00
Viktor Lidholt
3b183ff416 Adds power ups to demo game, and some minor refactoring to support the addition 2015-08-26 12:41:21 -07:00
Adam Barth
433f825ca0 Turn big_circle.dart into a test
Fixes #829
2015-08-26 11:10:16 -07:00
Adam Barth
514635c646 Merge pull request #854 from abarth/sector_broken
Sector demo is broken because of compositor changes
2015-08-26 11:02:51 -07:00
Adam Barth
eb72d4b674 Sector demo is broken because of compositor changes
We need to implement visitChildren for the RenderObjects in the sector demo.
Also, add a test.

Fixes #790
2015-08-26 10:58:30 -07:00
Viktor Lidholt
75c687f374 Merge pull request #851 from vlidholt/master
Fixes issues in sprite constraints
2015-08-26 10:42:20 -07:00
Collin Jackson
5da1afe0b1 Merge pull request #838 from collinjackson/improve_date_picker
Add date picker to widgets library and teach fitness app to use it
2015-08-26 10:28:27 -07:00
Viktor Lidholt
a7ede89e93 Splits up demo game into multiple files for better readability 2015-08-26 10:22:09 -07:00
Viktor Lidholt
33f64444ad Updates demo game to work with new constraints api 2015-08-26 10:07:59 -07:00
Hixie
71e6f53a57 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
Collin Jackson
d8690b8cae Add date picker to widgets library and teach fitness app to use it
Also, add an example for the date picker
2015-08-25 16:41:11 -07:00
Ian Fischer
ed7c2d00c2 Merge pull request #840 from iansf/change_fitness_app_id
Change Fitness app id
2015-08-25 16:40:10 -07:00
Ian Fischer
80658a1585 Change Fitness bundle id to be compatible with signing with Google’s keys. 2015-08-25 16:24:28 -07:00
Viktor Lidholt
c46ff6f2f3 Merge pull request #835 from vlidholt/master
Moves sky sprites to its own package
2015-08-25 16:12:30 -07:00
Viktor Lidholt
872a1cbfa4 Moves sky sprites to its own package 2015-08-25 16:08:46 -07:00
Viktor Lidholt
51f3f7ea04 Merge pull request #826 from vlidholt/master
Updates to demo game
2015-08-25 15:33:49 -07:00
Viktor Lidholt
40e2693bf8 Fixes nits 2015-08-25 15:30:45 -07:00
Eric Seidel
909671106e Roll APK versions in preparation for releases
@abarth
2015-08-25 15:12:38 -07:00
Viktor Lidholt
ec4aaf2efd Adds swarms of enemies to demo game 2015-08-25 14:49:54 -07:00
Viktor Lidholt
0d0ee255fa Adds constraint for rotating a node towards another node 2015-08-25 14:47:56 -07:00
Viktor Lidholt
dbe555a42a Makes the spline tension editable in sprites 2015-08-25 14:45:44 -07:00
Eric Seidel
8de49db608 Make 'save failed' snackbar show up
SnackBar's crash if you fail to provide a showing bool.

I tried to edit it in the framework, but this seemed easier for now.

The snackbar still shows behind the keyboard unfortunately.
https://github.com/domokit/sky_engine/issues/810

@collinjackson
2015-08-25 13:39:27 -07:00
Eric Seidel
e76d3f9fd1 Move Fitness.app to the latest playfair
@collinjackson
2015-08-25 13:32:28 -07:00
Eric Seidel
9085b8ad44 Hack around Fitness.app crashing if it can't load data
I'm not sure this is the correct approach, but it
at least mitigates https://github.com/domokit/sky_engine/issues/804
for now.

I also made it not crash if you haven't set a goalWeight.

@collinjackson
2015-08-25 13:09:50 -07:00
Viktor Lidholt
6622c8cd3d Removes old code from demo game 2015-08-25 10:14:26 -07:00
Viktor Lidholt
cca7006d95 Removes custom joystick code and adds a new moving enemy to demo game 2015-08-25 09:28:58 -07:00
Viktor Lidholt
0257b37975 Adds base rotation property to rotate-to-movement constraint 2015-08-25 09:28:58 -07:00
Viktor Lidholt
4a6919c364 Adds virtual joystick to games library 2015-08-25 09:28:58 -07:00
Viktor Lidholt
bb0de38f5b Minor code cleanup 2015-08-24 16:41:05 -07:00
Viktor Lidholt
e5fb2b7187 Adds support for spline actions and constraints on nodes 2015-08-24 16:08:23 -07:00
Viktor Lidholt
c1b071c1ac New game demo, initial version 2015-08-24 16:07:25 -07:00
Adam Barth
d1537172bf Merge pull request #780 from abarth/mimic_improvements
Mimic should track Mimicable more completely
2015-08-24 15:11:34 -07:00
Adam Barth
3acbcbd375 Mimic should track Mimicable more completely
We now have Mimic tracking Mimicable through tree structure changes and while
moving around the screen.

Fixes #751 and #756
2015-08-24 15:11:18 -07:00