characterselect.lua - choose your character with style!
Posted: Sun Aug 10, 2025 11:31 am
Hello Folks,
Inspired by the following topic over in the LunaLua help section of the forum: viewtopic.php?t=29570
I decided to write a lua script for a character select screen. Out of the box, the script is designed to only be accesed from the overworld. You can, however, by modifying the code, it can be also accessed from inside levels. If you need help with this, please feel free to reach out to me again.
I also included an example for a set of conditions for unlocking characters. I also included a how to use file to maybe already answer a few questions.
But without further ado, please view the script in action:
Update: V. 1.1 is out now. It's a rather small update offering to toggle whether or not locked characters should be visible at all
Update 2: V 1.2 out now. Now, you can set whether or not a locked character should be visible in the char select screen for every character individually.
And finally, the download links:
V 1.0: https://drive.google.com/drive/folders/ ... drive_link
V 1.1: https://drive.google.com/file/d/1Vs1eE4 ... drive_link
V 1.2: https://drive.google.com/drive/folders/ ... drive_link
Inspired by the following topic over in the LunaLua help section of the forum: viewtopic.php?t=29570
I decided to write a lua script for a character select screen. Out of the box, the script is designed to only be accesed from the overworld. You can, however, by modifying the code, it can be also accessed from inside levels. If you need help with this, please feel free to reach out to me again.
I also included an example for a set of conditions for unlocking characters. I also included a how to use file to maybe already answer a few questions.
But without further ado, please view the script in action:
Update: V. 1.1 is out now. It's a rather small update offering to toggle whether or not locked characters should be visible at all
Update 2: V 1.2 out now. Now, you can set whether or not a locked character should be visible in the char select screen for every character individually.
And finally, the download links:
V 1.0: https://drive.google.com/drive/folders/ ... drive_link
V 1.1: https://drive.google.com/file/d/1Vs1eE4 ... drive_link
V 1.2: https://drive.google.com/drive/folders/ ... drive_link