ddaa8b296e
Generic way of handling tap events
2020-12-09 10:10:12 +00:00
a47f62b018
Add explanation to assert
2020-12-09 10:10:12 +00:00
1c36b6ebf1
Use relative import
2020-12-09 10:10:12 +00:00
c4e2021b6c
Components with a gameRef doesn't require it as argument
...
For the addChild method
2020-12-09 10:10:12 +00:00
1ceb7d3ee6
Fix dartdoc of ParticleComponent
2020-12-09 10:10:12 +00:00
02e4563051
Update Components docs
2020-12-09 10:10:12 +00:00
98ad12d269
Use relative imports
2020-12-09 10:10:12 +00:00
46554507a7
Tapables need to be handled in reversed priority order
2020-12-09 10:10:11 +00:00
2818845f7e
propagateToChildren should not handle this, only children
2020-12-09 10:10:11 +00:00
00e331b11e
Update BaseComponent description
2020-12-09 10:10:11 +00:00
7f16df3a3a
Children should be private
2020-12-09 10:10:11 +00:00
e8ee7a3a82
Move relevant parts from PositionComponent to BaseComponent
2020-12-09 10:10:11 +00:00
cf68a32c1b
Keep component unopinionated
2020-12-09 10:10:11 +00:00
8665172ed9
Take angle into account for taps
2020-12-09 10:10:11 +00:00
1317532210
fix _debugPaint stroke width for web
2020-12-09 10:07:35 +00:00
d09d2bd449
Add TextBoxConfig options and fix TextBoxComponent bugs ( #534 )
...
* Add TextBoxConfig options and fix TextBxoComponent bugs
* Add changelog entry
* Fix snackbar deprecation
* All examples to have publish to none
* One argument per line
* No explicit types for local variables
* Cache the width
* Fix formatting
2020-12-09 10:07:35 +00:00
e64b1699c2
Default priority from constructor
2020-11-17 22:00:30 +01:00
61ac24f6d4
Keep priority final since it doesn't do any changes later
2020-11-16 22:19:05 +01:00
81eaf05b22
Use booleans instead of methods for simple values
2020-11-15 18:56:17 +01:00
4a3f9778a4
destroy -> remove for components
2020-11-15 14:54:35 +01:00
0135f93493
Simplify BaseGame interactions
2020-11-15 01:18:49 +01:00
9e2f121e0f
No explicit type on internal variables
2020-11-12 22:20:06 +01:00
b07d433bd2
Fix parallax component
2020-11-11 21:55:31 +01:00
39c2663798
Function for set component to init state
2020-11-07 15:21:21 +01:00
057c84e9e6
Rename EffectHandler
2020-11-07 15:21:21 +01:00
6afe52b931
Break out effects handling
2020-11-07 15:21:21 +01:00
601bfcce5f
Pause effects
2020-11-07 15:21:21 +01:00
73f4dfd673
Only return active effects
2020-11-07 15:21:21 +01:00
ed4d493ecb
Fix formatting
2020-11-07 15:21:21 +01:00
520266df23
Stabilize MoveEffect tests
2020-11-07 15:20:40 +01:00
56baa115d8
Add duration argument to effects
2020-11-07 15:20:40 +01:00
319f967bbf
Merge branch 'v1.0.0' into erick.ensure-animation-initialization
2020-10-26 17:47:33 -03:00
34a902f8cf
Fixing params
2020-10-22 22:43:12 -03:00
431262028a
Ensuring sprite animation and sprite animation components don't get NPEs on initialization
2020-10-22 22:29:01 -03:00
b29e0a6f11
Refactor timer class
2020-10-22 20:15:08 +02:00
4af9a32145
Merge pull request #502 from flame-engine/luan.strict-mode
...
Enable strong strict mode on dartalyzer
2020-10-15 09:56:56 -04:00
b4b20655e0
Enable strong strict mode on dartalyzer
2020-10-14 22:36:14 -04:00
f0e1e2c03b
Followup fix imports with new version of vscode-dart-import
2020-10-14 20:18:14 -04:00
1e285464f1
Improve IsometricTileMap and Spritesheet classes
2020-10-14 01:55:03 -04:00
25a3708e00
Default srcSize
2020-10-13 22:01:48 +02:00
d975ad1138
position -> srcPosition for Sprite
2020-10-13 22:01:48 +02:00
2976362997
Utilize Vector2 for sprite and set default position
2020-10-13 22:01:47 +02:00
150974708e
Merge pull request #479 from flame-engine/spydon.fix-effects-bugs
...
Fix effects bugs, use Vector2 path for MoveEffect and generalize effects
2020-10-11 00:16:37 +02:00
f48bf4d654
All components must call super
2020-10-07 09:20:28 +02:00
e590f70ddd
Merge branch 'v1.0.0' into erick.removing-deprecated-stuff
2020-10-06 10:51:47 -03:00
ca464748df
Change to relative imports
2020-10-06 15:42:17 +02:00
7e9201f3c6
Remove unused imports and add meta annotation
2020-10-06 15:42:17 +02:00
f0349688a7
Generic effects so that they can be applied on all components
2020-10-06 15:42:17 +02:00
47aba31eff
Fix resizable conflict ( #483 )
2020-10-06 14:13:31 +01:00
ff0a82fbe8
Removing all deprecated stuff
2020-10-05 21:18:48 -03:00