4039 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
05e26a7704 Merge pull request #1050 from vlidholt/master
Demo game improvements
2015-09-04 10:33:56 -07:00
Adam Barth
64a3095297 Merge pull request #1056 from abarth/event_ordering
Events should bubble up the tree
2015-09-04 09:31:55 -07:00
Ian Fischer
8ff467a7a0 Merge pull request #1054 from iansf/start_error_code
Error out on start if nothing started.
2015-09-04 07:53:48 -07:00
Adam Barth
58d67facd8 Merge pull request #1011 from abarth/paragraph_builder
Sketch a DOM-free API for laying out and painting text
2015-09-03 20:29:15 -07:00
Adam Barth
7d8c1389cd Merge pull request #1055 from afandria/ignoring3
Add optional ignoring parameter to IgnorePointer
2015-09-03 19:46:28 -07:00
Alex Fandrianto
622d82d8ae Address Pull Request feedback
(optional param default value + newlines)
2015-09-03 19:14:22 -07:00
Adam Barth
c96332788e Events should bubble up the tree
Previously we reversed the event path by mistake before dispatching events.
2015-09-03 18:20:38 -07:00
Alex Fandrianto
f62b94b4c6 This makes it easier for apps to control whether an IgnorePointer
widget is actively ignoring or not by changing a boolean instead of
the tree structure. ignoring defaults to true.
2015-09-03 17:45:44 -07:00
Ian Fischer
e9aaac2ebb Return 0 or 2 from start and install commands. 2015-09-03 17:20:55 -07:00
Adam Barth
69a357eb76 Merge pull request #1051 from abarth/default_hit_test_children
defaultHitTestChildren should return whether it hit something
2015-09-03 17:18:02 -07:00
Adam Barth
8f5b0f586d defaultHitTestChildren should return whether it hit something
Some clients want to know whether they hit their children.
2015-09-03 16:12:25 -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
f3ea47ee38 Adds constraint for aligning with another node in sprites 2015-09-03 15:35:47 -07:00
Viktor Lidholt
ab616f08d9 Adds coins when a boss explodes in demo game 2015-09-03 14:55:14 -07:00
Hans Muller
b860feb3b0 Merge pull request #1045 from HansMuller/scroll-dismiss-corner-cases
Fix minor problems in _ScrollGestureRecognizer, Dismissable, lerpColor

Alternating scroll gestures would sometimes be ignored because _ScrollGestureRecognizer didn't always reset its _state when the pointer[s] went up.

A Dismissable dismiss triggered by a drag and then a fling could cause the next attempt to drag-dismiss to fail.

Fixed the definition of lerpColor().
2015-09-03 13:43:23 -07:00
Viktor Lidholt
3d44abf93b Merge pull request #1048 from vlidholt/master
Refactors code in demo game to make it simpler
2015-09-03 13:42:02 -07:00
Viktor Lidholt
2bb73bbf5f Refactors code in demo game to make it simpler 2015-09-03 13:40:36 -07:00
Hans Muller
06b420433f Fix minor problems in _ScrollGestureRecognizer, Dismissable
Alternating scroll gestures would sometimes be ignored because _ScrollGestureRecognizer didn't always reset its _state when the pointer[s] went up.

A Dismissable dismiss triggered by a drag and then a fling could cause the next attempt to drag-dimiss to fail.

Fixed the definition of lerpColor().
2015-09-03 13:40:35 -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
34f5ca559f Merge pull request #1046 from abarth/lerp_hacking
Remove lerp.dart
2015-09-03 12:39:53 -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
5aa92929b5 Rev pub package 2015-09-03 11:37:04 -07:00
Adam Barth
d382ffcea5 Rev pub packages 2015-09-03 11:32:57 -07:00
Adam Barth
809e3b9980 Merge pull request #1041 from abarth/overconstrainted_flex
RenderFlex should handle overconstrainted constraints
2015-09-03 11:27:12 -07:00
Adam Barth
5a386690af Merge pull request #1044 from abarth/disable_reparent_during_sync
Disable reparent during sync
2015-09-03 11:26:52 -07:00
Andrew Wilson
3362693df4 Merge pull request #1043 from apwilson/hairline
Fix hairline border seen if border width is 0.0
2015-09-03 11:15:33 -07:00
Andrew Wilson
f1e74b598c Fix hairline border seen if border width is 0.0 2015-09-03 11:14:25 -07:00
Adam Barth
ed80ffdc2b Disable reparent during sync
This feature is causing a bug because the widget tree isn't correctly
synchronized with the render tree.
2015-09-03 10:59:26 -07:00
Adam Barth
78b9c8988d RenderFlex should handle overconstrainted constraints
Rather than reading out the maxWidth, we should call constrainWidth to factor
in the minWidth, which might be bigger.
2015-09-03 10:35:40 -07:00
Ian Fischer
f2f277de74 Merge pull request #1040 from iansf/handle_logger_crashes
Handle logger crashes.
2015-09-03 10:35:28 -07:00
Ian Fischer
9efc01bee4 Correctly handle logging when devices are disconnected or logging processes otherwise crash. 2015-09-03 10:30:57 -07:00
Ian Fischer
b9f9635cd8 Merge pull request #1038 from domokit/iansf-sky_tool-log-docs
Change documentation for how to log using sky_tool
2015-09-03 09:51:34 -07:00
Adam Barth
f43025b02c Merge pull request #1039 from abarth/fix_raw_examples
Actually make the raw examples work again
2015-09-03 09:41:26 -07:00
Ian Fischer
a47678a83f Merge pull request #1037 from iansf/add_clear_flag
Add --clear flag to sky_tool logs
2015-09-03 09:39:54 -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
Ian Fischer
0a8f5fa93d Change documentation for how to log using sky_tool 2015-09-03 09:39:02 -07:00
Ian Fischer
db90b23721 Add a clear flag for sky_tool logs on Android. 2015-09-03 09:36:15 -07:00
Chinmay Garde
c4f2e4e976 Merge pull request #1028 from sethladd/sethladd-patch-1
Slightly clarify contribution workflow
2015-09-03 00:52:28 -07:00
Adam Barth
43331b7788 Merge pull request #1034 from abarth/rm_view_picture
Remove all clients of sky.view.picture
2015-09-03 00:26:15 -07:00
Adam Barth
bdefa0438d Merge pull request #1035 from abarth/null_aware
Use null-aware operators in package:sky
2015-09-03 00:25:12 -07:00
Adam Barth
4b36d7f76e Use null-aware operators in package:sky 2015-09-03 00:03:00 -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
Ian Fischer
0228634a6d Merge pull request #1032 from iansf/fix_ios_logs
Guard IOSDevice logs
2015-09-02 21:34:39 -07:00
Adam Barth
735890c6f8 Merge pull request #1031 from abarth/sky_scene_compositor
SceneBuilder should build a tree of layers
2015-09-02 18:27:32 -07:00
Adam Barth
0b98d8869c Update README.md 2015-09-02 18:26:49 -07:00
Adam Barth
d2f6457c78 Update README.md 2015-09-02 18:26:18 -07:00