John McCutchan
3e7eeb4760
Fix imports
2015-07-30 14:19:10 -07:00
John McCutchan
4c2df9f77c
Neuter sky:init
2015-07-30 14:19:09 -07:00
John McCutchan
93b47d7523
Update mojo and mojo_services dependencies
2015-07-30 14:19:09 -07:00
Eric Seidel
7a231905f1
Bump APK version in prep for release
...
@abarth
2015-07-30 12:41:27 -07:00
Adam Barth
05d6d55171
Merge pull request #373 from abarth/fix_stack
...
RenderStack should handle top, right, bottom, left all being zero
2015-07-30 11:11:07 -07:00
Adam Barth
fc48378896
Merge pull request #372 from abarth/fix_sporadic_crash
...
Sporadic crash from invalid touch event
2015-07-30 11:11:02 -07:00
Matt Perry
456e17d033
Use SnackBar's SlideInIntention for Drawer animation.
...
This required some changes to AnimationPerformance to better understand
animating with forces.
2015-07-30 13:11:32 -04:00
Adam Barth
b86ad9b053
RenderStack should handle top, right, bottom, left all being zero
...
Previously, we didn't set the width of the child correctly when top and bottom
(or left and right) were both specified.
Fixes #275
2015-07-30 10:08:07 -07:00
Adam Barth
3c14e41b07
Sporadic crash from invalid touch event
...
When embedded by the view_manager, sometimes we receive pointerup or
pointercancel events without having received a cooresponding pointerdown event.
The underlying issue is that the view_manager doesn't capture on pointerdown
and instead performs a new hit test for every pointer event. We should fix that
in view_manager, but, in the meantime, this patch makes us not crash in this
scenario.
Fixes #339
2015-07-30 09:41:40 -07:00
Jim Beveridge
67f6cab2ea
Update README.md
2015-07-30 09:26:50 -07:00
Adam Barth
4b886965c8
Import mojom.dart files from package:mojom
...
I incorrectly thought we were now supposed to import these mojoms from the
packages that publish them. However, we're still supposed to import them from
the virtual mojom package.
2015-07-29 23:40:49 -07:00
Adam Barth
9d76f44487
Rev Dart packages
...
Also, update imports to account for new mojom.dart locations.
2015-07-29 23:12:07 -07:00
Adam Barth
0d57d60650
Rev version
2015-07-29 16:28:05 -07:00
Adam Barth
a982f0213b
Add the option to log to sky_server
2015-07-29 16:27:41 -07:00
Chinmay Garde
6b1c12d190
Specify a default launch screen for iOS Asteroids
2015-07-29 15:05:00 -07:00
Viktor Lidholt
a17662e6f6
Adds delay between game over and return to main screen in demo game
2015-07-29 13:54:30 -07:00
Eric Seidel
7be4e42112
Add more logging for the NetworkService unavailable case
...
TBR=abarth@google.com
2015-07-29 13:41:34 -07:00
Viktor Lidholt
6aa8e4bb3f
Refactors setting of last score in demo game to use callback
2015-07-29 13:33:17 -07:00
Viktor Lidholt
430c08f3e6
Adds display of last score to demo game
2015-07-29 13:33:17 -07:00
Chinmay Garde
f99fd192df
Add launcher icons and update display name for Asteroids on iOS
2015-07-29 13:11:48 -07:00
Viktor Lidholt
4b3b5eb4f4
Fixes analyzer warnings in SpriteBox
2015-07-29 12:31:02 -07:00
Viktor Lidholt
122add4344
Merge pull request #346 from vlidholt/master
...
Adds star field to game start screen
2015-07-29 07:34:53 -07:00
Viktor Lidholt
de105aa013
Adds star field to game start screen
2015-07-28 17:34:39 -07:00
Viktor Lidholt
6dc4bc32ff
Merge pull request #345 from vlidholt/master
...
Fixes analyzer warnings in sprites
2015-07-28 17:34:02 -07:00
Viktor Lidholt
fbb645bb92
Fixes compilation error in demo game and adds auto scrolling star field
2015-07-28 17:21:06 -07:00
Viktor Lidholt
8b4d02018e
Fixes compilation errors in sprites
2015-07-28 17:19:56 -07:00
Adam Barth
947d505cba
Merge pull request #343 from abarth/fix_analyzer
...
Fix analyzer warnings
2015-07-28 17:06:11 -07:00
Adam Barth
b9a820f2b7
Fix analyzer warnings
2015-07-28 17:05:30 -07:00
Hans Muller
7af3a32eed
Animated selected tab indicator
2015-07-28 17:01:15 -07:00
Matt Perry
3b4093e14e
Merge remote-tracking branch 'upstream/master' into performance
2015-07-28 17:23:42 -04:00
Matt Perry
09dc392945
Add an AnimationStatus to AnimationPerformance, and use that in Drawer,
...
SnackBar, and PopupMenu instead of custom statuses.
2015-07-28 17:23:27 -04:00
Adam Barth
f4750a7d0a
Merge pull request #328 from abarth/schedule_build
...
Move build() off microtasks
2015-07-28 14:06:01 -07:00
Adam Barth
5d15bb5126
Move build() off microtasks
...
Rather than using a microtask to schedule component build functions, instead
use the scheduler. We now tread building just like layout and painting as a
visual update.
2015-07-28 14:05:21 -07:00
Chinmay Garde
2ed083d265
Move the game Info.plist to the packages directory
2015-07-28 13:32:53 -07:00
Chinmay Garde
cada9213c0
Load SkyX files on iOS where available
2015-07-28 13:27:46 -07:00
Viktor Lidholt
01ac0095e8
Updates startled in game demo to use drawAtlas
2015-07-28 12:49:36 -07:00
Viktor Lidholt
0d7156fc03
Merge pull request #315 from vlidholt/master
...
Optimizations for sprite code
2015-07-28 12:06:38 -07:00
Matt Perry
b79a73136a
Refactor AnimationContainer to support drop-in Intentions.
...
This lets us be flexible in how to animate the properties of the container.
Currently used by SnackBar with a SlideIn intention.
2015-07-28 14:12:17 -04:00
Hans Muller
6a17d1806d
When the selected tab changes in a TabBar for which isScrollable:true, animate the selected tab to the center of the viewport, if that's possible.
...
Added an optional duration: to Scrollable.scrollTo(newOffset, duration: d) which animates the scroll to newOffset.
Refactored the Scrollable implementation a little to make the roles of the "toEnd" and "toOffset" animations clearer.
_handlePointerDown() now stops both animations.
Similarly, we only call settleScrollOffset() from the cancel gesture handlers if the animations aren't already running.
2015-07-28 10:23:34 -07:00
Viktor Lidholt
b71d0dfbaf
Optimizes sprite performance by minimizing the number of calls to action controllers
2015-07-28 10:16:16 -07:00
Viktor Lidholt
bc49645960
Optimizes sprite performance by reusing Paint objects
2015-07-28 10:16:15 -07:00
Viktor Lidholt
0041182dc8
Optimizes sprites by replacing save/restore by caching the total matrix
2015-07-28 10:16:14 -07:00
Adam Barth
54803998a8
Move sky package into sky/packages/sky
...
This patch makes the sky package match the structure we've adopted for the
other Dart packages we produce from this repo.
2015-07-28 08:42:57 -07:00
Adam Barth
c20659024e
Merge pull request #308 from abarth/rm_dart_pkg
...
Remove DEPS-managed Dart packages
2015-07-27 17:07:54 -07:00
Adam Barth
be52cb8690
Improve init.dart not to assume dart
is in your PATH
...
Instead, use Platform.executable, which is the path to the current `dart`
executable.
2015-07-27 16:56:18 -07:00
Adam Barth
30648059aa
Remove DEPS-managed Dart packages
...
We now use `pub` to manage Dart packages.
2015-07-27 16:54:30 -07:00
Viktor Lidholt
09cfb05908
Merge pull request #300 from vlidholt/master
...
Optimizations for Particle Systems
2015-07-27 15:42:50 -07:00
Viktor Lidholt
59b0e328e7
Refactors randomizations of color sequences and optimizes particle systems (uses single Paint instance, doesn't compute accelerations unless used, reduces number of created objects, faster color calculations)
...
Fixes indentation
Optimizes lookup in fast version of atan2 (toInt is faster than floor)
Removes frame rate printout and adds assert
2015-07-27 15:41:08 -07:00
Adam Barth
6d717593bd
Pull a newer mojo_services
...
This patch picks up a new url_loader.mojom interface that is needed to access
the network in production.
2015-07-27 14:04:37 -07:00
Adam Barth
ff1f08333f
Merge pull request #297 from abarth/network_nits
...
Cleanups to network service
2015-07-27 14:04:08 -07:00