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
68be30e0ec
Removes debug printouts in sprite physics
2015-10-23 13:46:19 -07:00
Viktor Lidholt
3708667308
Fixes sprite physics to work correctly with the node graph
...
Teleportation for physics bodies works again
2015-10-23 13:31:13 -07:00
Viktor Lidholt
0382158550
Merge pull request #1697 from vlidholt/master
...
First pass on sprite physics node hierarchy integration
2015-10-20 16:35:08 -07:00
Viktor Lidholt
ca724ae151
Adds support for scaling sprite physics groups
2015-10-20 10:47:58 -07:00
Adam Barth
f79fdff2d0
Move animation curves into a Curves namespace
2015-10-19 18:08:52 -07:00
Adam Barth
529fa95f87
Give the CustomPaint and SizeObserver callbacks better names
...
The style we use for callbacks in widgets is "onFoo". These classes were using
an order naming convention and just called their callbacks "callback".
2015-10-19 17:27:40 -07:00
Viktor Lidholt
6bd4fb8515
Renames PhysicsNode to PhysicsWorld
2015-10-19 13:27:32 -07:00
Viktor Lidholt
0ef9da85e1
Merge pull request #1672 from vlidholt/master
...
Makes sprite physics bodies scalable
2015-10-19 12:30:02 -07:00
Adam Barth
2aa79d5694
Remove old setFoo functions on Paint
...
We now just use Dart properties, which is more idiomatic.
2015-10-19 12:21:34 -07:00
Viktor Lidholt
6f9fe7b1fe
Updates physics test
2015-10-19 12:13:20 -07:00
Viktor Lidholt
f48b88cd3f
Updates physics test
2015-10-15 17:08:51 -07:00
Adam Barth
a88a85e695
Rename skysprites to flutter_sprites
2015-10-13 16:34:01 -07:00
Jason Simmons
090c37077b
Update imports of skysprites to flutter_sprites
2015-10-13 16:07:38 -07:00
Adam Barth
42469d2cb9
Fix game's pubspec.yaml
2015-10-13 14:26:58 -07:00
Viktor Lidholt
26234b1041
Merge pull request #1580 from vlidholt/master
...
Working joints in sprite physics
2015-10-12 14:10:19 -07:00
Adam Barth
bb9cf6d78b
Add .old extension to silence analyzer
...
These examples haven't been ported to fn3 yet. Before this patch, they caused a
lot of noise in the analyzer output.
2015-10-12 13:45:33 -07:00
Viktor Lidholt
4e78799391
Updates sprite physics test
2015-10-12 13:39:47 -07:00
Adam Barth
f9a7ed047d
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
ecce1eb389
Import dart:ui as ui (instead of as sky)
2015-10-09 20:55:54 -07:00
Adam Barth
65eba90843
Rename package:sky to package:flutter
2015-10-09 20:44:52 -07:00
Adam Barth
5b37f8750d
Rename dart:sky to dart:ui
2015-10-09 19:27:13 -07:00
Adam Barth
db3b9e8052
Rename App to MaterialApp
...
MaterialApp assumes that you're using material design.
Also move radial reaction and fix imports for stats box.
2015-10-09 10:27:22 -07:00
Adam Barth
cc809491ba
Split material design widgets out of widgets.dart
...
These are now part of material.dart.
2015-10-09 10:07:06 -07:00
Viktor Lidholt
ecd20b6fa3
Merge pull request #1541 from vlidholt/master
...
Adds support for keeping track of contact points in physics
2015-10-08 16:20:40 -07:00
Viktor Lidholt
333c8f5f10
Updates sprite physics test
2015-10-08 16:13:56 -07:00
Adam Barth
3308ff0026
Remove ButtonState
...
Clients should just use a GestureDetector (or an InkWell) instead.
2015-10-08 10:26:34 -07:00
Viktor Lidholt
018cef6160
Adds default text style
2015-10-06 09:28:05 -07:00
Hixie
90a0f6300f
Simplify the usage of Navigator's routes argument
...
(These are changes cherry-picked from in-flight branches since they are
more independent and could be helpful even without those changes.)
- Change RouteBuilder's signature to take a single argument in which the
other fields are placed, so that we can keep iterating on those
arguments without having to break compatibility each time. Also, this
makes defining route builders much simpler (only one argument to
ignore rather than a variable number).
- Expose the next performance to RouteBuilders, since sometimes the
route itself might not be where it's used.
- Allow BuildContext to be used to walk children, just like it can for
ancestors
- Allow BuildContext to be used to get the Widget of the current
BuildContext
- Allow StatefulComponentElement to be referenced with a type
specialisation so that you don't have to cast when you know what the
type you're dealing with actually is.
2015-10-05 13:59:30 -07:00
Viktor Lidholt
ab104c809d
Handle removal of sprite physics bodies during the physics simulation
2015-10-05 13:47:51 -07:00
Viktor Lidholt
75f10ba619
Updates work with latest Flutter changes
2015-10-02 15:10:02 -07:00
Viktor Lidholt
48a6cd839a
Sprite physics, first iteration
2015-10-02 14:15:14 -07:00
Adam Barth
7662a30f85
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
45c906d2ad
Make fn3 the default widget framework
2015-10-01 09:48:35 -07:00
Adam Barth
9fe747e409
Remove unused imports
2015-10-01 09:30:31 -07:00
Adam Barth
5477d46f19
Port SkySprites and clients to fn3
2015-10-01 09:26:19 -07:00
Viktor Lidholt
0cb811ef06
Renames pointQuickDist in GameMath
2015-09-25 13:12:01 -07:00
Viktor Lidholt
a66a5c4bff
Improvements to EffectLine in sprites
2015-09-18 15:58:16 -07:00
Adam Barth
490b22874a
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
Adam Barth
4467a268ce
Move theme into material.dart
...
Also, introduce Colors and Typography to hold the material colors and the
typography declarations. Previously we expected clients of these libraries to
import them into a namespace, but that doesn't play nice with re-exporting them
from material.dart.
2015-09-18 09:57:21 -07:00
Viktor Lidholt
8900b4c8ba
Adds TexturedLine and animated EffectLine to sprites
2015-09-17 13:27:43 -07:00
Adam Barth
7064551a45
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
945b5bcd64
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
5108e15ed0
Introduce painting.dart and move painting code to src/painting
2015-09-08 10:36:14 -07:00
Viktor Lidholt
ceef6321eb
Adds helpers to bosses at level 2 & 3 and above in demo game
2015-09-04 10:35:45 -07:00
Viktor Lidholt
bf179674ad
More precise removal of lasers when they go offscreen in demo game
2015-09-04 10:35:45 -07:00
Viktor Lidholt
876fb7b38b
Laser speed now accounts for scrolling speed in demo game
2015-09-04 10:35:45 -07:00
Viktor Lidholt
eb3f30ab1f
Refactors boss power bar to use new constraint in demo game
2015-09-03 15:36:26 -07:00
Viktor Lidholt
dbda2725ff
Adds coins when a boss explodes in demo game
2015-09-03 14:55:14 -07:00
Viktor Lidholt
8c958f97fe
Refactors code in demo game to make it simpler
2015-09-03 13:40:36 -07:00