Solarus 1.5 Tutorial [en] - Basics #13: Organize your code in separate files with require()
In this progressive tutorial series, I explain how to develop a Zelda-like adventure game with the Solarus engine and Solarus Quest Editor.
This video shows how to use the standard Lua function require() to call code from another file.
This allows you to properly organize your scripts by separating the various features in different files.
- Video made with Solarus 1.5.
- Download Solarus : http://www.solarus-games.org/download/
- Solarus documentation : http://www.solarus-games.org/doc/latest/
- How to program in Lua: http://www.lua.org/pil/contents.html
- Legend of Zelda A Link to the Past resource pack: https://github.com/christopho/solarus-alttp-pack
Support Solarus: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YFMPWB625FJNC
Other Videos By ChristophoGames
Other Statistics
The Legend of Zelda: A Link to the Past Statistics For ChristophoGames
At this time, ChristophoGames has 525,890 views for The Legend of Zelda: A Link to the Past spread across 230 videos. The game makes up over 7 days of published video on his channel, roughly 13.39% of The Legend of Zelda: A Link to the Past content that ChristophoGames has uploaded to YouTube.