Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2811

Help and Support • Re: General Help and Quick Questions

$
0
0
I have a question: how do you create a level that can be played only once?
if you mean a level that makes itself completely unplayable after being cleared, this isn't possible within vanilla smbx. maybe using lua you could wait until the level's been exited and then overwrite the level file with junk, but lunalua has limitations to it's file system to prevent malicious code from being run so i'm not sure if that's possible either.

if you mean a level that isn't (practically) accessible after being played once, it depends:
- in a hub-style episode, you could for example require something like a switch palace switch to be pressed to beat the level, then block it off in the hub using that same switch. there's plenty of ways to go about it even in vanilla.
- on the world map, there's no real way to block levels off from the get-go without using lua. any way of blocking entry in a level would have to be within the level itself (example, a wall and an offscreen exit) but this is a bit crude.
If you are making a intro level, then that is no exeption. if you want it to be unplayable, then never put the level on the hub/world map.

Statistics: Posted by ilovehamburgerz — Mon Aug 05, 2024 3:44 pm



Viewing all articles
Browse latest Browse all 2811

Trending Articles