Erick
4db3c0e401
Enabling direct import of Sprite and SpriteAnimation ( #652 )
...
* Enabling direct import of Sprite and SpriteAnimation
* Renan follow up
* Fixing spritesheet exmaple
Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com >
2021-02-03 14:20:39 -03:00
Renan
ccee9a466b
Move files to src and comply with the dart package layout convention ( #621 )
...
* 👌 Use `Offset` type directly in `JoystickAction.update` calculations (#631 )
* Move files to src and comply with the dart package layout convention
* Fixing widgets example
Co-authored-by: Serge Matveenko <lig@countzero.co >
Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com >
2021-01-20 09:05:43 -03:00
Serge Matveenko
16eaef3bb1
🏷 Backport some code improvements from the null-safety branch ( #603 )
2021-01-08 23:25:29 -03:00
Erick
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
Lukas Klingsbo
2291002066
Update docs to take margin/padding into account
2020-12-09 10:22:36 +00:00
Erick Zanardo
d4a799fd5d
New idea
2020-12-09 10:10:12 +00:00
Erick Zanardo
5a675ae630
Adding Sprite and SpriteAnimation easier ways of loading
2020-12-09 10:10:12 +00:00
Luan Nico
e6f9801873
Changelog and docs
2020-12-09 10:10:12 +00:00
Luan Nico
4f989e49f5
Unify multiple render methods on Sprite
2020-12-09 10:10:12 +00:00
Luan Nico
b4b20655e0
Enable strong strict mode on dartalyzer
2020-10-14 22:36:14 -04:00
Lukas Klingsbo
25a3708e00
Default srcSize
2020-10-13 22:01:48 +02:00
Lukas Klingsbo
c444e752b0
Sprite.size -> srcSize
2020-10-13 22:01:48 +02:00
Lukas Klingsbo
9dec544d96
bounds -> src for Sprite
2020-10-13 22:01:48 +02:00
Lukas Klingsbo
2976362997
Utilize Vector2 for sprite and set default position
2020-10-13 22:01:47 +02:00
Erick Zanardo
0851efa7df
Merge branch 'v1.0.0' into erick.assets-refactor-2
2020-10-05 19:30:18 -03:00
Lukas Klingsbo
f97f20ab73
Vector2 for position and size on PositionComponent
2020-09-30 19:12:52 +02:00
Erick Zanardo
8e9c16b619
Merge branch 'v1.0.0' into erick.assets-refactor-2
2020-09-29 23:54:11 -03:00
Erick Zanardo
bb30058642
Merge branch 'develop' into v1.0.0
2020-09-27 15:22:45 -03:00
Lukas Klingsbo
2a4cc9cb57
Use one parameter per line and trailing comma
2020-09-21 22:33:45 +02:00
Lukas Klingsbo
7bc9c9a3a7
Create extensions for Size and Offset
2020-09-21 19:50:54 +02:00
Lukas Klingsbo
540e021d8b
Rename vector2_extension to vector2
2020-09-21 12:17:21 +02:00
Luan Nico
62d45c0c0d
Fix all imports (relative & ordering)
2020-09-20 22:00:03 -04:00
Erick Zanardo
585b440d0b
Refactoring assets loading on Flame
2020-09-20 14:45:07 -03: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
Erick Zanardo
f1bd00db88
Formating
2019-08-03 15:39:33 -03:00
Erick Zanardo
029a392fed
refactoring to get all optional parameters as optionals
2019-08-03 15:39:33 -03:00
Erick Zanardo
51b17a0592
Adding override paint method to Sprite
2019-08-03 15:39:33 -03:00
Renan Araujo
b1a3d222a9
use final
2019-03-22 13:35:46 -03:00
Renan Araujo
e7ac8ed094
unecessary new
2019-03-22 13:20:18 -03:00
Luan Nico
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
Luan Nico
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
Luan Nico
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
Luan Nico
b76af2e4ac
improving apis
2019-01-01 19:03:36 -02:00
Luan Nico
d35e683dec
Adding a new method for sprite to render it scaled easily
2018-09-19 21:36:47 -03:00
Luan Nico
5a9a018f6b
formatting and fixes
2018-08-28 22:13:47 -03:00
Luan Nico
14b1761184
Adding method to more easily render centered sprites
2018-08-28 20:05:27 -03:00
Luan Nico
d40bae6fbf
fixes in API
2018-07-02 01:30:46 -03:00
Luan Nico
1ced25f1f4
formatting, linting and refactorings
2018-05-24 22:19:59 -03:00
Luan Nico
6be3d28493
formatting
2018-05-21 01:59:07 -03:00
Luan Nico
fa315c2db4
change -1 to null
2018-04-29 12:27:32 -03:00
Luan Nico
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
Luan Nico
879b358ad3
fix some apis
2018-04-15 10:00:18 -03:00
Luan Nico
410ae788aa
Adding more methods to position and sprite to better integrate with box2d
2018-03-17 18:12:39 -03:00
Luan Nico
fbaec30724
more api options
2017-12-30 17:46:47 -02:00
Luan Nico
2438111ac0
few fixes
2017-12-04 22:20:21 -02:00
Luan Nico
2fa22f2f7c
Start v1.0 apis (sprite, animation, box2d, etc)
2017-12-04 22:20:21 -02:00