Skip to content
Jirka Dell'Oro-Friedl edited this page Sep 21, 2022 · 5 revisions

This article describes a temporary implementation in FudgeAid. Sprites should be controlled by the Animation Component at a later stage.

A sprite is a flat image in the game world that changes its content to display an animation.

SpriteSheet

A spritesheet is a texture image that shows the various phases of the animation. Only a small portion of that texture is rendered to a sprite at a given time, followed by another portion, creating the impression of a smooth animation.

NodeSprite

A node with a material and a mesh component attached, that represents a sprite. It's an extension of the class Node with additional methods to control the size of the quad referenced by the mesh-component and the portion of the texture to render on that quad.