Skip to main content

pixelfx_flame 0.1.0 copy "pixelfx_flame: ^0.1.0" to clipboard
pixelfx_flame: ^0.1.0 copied to clipboard

Reference Flame engine extension adapter providing PositionComponents and SpriteAnimation baking for pixelfx.

pixelfx_flame #

Flame game-engine bridge for pixelfx_core and pixelfx_flutter:

  • PixelFxFlameExtension (PixelFxExtension)
  • PixelFxComponent & PixelActComponent (PositionComponent with nearest-neighbor rendering & onHit)
  • PixelFxFlameBaker (bakeWithAtlas, toSpriteAnimationComponent)

Usage #

add(PixelActComponent(
  effect: swordSlashEffect,
  palette: Pal.fire,
  onHit: (hit) => camera.shake(intensity: hit.amp),
));
1
likes
150
points
--
downloads

Documentation

API reference

Publisher

verified publisherfaustobdls.dev

Reference Flame engine extension adapter providing PositionComponents and SpriteAnimation baking for pixelfx.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flame, flutter, pixelfx_core, pixelfx_flutter

More

Packages that depend on pixelfx_flame