Solarus 1.6 Tutorial [en] - #15: Treasures

Solarus 1.6 Tutorial [en] - #15: Treasures

Subscribers:
2,910
Published on ● Video Link: https://www.youtube.com/watch?v=Sly3hKbshbE



Category:
Tutorial
Duration: 25:43
396 views
17


Items the player can obtain can have various forms like pickable treasures, or placed inside treasure chests, or dropped by enemies.
It is recommended to configure their sprite and dialog as follows:
- Sprite "entities/items" should have an animation with the id of the item, and as many directions as the number of variants of the item.
- There should be a dialog "_treasure.x.y", where "x" is the id of the item (warning: the id can contain slashes in case of items organized in subfolders), and "y" is the variant number.

- Video made with Solarus 1.6.
- Download Solarus : https://www.solarus-games.org/en/solarus/download
- Solarus documentation : http://www.solarus-games.org/doc/latest/
- How to program in Lua: http://www.lua.org/pil/contents.html
- Solarus Discord: https://discord.gg/yYHjJHt