RustRoguelike icon indicating copy to clipboard operation
RustRoguelike copied to clipboard

SpriteSheets For Single Sprites

Open nsmryan opened this issue 2 years ago • 2 comments

Currently the sprite sheet system doesn't really understand multiple vs single sprite lines in the atlas file. This is usually fine, but we use a weird way to determine whether the sprite is cut into multiple subsprites in a sheet.

This means that the UI in particular needs to track that it is not cut into subsprites, but the atlas file parsing does not understand this.

Consider: Checking sprite names for something ui related. Fixing them after they are parsed- ad-hoc but would work. Adding a way to specify whether sprites are sheets themselves or just a single image.

nsmryan avatar Jun 04 '22 01:06 nsmryan