187 Commits

Author SHA1 Message Date
Viktor Lidholt
ae9d4115ff Adds helpers to bosses at level 2 & 3 and above in demo game 2015-09-04 10:35:45 -07:00
Viktor Lidholt
c4a6610ad7 More precise removal of lasers when they go offscreen in demo game 2015-09-04 10:35:45 -07:00
Viktor Lidholt
7681420367 Laser speed now accounts for scrolling speed in demo game 2015-09-04 10:35:45 -07:00
Viktor Lidholt
a4d344d164 Refactors boss power bar to use new constraint in demo game 2015-09-03 15:36:26 -07:00
Viktor Lidholt
ab616f08d9 Adds coins when a boss explodes in demo game 2015-09-03 14:55:14 -07:00
Viktor Lidholt
2bb73bbf5f Refactors code in demo game to make it simpler 2015-09-03 13:40:36 -07:00
Viktor Lidholt
323291cacb Merge pull request #1047 from vlidholt/master
Adds power bar and movements to boss fights in demo game
2015-09-03 13:14:11 -07:00
Viktor Lidholt
1a6300a20a Adds power bar and movements to boss fights in demo game 2015-09-03 12:58:24 -07:00
Adam Barth
97aa83b307 Remove lerp.dart
These functions are now in sky:dart.
2015-09-03 12:36:24 -07:00
Adam Barth
d341bedd64 Actually make the raw examples work again
In my previous patch, I forgot to fill in the other diagonal entries in the
device transform matrix.
2015-09-03 09:39:45 -07:00
Adam Barth
e845755729 Remove all clients of sky.view.picture
Everyone uses sky.view.scene now. This patch also cleans up the raw examples
and makes them follow a consistent pattern.
2015-09-02 23:35:29 -07:00
Viktor Lidholt
b70841f2a5 Merge pull request #1029 from vlidholt/master
Initial boss fight in demo game
2015-09-02 16:51:51 -07:00
Viktor Lidholt
ee7023531c Initial boss fight in demo game 2015-09-02 16:49:36 -07:00
Hans Muller
953bb509d0 Enable dynamic changes to itemsWrap in PageableList 2015-09-02 16:00:53 -07:00
Viktor Lidholt
e8fbb4f133 Adds speed boost power up to demo game 2015-09-02 15:14:22 -07:00
Viktor Lidholt
b5ffee2b25 Improves laser upgrade in demo game 2015-09-02 14:47:54 -07:00
Adam Barth
becef0155a Merge pull request #1018 from abarth/mv_src
Move widgets and rendering inside src
2015-09-02 13:41:25 -07:00
Viktor Lidholt
38c2307680 Merge pull request #1017 from vlidholt/master
Improves on demo game balance and adds levels for lasers
2015-09-02 13:39:43 -07:00
Adam Barth
0045b65996 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
cbce3da61a Improves on demo game balance and adds levels for lasers 2015-09-02 13:34:02 -07:00
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