Lukas Klingsbo
e8ee7a3a82
Move relevant parts from PositionComponent to BaseComponent
2020-12-09 10:10:11 +00:00
Lukas Klingsbo
cf68a32c1b
Keep component unopinionated
2020-12-09 10:10:11 +00:00
Lukas Klingsbo
8665172ed9
Take angle into account for taps
2020-12-09 10:10:11 +00:00
Serge Matveenko
02be00abed
🚨 Use constructors in classes inherited from _Asset
2020-12-09 10:10:11 +00:00
Renan
461b7801b7
remove unused offset ( #536 )
2020-12-09 10:07:35 +00:00
Unger Andrey
1317532210
fix _debugPaint stroke width for web
2020-12-09 10:07:35 +00:00
Renan
82bb1432d4
remove unused size ( #540 )
2020-12-09 10:07:35 +00:00
Renan
8cabf6e5f5
Remove duplicated code on widget builder ( #538 )
2020-12-09 10:07:35 +00:00
Lukas Klingsbo
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
Lukas Klingsbo
e64b1699c2
Default priority from constructor
2020-11-17 22:00:30 +01:00
Lukas Klingsbo
254c2119ac
Use normal add function in addAll
2020-11-17 21:45:29 +01:00
Lukas Klingsbo
61ac24f6d4
Keep priority final since it doesn't do any changes later
2020-11-16 22:19:05 +01:00
Lukas Klingsbo
81eaf05b22
Use booleans instead of methods for simple values
2020-11-15 18:56:17 +01:00
Lukas Klingsbo
4a3f9778a4
destroy -> remove for components
2020-11-15 14:54:35 +01:00
Lukas Klingsbo
92971fe975
Loop cycle -> game tick
2020-11-15 01:18:51 +01:00
Lukas Klingsbo
4db72c9bcc
Re-added comment for prepare/pre-add
2020-11-15 01:18:51 +01:00
Lukas Klingsbo
0135f93493
Simplify BaseGame interactions
2020-11-15 01:18:49 +01:00
Lukas Klingsbo
64068ebad9
Merge pull request #525 from flame-engine/spydon.fix-parallax
...
Fix parallax bug
2020-11-15 01:17:23 +01:00
Erick
5e46b8eaf5
Merge pull request #512 from flame-engine/erick.basic-advanced-detectors-warning
...
Adding warning about both advanced and basic gesture detectors
2020-11-14 20:46:18 -03:00
Erick Zanardo
44b86f6b33
Luans nits
2020-11-14 20:42:58 -03:00
Lukas Klingsbo
9e2f121e0f
No explicit type on internal variables
2020-11-12 22:20:06 +01:00
Lukas Klingsbo
b07d433bd2
Fix parallax component
2020-11-11 21:55:31 +01:00
Lukas Klingsbo
c9ee8ebad7
Remove empty constructor for EffectsHandler
2020-11-10 19:27:20 +01:00
Lukas Klingsbo
0a594c2ddf
Remove unnecessary hasCompleted in CombinedEffect
2020-11-07 15:28:18 +01:00
Lukas Klingsbo
2b9166db08
Test CombinedEffects that contain alternating effects
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
b9285c9b4d
Correctly change end state in CombinedEffect
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
0d7a2a5c12
Do not reset state if not root effect
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
39c2663798
Function for set component to init state
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
057c84e9e6
Rename EffectHandler
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
6afe52b931
Break out effects handling
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
bd22660800
Remove unnecessary part from SequenceEffect update
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
aaa35fb35a
Fixed some Sequence bugs
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
c17c6f2bc2
Formatting
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
601bfcce5f
Pause effects
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
d77c8d9c79
Duration can not be zero
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
09adb4972c
Always set end state
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
73f4dfd673
Only return active effects
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
84ca546ccb
Round the floating point delta
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
eeb22ea3ef
Debugging
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
697a592c21
Never reset drift time
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
b3615f1cac
Do not reset drift time internally
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
467181ba75
Assert message for speed or duration needed
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
407dd9e435
pixels/s -> pixels per second
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
ed4d493ecb
Fix formatting
2020-11-07 15:21:21 +01:00
Lukas Klingsbo
5bfd47be25
MoveEffect test for alternation+infinity
2020-11-07 15:20:40 +01:00
Lukas Klingsbo
520266df23
Stabilize MoveEffect tests
2020-11-07 15:20:40 +01:00
Lukas Klingsbo
c4e2049450
Generalize position effect tests
2020-11-07 15:20:40 +01:00
Lukas Klingsbo
56baa115d8
Add duration argument to effects
2020-11-07 15:20:40 +01:00
Lukas Klingsbo
42811026b7
Duration for effects
2020-11-07 15:20:40 +01:00
Erick Zanardo
7fe47ed3eb
Linting
2020-11-02 11:27:18 -03:00