Page 1 of 1

LunaLua - Switch Palaces and Custom GFX

Posted: Fri May 27, 2016 3:41 pm
by BabyBlueFord
Hi, I was wondering: is it possible to create a switch palace using LunaLua that replaces blocks in every level? Is it also possible to create a level that can't be entered after it is completed? I was also thinking about using custom GFX for every level. Is there a way to code GFX for a world instead of just a level? Help with any of these topics would be appreciated.

Re: LunaLua - Switch Palaces and Custom GFX

Posted: Fri May 27, 2016 3:55 pm
by TDK
BabyBlueFord wrote:Hi, I was wondering: is it possible to create a switch palace using LunaLua that replaces blocks in every level? Is it also possible to create a level that can't be entered after it is completed? I was also thinking about using custom GFX for every level. Is there a way to code GFX for a world instead of just a level? Help with any of these topics would be appreciated.
It is possible for both things with LunaLua.
Switch palace using LunaDLL: http://www.smbxgame.com/forums/v ... php?t=6138
Destroying a level: http://www.smbxgame.com/forums/v ... hp?t=13302

Also if you want to use custom GFX for the entire episode, you would need to put it in the episode's folder (the same folder with the level).

Re: LunaLua - Switch Palaces and Custom GFX

Posted: Fri May 27, 2016 4:05 pm
by h2643
TheDinoKing432 wrote:It is possible for both things with LunaLua.
Switch palace using LunaDLL: http://www.smbxgame.com/forums/v ... php?t=6138
Why would you talk about LunaLua and then link to a LunaDLL method..?

Re: LunaLua - Switch Palaces and Custom GFX

Posted: Fri May 27, 2016 4:27 pm
by TDK
h2643 wrote:
TheDinoKing432 wrote:It is possible for both things with LunaLua.
Switch palace using LunaDLL: http://www.smbxgame.com/forums/v ... php?t=6138
Why would you talk about LunaLua and then link to a LunaDLL method..?
It was an example, and LunaDLL works with LunaLua.