90
sprite sheet
Many frames in one image. The game draws a rectangle, not a new file per frame.
What is sprite sheet?
A sprite sheet packs frames and poses into one texture. An atlas map says which rectangle is “run-3”. One draw call batch beats a hundred image files.
Why does sprite sheet matter when vibe coding?
Models emit fifty `<img>` tags or fifty files. Memory and loading stutter. Name the sheet, the frame size, and the animation names.
How do you do sprite sheet?
One sheet per character or tileset. Constant frame size unless the atlas says otherwise. Animations are lists of frame indexes and durations. Do not load a PNG per frame.
How do you ask a model for sprite sheet?
Use a sprite sheet for (character). Frame size (w×h). Animations: idle, run, with frame indexes and durations in ms. Draw a source rectangle. Do not use one file per frame.
What goes wrong with sprite sheet?
A sheet with no padding, so the GPU bleeds the next frame into this one. Leave a pixel, or extrude edges.