summary refs log tree commit diff stats
path: root/res/scripts/map2.lua
Commit message (Collapse)AuthorAgeFilesLines
* Added sfx to electrocution eventKelly Rauchenberger2021-02-131-0/+4
|
* Added lightning sprite to mailbox eventKelly Rauchenberger2021-02-131-1/+8
| | | | | | | | 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.
* Added non-looping animationsKelly Rauchenberger2021-02-131-0/+14
| | | | Lucas can get electrocuted now.
* Added tile-sized invisible spritesKelly Rauchenberger2021-02-121-0/+20
| | | | These are used when you want a solid, interactable object that is part of the map instead of sprite animated (e.g. the mailboxes).
* Scripts are organised per-map nowKelly Rauchenberger2021-02-121-0/+5