Skip to content

New decorators and effects #3851

Description

@s1r1m1r1

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

  • Are you interested in working on a PR for this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions