You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sprites: atlases, frames, animations and a batch drawn into a Canvas #4
Part of nsgo-dev/nsgo#1047. NSGo's Canvas draws part of an image with Drawing.DrawImageFrom, one op per sprite, and nsgo-dev/nsgo#1053 measures that and adds a batched Drawing.DrawAtlas.
Proposal
Atlas: an image (core.ImageSource) and a table of named frames (rects), loadable from a YAML or the common JSON atlas formats exported by sprite packers (TexturePacker, Aseprite).
Sprite: position, origin, rotation, scale, flip, tint, alpha, z order, and the current frame.
Animation: frame sequences with per-frame durations, looping or once, advanced by update steps.
changed the title [-]Sprites and atlases: frames, animations and a batch drawn into a Canvas[/-][+]Sprites: atlases, frames, animations and a batch drawn into a Canvas[/+]on Nov 21, 2026
Activity
[-]Sprites and atlases: frames, animations and a batch drawn into a Canvas[/-][+]Sprites: atlases, frames, animations and a batch drawn into a Canvas[/+]