48 Commits

Author SHA1 Message Date
Viktor Lidholt
f659d95d3a Adds pulley joint to sprite physics and makes joint variables final 2015-10-12 15:28:02 -07:00
Viktor Lidholt
9aafb26ae6 Merge pull request #1580 from vlidholt/master
Working joints in sprite physics
2015-10-12 14:10:19 -07:00
Viktor Lidholt
2db6058714 Working joints in sprite physics 2015-10-12 13:39:20 -07:00
Adam Barth
9f736f197b Reattach fitness to the build
We can build Fitness again now that playfair has been updated to account for
the package:flutter rename.
2015-10-12 00:24:24 -07:00
Adam Barth
4d0b7911a0 Import dart:ui as ui (instead of as sky) 2015-10-09 20:55:54 -07:00
Adam Barth
dca1370bc6 Rename package:sky to package:flutter 2015-10-09 20:44:52 -07:00
Adam Barth
72c103cefa Rename dart:sky to dart:ui 2015-10-09 19:27:13 -07:00
Viktor Lidholt
2c0d36f19d Adds debug drawing for weld joints in sprite physics 2015-10-09 13:22:12 -07:00
Viktor Lidholt
4f5a0320a6 Adds basic support for joints in sprite physics 2015-10-08 16:12:31 -07:00
Viktor Lidholt
0f19513503 Adds support for keeping track of contact points in physics 2015-10-08 10:15:32 -07:00
Viktor Lidholt
a283793ea0 Fixes typo in sprite physics 2015-10-07 14:05:11 -07:00
Viktor Lidholt
1c57e92899 Adds support for applying forces and impulses to sprite physics 2015-10-07 13:26:36 -07:00
Viktor Lidholt
8863bacbc2 Forwards physics body properties to box2d in sprite physics 2015-10-06 10:39:26 -07:00
Viktor Lidholt
64fd2b192d Adds forwarding of properties to box2d in sprite physics 2015-10-06 09:59:16 -07:00
Viktor Lidholt
4599f809dc Makes physics bodies fixture elements settable 2015-10-05 16:13:32 -07:00
Viktor Lidholt
d97a07c94c Handle removal of sprite physics bodies during the physics simulation 2015-10-05 13:47:51 -07:00
Viktor Lidholt
f3b2cbba74 Prevents sprite update methods to be called before the sprite box has been property intialized 2015-10-05 11:24:59 -07:00
Adam Barth
75d4ee7eb6 Switch scheduler over to Duration
This patch prepares us to switch to using integers when handing off the
animation time from the engine to the framework.
2015-10-03 13:48:57 -07:00
Viktor Lidholt
4a7e6e9bcf Updates work with latest Flutter changes 2015-10-02 15:10:02 -07:00
Viktor Lidholt
b3dc369bd0 Sprite physics, first iteration 2015-10-02 14:15:14 -07:00
Adam Barth
8cf43b65d2 Moves from vector_math to vector_math_64
* Moves from vector_math to vector_math_64
* Adds support for Float64List in Dart bindings
2015-10-01 14:46:13 -07:00
Adam Barth
feb70684f5 Make fn3 the default widget framework 2015-10-01 09:48:35 -07:00
Adam Barth
9d63bb1381 Port SkySprites and clients to fn3 2015-10-01 09:26:19 -07:00
Adam Barth
2ec7216e21 s/sky-dev/flutter-dev/ 2015-09-30 13:20:43 -07:00
Viktor Lidholt
05f31c7259 Renames pointQuickDist in GameMath 2015-09-25 13:12:01 -07:00
Viktor Lidholt
5ec0f9fac7 Adds documentation and cleans up code 2015-09-23 15:34:06 -07:00
Viktor Lidholt
45fd5cb33d Merge pull request #1299 from vlidholt/master
Removes artifacts from textured lines in sprites
2015-09-23 11:07:42 -07:00
Viktor Lidholt
91944c420b Removes some of the artifacts from textured lines 2015-09-23 08:33:48 -07:00
Viktor Lidholt
4112f5385c Adds method for calculating intersection between two lines 2015-09-23 08:31:04 -07:00
Adam Barth
c94726ec32 Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture
detection system.
2015-09-21 16:45:09 -07:00
Adam Barth
1468e23311 Update URLs after moving to the Flutter organization 2015-09-19 09:04:33 -07:00
Viktor Lidholt
655e91a28b Improvements to EffectLine in sprites 2015-09-18 15:58:16 -07:00
Adam Barth
3dbef8ac26 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
Viktor Lidholt
263d06c533 Adds TexturedLine and animated EffectLine to sprites 2015-09-17 13:27:43 -07:00
Adam Barth
0cc094288e 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
Adam Barth
b0719a47b6 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
ad0d74a41e Introduce painting.dart and move painting code to src/painting 2015-09-08 10:36:14 -07:00
Adam Barth
ef880695d5 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
Viktor Lidholt
f3ea47ee38 Adds constraint for aligning with another node in sprites 2015-09-03 15:35:47 -07:00
Adam Barth
0045b65996 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
d6d2d5f434 Fixes issue in sprite constraint 2015-09-02 10:56:44 -07:00
Viktor Lidholt
5f0793ee2e Fixes sprite label so it doesn't use a fixed max width 2015-09-01 16:36:40 -07:00
Viktor Lidholt
42a79dd0b6 Initial support for labels in skysprites 2015-09-01 16:14:53 -07:00
Viktor Lidholt
0a1dbbd64f Switches to named arguments in sprite constraints 2015-08-26 10:07:24 -07:00
Viktor Lidholt
68c7aa141b Fixes issue with inheritance in sprite constraints 2015-08-26 09:54:32 -07:00
Viktor Lidholt
ca7adecdd4 Adds license file and required fields to pubspec 2015-08-25 16:35:05 -07:00
Viktor Lidholt
1c87527c54 Updates skysprites readme 2015-08-25 16:14:58 -07:00
Viktor Lidholt
872a1cbfa4 Moves sky sprites to its own package 2015-08-25 16:08:46 -07:00