61 Commits

Author SHA1 Message Date
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
aacb3fcb65 flutter formar 2019-03-22 13:37:42 -03:00
b1a3d222a9 use final 2019-03-22 13:35:46 -03:00
5a2f576610 merge 2019-03-22 13:21:17 -03:00
e7ac8ed094 unecessary new 2019-03-22 13:20:18 -03:00
b86f53929e Adding basic SVG support (#61) 2019-03-21 21:42:52 -03:00
9c69937b5b Fixes build (tests), adding ditance method to position, fix linting (formating, quotes), removed uneeded new keywords everywhere 2019-03-10 15:17:53 -03:00
45455f60f0 Adding SimpleGame, EmbeddedGameWidget and animationAsWidget to allow for easy integration of flame with non-game flutter apps, plus docs improved, minor fixes 2019-01-24 21:31:49 -02:00
208442c2b5 fix for anchor + rotation regarding composed component 2019-01-02 00:37:21 -02:00
8dacfc90a6 Adding new text related components and upgrading old components to use the new features like anchor 2019-01-01 22:48:08 -02:00
fe9dbb7ff2 Adding more docs, dont need to commit doc/api folder (its generated) 2018-05-26 21:59:37 -03:00
7a0b9254c8 Added priority rendering/updating to BaseGame 2018-05-26 21:13:26 -03:00
1ced25f1f4 formatting, linting and refactorings 2018-05-24 22:19:59 -03:00