64a40ff641
Refactor joystick ( #876 )
...
* Refactor joystick
* Fix directional tests
* Joystick example
* Any PositionComponent can be used as knob and background
* Add MarginButtonComponent
* Fix JoystickExample
* Update joystick docs
* Fix joystick direction tests
* Fix effect tests
* Fix analyze issue
* Update docs
* Update docs
* Move joystick to input export
* Update packages/flame/lib/src/geometry/shape.dart
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Add test and description for screenAngle
* Update examples/lib/stories/controls/joystick_player.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update doc/input.md
Co-authored-by: Erick <erickzanardoo@gmail.com>
* controls -> input in examples to align with export file
* controls -> input
* Add simple joystick example
* Fix imports
* velocity -> relativeDelta
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
2021-07-15 12:00:41 +02:00
1e79a42161
Rename Tapable to Tappable ( #868 )
2021-07-07 10:48:58 +02:00
948f277e5d
Fix gestures when isHud = true and camera is transformed ( #843 )
...
* Fix gestures when isHud = true and camera is transformed
* Use Info instead of Event everywhere
2021-06-09 23:47:59 +02:00
08a9d680cd
Update tutorial/2_sprite_animations_gestures/README.md ( #805 )
...
* Update tutorial/2_sprite_animations_gestures/README.md
Removed the premature usage of the TapDetector mixin, which is addressed later in the tutorial.
* Update CHANGELOG.md
Added change to the changelog.
2021-05-21 22:49:59 +02:00
5a605385f8
Update for rc10 ( #782 )
...
* Test rendering
* Update to rc10
* Remove rc reference from tutorials
2021-05-04 23:41:30 +02:00
6b2f8032fe
Making Flame events aware of camera ( #755 )
...
* some initial refactoring
* Fixing examples and joystick component
* Fixing examples
* Addressing comments from PR
* Fixing tutorials
* Updating docs
* Fixing tests
* PR followup
* A big follow up
* linting
* doc nit
* Changelog and fix tutorial
* Addressing comments
* Fixing BaseGame project and scale offset methods
* Formatting
* doc suggestions
* Update packages/flame/lib/src/gestures/events.dart
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Hopefully, the last follow up
* Linting and adding dart-code-metrics again
* fixing tutorial
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
2021-04-15 15:28:46 -03:00
e5b1aa8407
Adding second tutorial about Sprites, Animations and Gestures ( #749 )
...
* some initial code
* Sprite and Animation section
* fixing snippet
* Finishing the other sections
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Apply suggestions from code review
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Luan follow up
* Update tutorials/2_sprite_animations_gestures/README.md
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
* Some more adjustments from PR comments
* Apply suggestions from code review
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
Co-authored-by: Luan Nico <luanpotter27@gmail.com>
Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
2021-04-08 10:05:42 -03:00