A Solarus Lua Library for common Zelda-based game entities and other things. It is the bridge between the language of the engine and the language of game design.
- Usage
- Entities
2.1 Arrow 2.2 Slippery Ice
The Lua files contained are most easily used as a git submodule (in a git-maintained project). Place the submodule where you would like to, and call it from your quest.
The following entities are currently implemented: Arrow -> builtin/arrow.lua Slippery Ice -> other/slip_ice.lua
The arrow has the properties max_dist, speed, and angle. They can be set or returned using setter and getter functions. The only event defined is on_update(), which moves the arrow.
Slippery Ice slides the hero or a block if either walks into it. It uses collision testing and hero states to acomplish this.