Commit Graph

57 Commits

Author SHA1 Message Date
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
2b9166db08 Test CombinedEffects that contain alternating effects 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
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
d77c8d9c79 Duration can not be zero 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
51d0c6e77d Added missing rotate example 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
f74bda9b0d Shouldn't have an infinite effect inside of a CombinedEffect 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
1a6f53ce4b Use sequence in sequence example 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
2ff0484cb6 Use combination effect in example 2020-11-07 15:21:21 +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
0135085184 Fix alternation bug of combined effect 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
47c6b6cedd All components must call super 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
09b0801efe Fix last bugs from rebase 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
8253441a30 Use a list of vector2 for MoveEffect 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
891b950e44 Do a full reset on all infinite effects 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
379415af1d Proper reset in sequence 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
426cbf68e3 Use a list of vector2 for MoveEffect 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
ab5754e73e List of vector2 as an argument to MoveEffect 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
905b8beaf1 Possibility to use combined effect in sequence 2020-10-12 17:58:00 +02:00
Lukas Klingsbo
0f9fc2c60e Fixed with regards to the comments 2020-09-30 20:49:19 +02:00
Lukas Klingsbo
f97f20ab73 Vector2 for position and size on PositionComponent 2020-09-30 19:12:52 +02:00
Lukas Klingsbo
1625ff568b Merge pull request #472 from flame-engine/spydon.relative-or-absolute-effects
Add isRelative to effects that it makes sense for
2020-09-30 17:18:37 +02:00
Luan Nico
9d9d94c1b3 Fix examples dart version to allow extensions 2020-09-27 15:28:44 -04:00
Lukas Klingsbo
d39701ac50 Add isRelative to some effects 2020-09-23 16:06:40 +02:00
Lukas Klingsbo
1714ad5872 Make use of extension methods 2020-09-21 21:41:36 +02:00
Lukas Klingsbo
7bc9c9a3a7 Create extensions for Size and Offset 2020-09-21 19:50:54 +02:00
Lukas Klingsbo
181d292861 Fix imports 2020-09-21 19:39:40 +02:00
Lukas Klingsbo
540e021d8b Rename vector2_extension to vector2 2020-09-21 12:17:21 +02:00
Lukas Klingsbo
50f8ffce3b Vector2 extension 2020-09-20 17:30:58 +02:00
Lukas Klingsbo
c90f636136 Use delegate Vector2F class instead of Vector2 2020-09-18 00:00:13 +02:00
Lukas Klingsbo
c95c93b3cd VectorUtil -> Vector2Operations 2020-09-12 16:43:29 +02:00
Lukas Klingsbo
5edd5f0fbd Move from Position to Vector2 2020-09-10 01:16:25 +02:00
Luan Nico
01b3863353 address comments 2020-08-18 23:39:40 -04:00
Luan Nico
997f36edc4 Part 3: Great Composed Component Refactor 2020-08-08 19:49:10 -04:00
Luan Nico
6f836ee36c Extract each component to their own file 2020-08-03 13:08:41 -04:00
Lukas Klingsbo
9168ef3836 onComplete callback for effects 2020-06-24 11:46:33 +02:00
Lukas Klingsbo
ba8dd8a839 Remove accidentally added test 2020-06-05 22:46:39 +02:00
Lukas Klingsbo
9076ad5fc2 Rename example to combined_effects to follow convention 2020-06-05 22:33:57 +02:00
Lukas Klingsbo
ce05f9be39 Added example for CombinedEffect 2020-06-05 22:26:34 +02:00
Lukas Klingsbo
5d3939b906 Update according to comments 2020-05-26 17:47:39 +02:00
Lukas Klingsbo
ba5ab70cf0 Add documentation for SequenceEffect 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
932e974028 Working alternation of the effect sequence 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
65b0193cb6 Sequence effect with example 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
729f03c539 Update according to new BaseGame 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
af361544c5 Rename properties and clarify in example 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
18c85022e4 Add example for rotational effect 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
b7fc754ce1 Use prepareCanvas 2020-05-26 17:47:06 +02:00
Lukas Klingsbo
9c3a1ea297 Rename properties and clarify in example 2020-05-21 11:41:02 +02:00