flame_camera_tools 5.0.2 copy "flame_camera_tools: ^5.0.2" to clipboard
flame_camera_tools: ^5.0.2 copied to clipboard

Intuitive tools for creating immersive and dynamic camera behaviors in Flame-based games.

5.0.2 #

  • Updated Documentation.

5.0.1 #

  • Updated Documentation.

5.0.0 #

  • Renamed SmoothFollowBehavior to AdvancedFollowBehavior.
  • Renamed camera.smoothFollow to camera.chase which now returns a AdvancedFollowBehavior instance, which allows to tweak options such as offset, deadzone or stiffness later on.
  • All camera effect methods take now EffectController as a parameter, which adds even more modularity.
  • Remove weakenOverTime parameter from ShakeEffect which is the default action now.
  • Updated Documentation.

4.1.0 #

  • The stiffness and deadZone parameters of SmoothFollowBehavior are now adjustable.
  • Added the offset parameter to SmoothFollowBehavior and camera.smoothFollow to allow following a point offset from the target, enabling look-ahead or custom camera focus.
  • Added RectangularDeadzone.all and RectangularDeadzone.symmetric constructors.

4.0.1 #

  • Updated README.md

4.0.0 #

  • Replaced deadZone parameter from a fixed rectangular Rect to a flexible Deadzone abstraction.
  • Added new deadzone implementations: RectangularDeadzone and CircularDeadzone, allowing for customizable deadzone shapes.
  • Updated SmoothFollowBehavior to use the new Deadzone system, enhancing how the camera follows targets based on configurable deadzone boundaries.
  • Improved documentation

3.0.1 #

  • Fixed stiffness value in the example code

3.0.0 #

  • Changed the stiffness parameter of SmoothFollowBehavior to be a value between 0.0 and 1.0, where a value of 0.0 means no movement at all and a value of 1.0 means immediate following.

2.0.0 #

  • Merge SmoothFollowBehavior and AreaFollowBehavior into one class

1.2.0 #

  • Added moveAlongPath() method for CameraComponent
  • Adjusted effect duration defaults to 1 second

1.1.0 #

  • Added demo GIFs

1.0.1 #

  • Calling complete() on completers when duration is zero
  • Cosmetic changes inside README.md

1.0.0 #

  • Added weakenOverTime parameter to shake() method
  • Using double instead of the Duration class for the duration of the effects

0.0.5+1 #

  • fix: use radians() also when the duration is zero

0.0.5 #

  • Added rotateBy() method for CameraComponent
  • Refactor method parameter defaults

0.0.4 #

  • Removed stiffness parameter from areaFollow()
  • Added maxSpeed parameter to areaFollow() and AreaFollowBehavior

0.0.3 #

0.0.2 #

  • Added AreaFollowBehavior
  • Added areaFollow() method for CameraComponent
  • Added Documentation

0.0.1 #

  • Initial Release
11
likes
160
points
445
downloads

Publisher

verified publisherbszarlej.de

Weekly Downloads

Intuitive tools for creating immersive and dynamic camera behaviors in Flame-based games.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flame, flutter

More

Packages that depend on flame_camera_tools