Commit Graph

633 Commits

Author SHA1 Message Date
Matt Perry
dfab52c706 Compare versions before updating an app bundle.
The version and update URL are stored in the app's manifest (sky.yaml).
2015-09-10 14:17:58 -04:00
Adam Barth
87c75d6e76 Remove redundant enum declarations from text_style.dart
These are now declared in dart:sky as part of ParagraphBuilder.
2015-09-10 08:03:48 -07:00
Scott Graham
4a7718d344 mine_digger: Fix not being able to de-flag on Android 2015-09-09 14:53:35 -07:00
Adam Barth
5108e15ed0 Introduce painting.dart and move painting code to src/painting 2015-09-08 10:36:14 -07:00
Adam Barth
b356d14635 Introduce package:sky/animation.dart
Move the animation libraries into src/animation and change importers to use
package:sky/animation.dart. Also, move scheduler.dart into the animation
library so that the animation library can be self-contained.
2015-09-08 09:44:01 -07:00
Adam Barth
318b69be10 Fold package:sky/editing/* into package:sky/widgets.dart
The editing directory just defined two widgets. We might as well fold them into
the main widgets library.
2015-09-07 10:07:41 -07:00
Adam Barth
95277953aa Document and bring sanity to BoxConstraints
Turns out many of the functions on BoxConstraints weren't used or had callers
that could easily be updated to other functions. I've added dartdoc to all the
public functions as well as renamed some functions that had similar names but
did different things.
2015-09-05 11:33:02 -07:00
Hans Muller
e6d48ac5b9 Merge pull request #1066 from HansMuller/more-dismissable-unit-tests
Add Dismissable unit tests

Add coverage for the DismissDirection paramter.
2015-09-04 14:45:46 -07:00
Hans Muller
b02531a9c2 Add Dismissable unit tests 2015-09-04 14:31:03 -07:00
Chinmay Garde
6063ac8772 Merge pull request #1063 from chinmaygarde/master
Setup mac target for Fitness app
2015-09-04 13:34:14 -07:00
Chinmay Garde
ea4d52720a Setup mac target for Fitness app 2015-09-04 13:29:47 -07:00
Viktor Lidholt
49adb447a2 Merge pull request #1059 from vlidholt/master
Improvements to demo game
2015-09-04 13:03:50 -07:00
Hans Muller
4e01c05469 Add Dismissable support for DismissDirection
```
enum DismissDirection {
  vertical,
  horizontal,
  left,
  right,
  up,
  down
}
```

To only enable dismissing to the right create the `Dismissable` with `direction: DismissDirection.right`. By default direction is `DismissDirection.horizontal` (left or right).

Updated the card_collection "Swipe Away" demo with a drawer that can be used to select one of the three X axis dismiss directions. Currently the MixedViewport class doesn't support horizontal scrolling, so the demo doesn't support the X axis dismiss directions.
2015-09-04 11:31:15 -07:00
Viktor Lidholt
ceef6321eb Adds helpers to bosses at level 2 & 3 and above in demo game 2015-09-04 10:35:45 -07:00
Viktor Lidholt
bf179674ad More precise removal of lasers when they go offscreen in demo game 2015-09-04 10:35:45 -07:00
Viktor Lidholt
876fb7b38b Laser speed now accounts for scrolling speed in demo game 2015-09-04 10:35:45 -07:00
Viktor Lidholt
eb3f30ab1f Refactors boss power bar to use new constraint in demo game 2015-09-03 15:36:26 -07:00
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
20809bc9a5 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
dfe80a53ae Adds power bar and movements to boss fights in demo game 2015-09-03 12:58:24 -07:00
Adam Barth
d0ad775ef2 Remove lerp.dart
These functions are now in sky:dart.
2015-09-03 12:36:24 -07:00
Adam Barth
e35e700cc4 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
36c62edffb 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
bdb8092f16 Merge pull request #1029 from vlidholt/master
Initial boss fight in demo game
2015-09-02 16:51:51 -07:00
Viktor Lidholt
bd610f43ba Initial boss fight in demo game 2015-09-02 16:49:36 -07:00
Hans Muller
ed8c1cb69e Enable dynamic changes to itemsWrap in PageableList 2015-09-02 16:00:53 -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
Viktor Lidholt
beb9197f7a 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
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
Matt Perry
d2f151acbe 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
02ebc4fa67 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
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
Hixie
eae466f032 Remove the silly dialog.
Fixes #247.
2015-08-31 14:41:34 -07:00
Hans Muller
fbe4bb42a0 Update mixed_viewport example to new Key API 2015-08-31 11:37:25 -07:00
Adam Barth
4adf70215d 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
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
Hixie
9047830c2e 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
dc84e882df 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
b214e355f6 Only require iOS 7 for Fitness app. 2015-08-27 15:02:18 -07:00
Viktor Lidholt
5f277dd4d2 Merge pull request #874 from vlidholt/master
Adds counting of coins in demo game
2015-08-27 10:23:24 -07:00
Viktor Lidholt
e239e4c993 Adds counting of coins in demo game 2015-08-26 15:35:19 -07:00
Eric Seidel
b122969624 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
d90ccd3a2a Moves GameObjectFactory and PlayerState to their own files in demo game 2015-08-26 13:14:40 -07:00