flame-engine / flame-engine/flame
New decorators and effects
- Dominant language
- Dart
- Stars
- 10.8k
- Forks
- 1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 21
Description
### Problem to solve
At the moment, the Flame library has a modest decorator system .
A powerful visual effects for the **Flame** game engine.
Pure dart 🎯
I want to add some new decorators to the flame library, which can be viewed at this link
https://github.com/s1r1m1r1/flame_visual_fx
### Proposal
Instead of fighting with complex WebGL Fragment Shaders that break on edge cases, fail to scale with Device Pixel Ratios, or ignore TexturePacker rotations.
## Features
- **`OutlineDecorator`**: Solid, strictly bound 8-way silhouette outline for pixel-perfect selections.
- **`PulseOutlineDecorator`**: A thick, smoothly pulsating outline that dynamically generates structural copies to eliminate tracing gaps.
- **`NeonGlowDecorator`**: A soft, cyber-punk glowing aura shadow utilizing dynamic `MaskFilter.blur` expanding rings.
- **`GhostTrailDecorator`**: Renders trailing, fading afterimages following your component to simulate teleportation or supersonic movement.
- **`HologramDecorator`**: Chromatic Aberration RGB-splitting offset glitch filter with randomized vertical jump jitter.
- **`DissolveDecorator`**: A teleportation/disintegration wave that mathematically erases the character using procedural noise grids and `BlendMode.dstOut`.
- **`HueDecorator`**: Hue shifting decorator
Which of these decorators are worth adding to the flame library?
### More information
_No response_
### Other
- [x] Are you interested in working on a PR for this?
Contributor guide
Assessment
This issue has not been assessed yet.