89 Commits

Author SHA1 Message Date
Adam Barth
a525f84bf0 Merge pull request #672 from abarth/render_image_fit
Apply ImageFit and ImageRepeat to RenderImage
2015-08-18 11:12:00 -07:00
Adam Barth
205f948edf Apply ImageFit and ImageRepeat to RenderImage
These properties should apply to foreground images as well as background
images. Also, rename these types from BackgroundFit and BackgroundRepeat
because they apply to things other than backgrounds.
2015-08-18 11:11:31 -07:00
Viktor Lidholt
95014000a9 Fixes loading of assets in demo game 2015-08-18 10:33:34 -07:00
Viktor Lidholt
ee8506d32c Merge pull request #666 from vlidholt/master
Adds bounce and elastic easing to animation curves
2015-08-18 09:37:02 -07:00
Eric Seidel
28ed6e686a Add release notes for SkyDemo.apk 0.0.23 2015-08-17 18:00:10 -07:00
Eric Seidel
f3814a8c60 Add release notes for Fitness 0.0.3
@collinjackson
2015-08-17 17:51:50 -07:00
Eric Seidel
908490d089 Make Asteroids.apk use background music from its bundle
This was the last instance of loading assets off of Github.

@abarth
2015-08-17 17:10:38 -07:00
Viktor Lidholt
8ab5167eb1 Updates demo game to use curves from the animation package 2015-08-17 17:07:55 -07:00
Eric Seidel
7637d52cdf Teach Asteroids Sounds how to load from AssetBundle
@abarth
2015-08-17 16:07:08 -07:00
Eric Seidel
40bf356a80 Merge pull request #659 from eseidelGoogle/analyzer
Fix analyzer warnings
2015-08-17 14:34:54 -07:00
Eric Seidel
e8ab9d7239 Fix analyzer warnings
We had a remarkable number of analyzer failures.

I'll fix the bots to analyze across the whole project
in a follow-up patch, that should prevent this
in the future.

@abarth
2015-08-17 14:32:29 -07:00
Adam Barth
87ca9c16be Rename Widget.root to Widget.renderObject
The name `root` is confusing because this value isn't the root of anything.
It's just the associated `RenderObject` instance.
2015-08-17 14:15:26 -07:00
Adam Barth
c82d1c8316 Merge pull request #653 from abarth/drag_target
Add support for drag-and-drop
2015-08-17 14:06:35 -07:00
Adam Barth
91d9f9d263 Add support for drag-and-drop
Widgets that want to receive drops should include a DropTarget in their build.
Currently there's no widget for initiating a drag. Components can use the
DragController directly. In the future, we'll probably want to add a Draggable
that knows how to do some of this work automatically.

Fixes #612
2015-08-17 14:06:19 -07:00
Viktor Lidholt
8bb452618c Adds SoundManager class 2015-08-17 12:49:32 -07:00
Eric Seidel
844b14d23d Roll Fitness and SkyDemo in preparation for release
@abarth
2015-08-17 12:46:30 -07:00
Viktor Lidholt
2e6ae25f5c Merge pull request #638 from vlidholt/master
Adds a new ActionDelay class to sprites
2015-08-17 12:43:30 -07:00
Viktor Lidholt
0460f86052 Adds a new ActionDelay class to sprites 2015-08-17 09:23:13 -07:00
Chinmay Garde
ab07e73afd Merge pull request #624 from chinmaygarde/master
Add iOS sky_app target for the fitness app example
2015-08-14 15:34:48 -07:00
Chinmay Garde
5e41be4bc9 Add iOS sky_app target for the fitness app example 2015-08-14 15:07:20 -07:00
Adam Barth
2419fcf86b Add haptic and aural feedback service
And use the service in mine_digger to notify the user when they flag a bomb.
2015-08-14 12:46:04 -07:00
mpcomplete
5bad6148ce Merge pull request #597 from mpcomplete/value.animation
Add a ValueAnimation helper class for AnimationPerfomance.
2015-08-14 12:03:27 -04:00
Viktor Lidholt
f54c848791 Merge pull request #607 from vlidholt/master
Updates to game sound API
2015-08-13 16:35:58 -07:00
Hans Muller
1b56e5baa4 Adds CicularProgressIndicator and LinearProgressIndicator
Setting a ProgressIndicator's value to null (the default) makes it an "indeterminate progress" or activity indicator.

The indeterminate animations for both kinds of progress bars are essentially the same and wrong vis the Material Design spec, http://www.google.com/design/spec/components/progress-activity.html. I'll improve conformity with the visual design in a future CL.
2015-08-13 16:15:21 -07:00
Viktor Lidholt
9d092ad454 Adds background music for demo game 2015-08-13 16:00:29 -07:00
Viktor Lidholt
be9d8d2dbc Unifies interfaces for SoundTrackPlayer and SoundEffectPlayer 2015-08-13 16:00:29 -07:00
Viktor Lidholt
788565248e Adds a SoundTrackPlayer class 2015-08-13 16:00:29 -07:00
Viktor Lidholt
f2cb9637ec Rename SoundCompleteCallback to SoundEffectStreamCallback 2015-08-13 16:00:29 -07:00
Viktor Lidholt
523bea099d Refactors names of sound effect classes 2015-08-13 16:00:29 -07:00
Viktor Lidholt
bad255ba3e Removes the ability to jump to different positions in sound effects (this isn't supported on Android) 2015-08-13 16:00:29 -07:00
Matt Perry
e58a2bddc6 Add a ValueAnimation helper class for AnimationPerfomance.
Used for AnimationPerformance with a single AnimatedValue<T> variable.
2015-08-13 17:29:32 -04:00
Viktor Lidholt
9fdd8afbce Adds sounds to demo game bundle 2015-08-13 12:57:07 -07:00
Viktor Lidholt
7aca14793c Adds sounds to demo game 2015-08-13 12:35:32 -07:00
Viktor Lidholt
ecfdebe5f5 Adds sound support to sprite api 2015-08-13 12:35:32 -07:00
Viktor Lidholt
127346ab56 Merge pull request #577 from vlidholt/master
Fixes issue in sprite
2015-08-13 12:33:40 -07:00
Adam Barth
fbe12785cc Add PaintingContext which has-a sky.Canvas instead of is-a sky.Canvas
We'll need this for compositing because we need to switch out the sky.Canvas
when we switch compositing layers.
2015-08-13 10:18:33 -07:00
Collin Jackson
d4e68ab589 Add weight chart to fitness app 2015-08-12 14:50:50 -07:00
Viktor Lidholt
a9e313fe79 Fixes issue in sprite 2015-08-12 10:25:55 -07:00
Hans Muller
eb8e814279 Merge pull request #572 from HansMuller/ensure-visible
Adds ensureWidgetIsVisible() function to scrollable.dart
2015-08-11 16:51:24 -07:00
Viktor Lidholt
545f8b4b9e Merge pull request #575 from vlidholt/master
Adds API docs to particle systems and removes redundant property
2015-08-11 16:50:04 -07:00
Hans Muller
8d19cd21b6 Adds ensureWidgetIsVisible() function to scrollable.dart
Set the scrollOffset of a widget's Scrollable ancestor so that the
widget is centered within the scrollable. A future CL will add
support for specifying exactly where the widget appears. The scroll
can be animated by specifying the animation: parameter.

Changed the duration Scrollable.scrollTo() parameter from a Duration
to an AnimationPerformance so that one can configure all aspects of
the animation. The caller may also listen to the animation to schedule
other work while it updates or when its status changes.
complete
2015-08-11 16:49:48 -07:00
Viktor Lidholt
4d3a7d0465 Adds API docs to particle systems and removes redundant property 2015-08-11 16:25:58 -07:00
Eric Seidel
8e99a3a0d9 Add missing icons to fitness/sky.yaml
This is just fallout from not having
https://github.com/domokit/sky_engine/issues/565

@abarth
2015-08-11 15:56:37 -07:00
Eric Seidel
d6fe20ad2f Add Release notes for fitness 0.0.2
@abarth
2015-08-11 15:33:14 -07:00
Eric Seidel
0906ab39d3 Roll fitness version in preparation for release
@abarth
2015-08-11 15:30:46 -07:00
Eric Seidel
3baba15009 Attempt to make our splashes closer to other Android apps
And also Material Design of course.

@abarth
2015-08-11 14:56:36 -07:00
Viktor Lidholt
84ea083293 Merge pull request #569 from vlidholt/master
Adds API docs to sprite Node and Node3D
2015-08-11 14:35:17 -07:00
Viktor Lidholt
cdc0755f19 Adds API docs to sprite Node and Node3D 2015-08-11 14:33:45 -07:00
Matt Perry
cea3418b68 Scaffold: animate the FloatingActionButton with the SnackBar.
This introduces the concept of an Anchor, which you can use to link
transitions together. I've used this in the Fitness and Stocks apps to
link the FAB and SnackBar to animate together by sharing the
SlideTransition.

I also fixed the Scaffold hit testing code to apply sub-widget
transforms, so it works with Transformed nodes.
2015-08-11 17:21:20 -04:00
Viktor Lidholt
3035e07620 Merge pull request #567 from vlidholt/master
Adds API docs to sprite ColorSequence and Layer
2015-08-11 14:17:43 -07:00