47 Commits

Author SHA1 Message Date
16eaef3bb1 🏷 Backport some code improvements from the null-safety branch (#603) 2021-01-08 23:25:29 -03:00
5517c25034 Creating a shortcut for Sprite and SpriteAnimation load (#609)
* Creating a shortcut for Sprite and SpriteAnimation load

* Adding changelod

* Lint

* PR suggestions
2021-01-05 20:17:34 -03:00
2291002066 Update docs to take margin/padding into account 2020-12-09 10:22:36 +00:00
d4a799fd5d New idea 2020-12-09 10:10:12 +00:00
5a675ae630 Adding Sprite and SpriteAnimation easier ways of loading 2020-12-09 10:10:12 +00:00
e6f9801873 Changelog and docs 2020-12-09 10:10:12 +00:00
4f989e49f5 Unify multiple render methods on Sprite 2020-12-09 10:10:12 +00:00
b4b20655e0 Enable strong strict mode on dartalyzer 2020-10-14 22:36:14 -04:00
25a3708e00 Default srcSize 2020-10-13 22:01:48 +02:00
c444e752b0 Sprite.size -> srcSize 2020-10-13 22:01:48 +02:00
9dec544d96 bounds -> src for Sprite 2020-10-13 22:01:48 +02:00
2976362997 Utilize Vector2 for sprite and set default position 2020-10-13 22:01:47 +02:00
0851efa7df Merge branch 'v1.0.0' into erick.assets-refactor-2 2020-10-05 19:30:18 -03:00
f97f20ab73 Vector2 for position and size on PositionComponent 2020-09-30 19:12:52 +02:00
8e9c16b619 Merge branch 'v1.0.0' into erick.assets-refactor-2 2020-09-29 23:54:11 -03:00
bb30058642 Merge branch 'develop' into v1.0.0 2020-09-27 15:22:45 -03:00
2a4cc9cb57 Use one parameter per line and trailing comma 2020-09-21 22:33:45 +02:00
7bc9c9a3a7 Create extensions for Size and Offset 2020-09-21 19:50:54 +02:00
540e021d8b Rename vector2_extension to vector2 2020-09-21 12:17:21 +02:00
62d45c0c0d Fix all imports (relative & ordering) 2020-09-20 22:00:03 -04:00
585b440d0b Refactoring assets loading on Flame 2020-09-20 14:45:07 -03: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
c95c93b3cd VectorUtil -> Vector2Operations 2020-09-12 16:43:29 +02:00
5edd5f0fbd Move from Position to Vector2 2020-09-10 01:16:25 +02:00
f1bd00db88 Formating 2019-08-03 15:39:33 -03:00
029a392fed refactoring to get all optional parameters as optionals 2019-08-03 15:39:33 -03:00
51b17a0592 Adding override paint method to Sprite 2019-08-03 15:39:33 -03:00
b1a3d222a9 use final 2019-03-22 13:35:46 -03:00
e7ac8ed094 unecessary new 2019-03-22 13:20:18 -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
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
b76af2e4ac improving apis 2019-01-01 19:03:36 -02:00
d35e683dec Adding a new method for sprite to render it scaled easily 2018-09-19 21:36:47 -03:00
5a9a018f6b formatting and fixes 2018-08-28 22:13:47 -03:00
14b1761184 Adding method to more easily render centered sprites 2018-08-28 20:05:27 -03:00
d40bae6fbf fixes in API 2018-07-02 01:30:46 -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
fa315c2db4 change -1 to null 2018-04-29 12:27:32 -03:00
f81a9ab41a size is optional when rendering sprites, if not present use original size; default values to null, instead of -1 2018-04-29 11:49:00 -03:00
879b358ad3 fix some apis 2018-04-15 10:00:18 -03:00
410ae788aa Adding more methods to position and sprite to better integrate with box2d 2018-03-17 18:12:39 -03:00
fbaec30724 more api options 2017-12-30 17:46:47 -02:00
2438111ac0 few fixes 2017-12-04 22:20:21 -02:00
2fa22f2f7c Start v1.0 apis (sprite, animation, box2d, etc) 2017-12-04 22:20:21 -02:00