rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Share and discuss custom LunaLua code and content packs for SMBX2.
User avatar
MrDoubleA
Rex
Rex
Posts: 90
Joined: Mon Aug 20, 2018 7:02 am
Contact:

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby MrDoubleA » Mon Mar 30, 2020 10:16 am

v1.2 is out! Now, finally, layers and timed events reset! There were also some smaller updates and additions, so here's another incomplete list of them:
Incomplete list of changes: show
Timed events, layers, BGOs, water/quicksand, and warps all now reset properly
A few additional options were added
A new respawn effect was added, "diamond sweep".
A bunch of miscellaneous bug fixes
onRespawnReset has been replaced by onReset(fromRespawn) (though onRespawnReset can still be used, its just not recommended)
Hi. I'm not very active on the forums.
(MrDoubleA#3124 on Discord)

rooms.lua - Quick respawn & Celeste-styled rooms
simpleLayerMovement.lua - For all your custom layer movement needs!
MrDoubleA's NPC Pack
Are you a mouse?
I support: show
Image
Image
Image
Image

User avatar
BabyWeegee
Rex
Rex
Posts: 92
Joined: Wed Jan 22, 2014 9:08 pm

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby BabyWeegee » Fri Apr 10, 2020 12:02 pm

There seems to still be an issue with the water in the 1.2 build. When I'm testing levels, the first (but only the first) chunk of water always disappears on respawn (although I wouldn't put it past myself to have messed something up on my own)
"I ain't afraid of nothing... except Rottweilers... and expired mayonnaise."

User avatar
MrDoubleA
Rex
Rex
Posts: 90
Joined: Mon Aug 20, 2018 7:02 am
Contact:

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby MrDoubleA » Fri Apr 10, 2020 3:49 pm

BabyWeegee wrote:
Fri Apr 10, 2020 12:02 pm
There seems to still be an issue with the water in the 1.2 build. When I'm testing levels, the first (but only the first) chunk of water always disappears on respawn (although I wouldn't put it past myself to have messed something up on my own)
Can you share some more info? That sounds very odd, and I haven't been able to recreate it. If you could send a small level showcasing this, that'd be much appreciated.
Hi. I'm not very active on the forums.
(MrDoubleA#3124 on Discord)

rooms.lua - Quick respawn & Celeste-styled rooms
simpleLayerMovement.lua - For all your custom layer movement needs!
MrDoubleA's NPC Pack
Are you a mouse?
I support: show
Image
Image
Image
Image

User avatar
BabyWeegee
Rex
Rex
Posts: 92
Joined: Wed Jan 22, 2014 9:08 pm

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby BabyWeegee » Fri Apr 10, 2020 10:37 pm

Image

Well idk why but it switched from being the first patch of water. This is what happens though.
"I ain't afraid of nothing... except Rottweilers... and expired mayonnaise."

User avatar
MrDoubleA
Rex
Rex
Posts: 90
Joined: Mon Aug 20, 2018 7:02 am
Contact:

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby MrDoubleA » Sat Apr 11, 2020 8:48 am

That's odd... however, as I said, I haven't been able to recreate this. Could you provide a small sample level to showcase this bug?
Hi. I'm not very active on the forums.
(MrDoubleA#3124 on Discord)

rooms.lua - Quick respawn & Celeste-styled rooms
simpleLayerMovement.lua - For all your custom layer movement needs!
MrDoubleA's NPC Pack
Are you a mouse?
I support: show
Image
Image
Image
Image

User avatar
SPEEDIE
Bit
Bit
Posts: 142
Joined: Sat Nov 03, 2018 6:22 pm
Flair: Avatar is what life should be like.
Current Project: A SMBX Episode
Chat Username: SPEEDIE
Contact:

Re: rooms.lua - Quick respawn & Celeste-styled rooms

Postby SPEEDIE » Tue Apr 21, 2020 8:26 am

Enjl wrote:
Fri Feb 21, 2020 10:11 am
Does it invoke a custom lua event when a reset occurs or a room is entered? Would be helpful if people wanna reset their lua routines too. Sadly moving layers will always be a NIGHTMARE.
Look into registerCustomEvent if you wanna provide onEnter and onReset events.
Moving layers are exactly what I need :( Why can't the layers just reset it's position?
If something sounds too good to be true, it probably is.
Image

Finished Projects:

Image

Ongoing Projects:

None, however I am updating A SMBX Episode sometimes.

User avatar
MrDoubleA
Rex
Rex
Posts: 90
Joined: Mon Aug 20, 2018 7:02 am
Contact:

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby MrDoubleA » Tue Apr 21, 2020 11:01 am

They do reset now. Also, layers don't have a position.
Hi. I'm not very active on the forums.
(MrDoubleA#3124 on Discord)

rooms.lua - Quick respawn & Celeste-styled rooms
simpleLayerMovement.lua - For all your custom layer movement needs!
MrDoubleA's NPC Pack
Are you a mouse?
I support: show
Image
Image
Image
Image

User avatar
SPEEDIE
Bit
Bit
Posts: 142
Joined: Sat Nov 03, 2018 6:22 pm
Flair: Avatar is what life should be like.
Current Project: A SMBX Episode
Chat Username: SPEEDIE
Contact:

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby SPEEDIE » Tue Apr 21, 2020 11:53 am

MrDoubleA wrote:
Tue Apr 21, 2020 11:01 am
They do reset now. Also, layers don't have a position.
Oh, turns out I used the wrong version lol. Thanks for this awesome quick respawn script.
If something sounds too good to be true, it probably is.
Image

Finished Projects:

Image

Ongoing Projects:

None, however I am updating A SMBX Episode sometimes.

User avatar
Oshi
Kamikaze Koopa
Kamikaze Koopa
Posts: 1217
Joined: Sun Aug 16, 2015 12:34 pm
Flair: Nothing interesting here, move along
Current Project: Not worth mentioning
Chat Username: Oshi#3433

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby Oshi » Mon Jun 01, 2020 12:33 pm

Does this work with the current Beta 4 patch?

Edit: Okay, I tried it out and it does indeed work, good. Never mind I guess.
If you are interested in Mafia, RTD, or DnD, please check out Minigame Plaza. Unfortunately the server has been declining recently, and we would like people like you to join.
Spoiler: show
godblessamerica21 wrote: when i get mod your ass is grass amigo
projects I support: show
Image
Image

User avatar
Cedur
Toad
Toad
Posts: 6185
Joined: Tue Jun 28, 2016 10:14 am

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

Postby Cedur » Mon Jun 01, 2020 3:38 pm

I tried it myself, haven't gotten any error thus far.
Image
More Supports: show

Image
Image

Still using the legacy editor? Get SMBX2 and PGE, it will improve your experience significantly. Here's why. And remember, Yoshis are tools to be used and discarded.

ShadowStarX (06/14/18) wrote: South Korea is easy deal


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests