37 Commits

Author SHA1 Message Date
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
6be3d28493 formatting 2018-05-21 01:59:07 -03:00
879b358ad3 fix some apis 2018-04-15 10:00:18 -03:00
e1db34ad49 Adding more methods to Position and PositionComponent, and also more tests. 2018-03-17 10:32:19 -03:00
fbaec30724 more api options 2017-12-30 17:46:47 -02:00
16b86c5a5d adding empty constructor (can always be useful) 2017-12-30 17:38:41 -02:00
15f83da616 better security for render method 2017-12-25 22:48:04 -02:00
10faa5c28e adding isHud to disable camera 2017-12-24 19:42:22 -02:00
90b69f9cd9 change packages, add Position class and Camera to BaseGame 2017-12-24 16:31:07 -02:00
b7e127ac11 extracting animation from component, fix rotate around center bug, add width and height to PositionComponent 2017-12-24 16:16:29 -02:00
b86cf57e1b resize methods 2017-12-04 23:15:42 -02:00
2fa22f2f7c Start v1.0 apis (sprite, animation, box2d, etc) 2017-12-04 22:20:21 -02:00