summary refs log tree commit diff stats
path: root/res/sprites/lightning_anim.txt
Commit message (Collapse)AuthorAgeFilesLines
* Added lightning sprite to mailbox eventKelly Rauchenberger2021-02-131-0/+3
Sprites can be destroyed now, which really just means that their index is removed from the list of active sprites. The actual memory is not freed until all sprites are deleted on map change. Sprite layers are introduced. All sprites by default are on layer 0 (Normal) which renders them in between the lower and upper map layers. There is also a layer 1 (Above) that renders above the upper map layer, and the sprite for the lightning strike uses this layer in order to not be hidden by the trees. Fixed a bug where waiting for the end of a non-looping animation would trip the flag immediately upon the final frame activating, instead of waiting the length of the last frame.