Adam Barth
2b57997836
Merge pull request #1234 from abarth/game_imports
...
SkySprites should import the public libraries
2015-09-18 12:41:11 -07:00
Adam Barth
3dbef8ac26
SkySprites should import the public libraries
...
Importing the public libraries caused a name conflict with dart:sky because we
assume people will import dart:sky into a namespace, so I've also changed
skysprites to import dart:sky into a namespace.
2015-09-18 11:19:39 -07:00
Hixie
8dcec9bf93
Require that you pass transitions a performance.
...
This fixes #1103 .
2015-09-18 10:30:47 -07:00
Adam Barth
9cef3e61e9
Move theme into material.dart
...
Also, introduce Colors and Typography to hold the material colors and the
typography declarations. Previously we expected clients of these libraries to
import them into a namespace, but that doesn't play nice with re-exporting them
from material.dart.
2015-09-18 09:57:21 -07:00
Viktor Lidholt
263d06c533
Adds TexturedLine and animated EffectLine to sprites
2015-09-17 13:27:43 -07:00
Adam Barth
0cc094288e
Move mojo frontend into services.dart
...
What's important about this code is that it's presenting services outside the
VM, not the particular technology used to present the services.
2015-09-16 19:13:50 -07:00
Collin Jackson
aa6251a276
Update scale API and add example
2015-09-16 17:20:23 -07:00
Adam Barth
db9c46213b
Remove MimicOverlay
...
This widget has no client.
2015-09-16 09:27:50 -07:00
Adam Barth
8a652df63e
Add dartdoc for proxy_box.dart and other code in rendering
...
Almost done adding dartdoc to the rendering layer.
2015-09-14 10:35:31 -07:00
Adam Barth
b0719a47b6
Remove use of some deprecated functions on sky.Paint
...
We now expose idiomatic setters for these properties. Eventually we'll remove
the setter functions.
2015-09-13 17:24:15 -07:00
Adam Barth
305fb7e10f
Add some more docs to the rendering library
2015-09-11 15:09:38 -07:00
Matt Perry
2994380377
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
c78b7d05af
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
7bc355c6e3
mine_digger: Fix not being able to de-flag on Android
2015-09-09 14:53:35 -07:00
Adam Barth
ad0d74a41e
Introduce painting.dart and move painting code to src/painting
2015-09-08 10:36:14 -07:00
Adam Barth
ef880695d5
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
169e1d6cff
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
79c280a703
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
12692debe7
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
f621e01c3b
Add Dismissable unit tests
2015-09-04 14:31:03 -07:00
Chinmay Garde
b522f93f07
Merge pull request #1063 from chinmaygarde/master
...
Setup mac target for Fitness app
2015-09-04 13:34:14 -07:00
Chinmay Garde
b3b8833219
Setup mac target for Fitness app
2015-09-04 13:29:47 -07:00
Viktor Lidholt
9aa71b4d02
Merge pull request #1059 from vlidholt/master
...
Improvements to demo game
2015-09-04 13:03:50 -07:00
Hans Muller
73361c6be3
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
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