16 Commits

Author SHA1 Message Date
Hixie
c7339de6bc Enable always_declare_return_types lint
And fix a zillion omissions this uncovered.
2016-03-09 17:57:39 -08:00
Viktor Lidholt
b727f34fc2 Fixes issue with replacing the root node 2016-02-08 09:56:56 -08:00
Ian Hickson
17ef9488ff Transition callers from 'concat' to 'transform'
See: https://github.com/flutter/flutter/issues/1080
2016-01-08 08:58:31 -08:00
Jason Simmons
80e2422f6a Use Scheduler.instance in flutter_sprites 2015-12-14 10:27:55 -08:00
Jason Simmons
0c9333cc10 Change flutter_sprites to use the current PointerEvent.position API 2015-12-08 10:46:44 -08:00
Viktor Lidholt
1e683b2f61 Merge pull request #704 from vlidholt/master
Fixes issue with physics debug drawing in sprites
2015-12-07 10:22:25 -08:00
Ian Hickson
2965dcb61f Cleanup for the Pointer changes. 2015-12-05 00:31:27 -08:00
Adam Barth
abf0359569 Remove PaintingCanvas
We can just use Canvas now.  The two are the same thing.
2015-12-04 20:26:08 -08:00
Viktor Lidholt
aafcbbc4f9 Fixes issue with physics debug drawing in sprites 2015-12-03 13:55:32 -08:00
Florian Loitsch
728211526a Rename some of the functions from the scheduler.
The names are probably less familiar, but more consistent:
- FrameCallback: a callback that is relative to the frame and wants the
  frame offset (a duration) as argument.
- addXFrameCallback: adds the given callback to the internal lists/maps.
- scheduleXFrameCallback (currently only X = ""): add the callback, but
  also trigger a new frame.
- handleX: the method that is invoked when the event-loop or the frame
  calls into the scheduler.
- ensureXYZ: ensure that the callback happens.
  Unfortunately there is the ambiguity between a "callback": it can be a
  closure, or the action of doing a callback, so we end up with:
  ensureBeginFrameCallback, and ensureEventLoopCallback, where
  "callback" means the action of being called back.
2015-12-02 15:37:11 -08:00
Viktor Lidholt
fde92a69a5 Improves physics debug drawing 2015-10-27 13:38:52 -07:00
Hixie
a6c473ea95 Strong modeify the examples
This makes skyanalyzer also check the examples, and fixes everything it
found there.
2015-10-23 18:13:25 -07:00
Viktor Lidholt
6bd4fb8515 Renames PhysicsNode to PhysicsWorld 2015-10-19 13:27:32 -07:00
Viktor Lidholt
f164289203 Fixes SpriteBox to work better with native points 2015-10-15 13:46:24 -07:00
Viktor Lidholt
c912ee2301 Fixes touch handling in SpriteBox 2015-10-14 16:28:51 -07:00
Adam Barth
a88a85e695 Rename skysprites to flutter_sprites 2015-10-13 16:34:01 -07:00