Viktor Lidholt
a66a5c4bff
Improvements to EffectLine in sprites
2015-09-18 15:58:16 -07:00
Adam Barth
94b27e7b81
Merge pull request #1234 from abarth/game_imports
...
SkySprites should import the public libraries
2015-09-18 12:41:11 -07:00
Adam Barth
490b22874a
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
e73bbd949e
Require that you pass transitions a performance.
...
This fixes #1103 .
2015-09-18 10:30:47 -07:00
Adam Barth
4467a268ce
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
8900b4c8ba
Adds TexturedLine and animated EffectLine to sprites
2015-09-17 13:27:43 -07:00
Adam Barth
7064551a45
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
97b25712f0
Update scale API and add example
2015-09-16 17:20:23 -07:00
Adam Barth
6e410fd84d
Remove MimicOverlay
...
This widget has no client.
2015-09-16 09:27:50 -07:00
Adam Barth
b0c300e526
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
945b5bcd64
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
8601e237be
Add some more docs to the rendering library
2015-09-11 15:09:38 -07:00
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