Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

feat: Create frame animation module #3

@Bli-AIk

Description

@Bli-AIk

🔗 Is your feature request related to a specific issue?

The framework is missing a dedicated system for handling sprite-based, frame-by-frame animations, which are a fundamental requirement for most 2D games.


💡 Feature Description

Implement a module for creating, managing, and playing 2D frame animations from sprite sheets or sequences of individual frames.

  • Expected outcome or effect: A simple yet powerful API for controlling sprite animations on game entities.
  • Specific implementation ideas: The following definitions are for reference only and are subject to change. Implementation could include:
    • An Animation data asset that defines a sequence of sprites, duration, and looping behavior.
    • An Animator component that can be attached to a game entity.
    • The Animator would manage a collection of Animation assets and handle transitions between them (e.g., from "Run" to "Idle").
    • The system should support animation events that can be triggered at specific frames.
  • Usage scenarios or benefits: Essential for animating characters, effects, and any other 2D visual element. Animation events can be used to sync gameplay with visuals, such as playing a footstep sound on a specific frame of a run cycle.

⚖ Alternatives Considered

N/A


📝 Additional Information

N/A

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions