73 Commits

Author SHA1 Message Date
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
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
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
f48bf4d654 All components must call super 2020-10-07 09:20:28 +02: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
cd5107a7a7 Fix; 2020-09-27 14:30:33 -04:00
bb30058642 Merge branch 'develop' into v1.0.0 2020-09-27 15:22:45 -03:00
4115afcebb Use vector2 extension 2020-09-21 21:45:17 +02:00
62d45c0c0d Fix all imports (relative & ordering) 2020-09-20 22:00:03 -04:00
50f8ffce3b Vector2 extension 2020-09-20 17:30:58 +02:00
c90f636136 Use delegate Vector2F class instead of Vector2 2020-09-18 00:00:13 +02:00
5edd5f0fbd Move from Position to Vector2 2020-09-10 01:16:25 +02:00
e28cd218c2 More fixes 2020-08-03 14:07:59 -04:00
67a694087e Fixing example and restoring SpriteComponent 2020-07-02 19:41:37 -03:00
cdbd93c019 Outsourcing svg support to an external library 2020-07-01 19:58:10 -03:00
dc874dd29e Removed type specific initialization in SequenceEffect 2020-05-27 21:20:22 +02:00
61d381a89f Infinite and alternating effects 2020-05-17 16:03:46 +02:00
2c17ef5bbb Fix existing lint issues 2020-05-09 12:51:37 -04:00
f993aadceb Adding ScaleEffect 2020-04-21 10:01:08 -03:00
9356132325 Initial commit with position effects (MoveEffect) 2020-04-21 10:01:08 -03:00
7af07f4700 overridePaint and adding to SpriteComponent as well 2020-04-02 20:17:19 -03:00
67d3abe888 Adding Component#onDestroy 2020-03-28 14:30:29 -03:00
f5519ddcd6 Update lib/components/component.dart
Co-Authored-By: Luan Nico <luanpotter27@gmail.com>
2020-03-09 14:19:36 -03:00
992e4ff69d Update lib/components/component.dart
Co-Authored-By: Luan Nico <luanpotter27@gmail.com>
2020-03-09 14:19:29 -03:00
d6f2c5e960 Adding Component#onMount 2020-03-05 21:18:02 -03:00
48b9b4fe44 Fixing nits and warnings on the code 2019-10-14 17:16:23 -04:00
1f067f5c25 adding example and only calculating flip if needed 2019-10-07 22:44:44 -03:00
627e12bba2 add invert X or Y axis to position component 2019-10-07 22:44:44 -03:00
e2622cde41 improve mixins & adds HasGameRef & fixes composedComponent 2019-09-21 12:59:32 -04:00
029a392fed refactoring to get all optional parameters as optionals 2019-08-03 15:39:33 -03:00
f415090c24 PR suggestions 2019-07-11 17:47:24 -03:00
6770c0a270 Refactoring debugging 2019-07-11 17:47:24 -03:00
0ce355b891 Sets PositionComponent#setByRect to also use anchor property. Change in #99 was a breaking change for setByRect when using the results of toRect as they now used different anchors which would cause the set rect to translate to a new incorrect position. 2019-06-01 07:32:22 -04:00
3cd3aec0d8 0.12.0 release condidate (#100)
* fixes on animation

* Fixed warning on using specific version o flutter_svg on pubspec

* Adding part 4 of Alekhin's articles

* ParallaxComponent is not abstract anymore, as it does not include any abstract method

* fix for position

* fixing examples

* Adding equality comparison for Position

* Add scaleTo method to position

* adding method limit to position

* scaleTo for empty vector

* add part 5 from alekhin series to readme (#84)

* Updating CHANGELOG

* Bump synchronized to 2.1.0

Avoiding conflict with other packages

* Adding go desktop example

* Linting files

* Upgrading flutter_svg and fixing version on pubspec for developer branch (#93)

* Upgrading flutter_svg and fixing version on pubspec for developer branch

* Switch flutter to dev channel (#94)

* Improve flame audio api

* Improving scripts

* Adding badges code on README (#95)

* Adding Flare support (#96)

* Initial commit

* Flare support

* Adding docs for FlareAnimation

* Some organization fixes on Flare example game

* Adding changelog entry

* Fixing lint

* Adding FlareComponent

* PR changes

* PR suggestions and linting

* Fixing position component anchor (#99)

* Change PositionComponent toRect() to take into account component's anchor in order to create the proper rect

* Linting

* Updating CHANGELOG

* Adding Contributing disclaimer on README

* Bumping version
2019-05-31 11:25:21 -03:00
580ccdecfc Typos in documentation and comments (#71) 2019-04-04 13:57:38 -03:00
6696373bd7 zero analyzer issues 2019-03-23 15:02:17 -03:00