warpTransition.lua (v1.1.3) - Spruce up your warps!

Share and discuss custom LunaLua code and content packs for SMBX2.
SBells27
Hoopster
Hoopster
Posts: 109
Joined: Sat Oct 03, 2015 10:23 pm
Flair: Working on a new project right now.
Contact:

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby SBells27 » Fri Oct 08, 2021 4:10 pm

MrDoubleA wrote:
Tue May 19, 2020 4:05 pm
This is just a small library to add transitions when using warps or entering the level. Additionally, it also offers music fading between sections.
See bottom of file for settings.

Showcase
Download
Hey, just wanted to ask if you could upload the level folder of the test level with the warp transitions to have a better grasp on the commands.

SpencerlyEverly
Bit
Bit
Posts: 72
Joined: Tue Jul 22, 2014 5:23 pm
Pronouns: they/them
Contact:

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby SpencerlyEverly » Mon Oct 18, 2021 7:31 pm

You think you can make this work while using the Starman? Apparently when changing rooms while you’re invincible it starts playing the other music and doesn’t keep it muted until the invincibility wears off.

Marioman2007
Lakitu
Lakitu
Posts: 465
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Marioman2007 » Thu Dec 30, 2021 9:26 pm

I created a simple sizable block which modifies the warp transition style for the warp colliding with this warp.

https://imgur.com/a/5tKVpHk

Download

please give credit!

CJK
Koopa
Koopa
Posts: 17
Joined: Thu Mar 05, 2020 8:52 pm

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby CJK » Tue Mar 01, 2022 8:41 pm

Hey so I've been trying to use this for one of my levels and I think I've run into a small issue while using the mosaic transition. When I use a warp, the screen first cuts to the new area like in vanilla SMBX and then does the mosaic transition. I tried changing the length of the warp transition using the settings at the bottom of the lua file but I'm still running into the same problem of the mosaic transition occurring too late. Any tips?

CJK
Koopa
Koopa
Posts: 17
Joined: Thu Mar 05, 2020 8:52 pm

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby CJK » Thu Mar 03, 2022 4:21 pm

CJK wrote:
Tue Mar 01, 2022 8:41 pm
Hey so I've been trying to use this for one of my levels and I think I've run into a small issue while using the mosaic transition. When I use a warp, the screen first cuts to the new area like in vanilla SMBX and then does the mosaic transition. I tried changing the length of the warp transition using the settings at the bottom of the lua file but I'm still running into the same problem of the mosaic transition occurring too late. Any tips?
Wait, I figured it out. I'm running the smwcamera.lua library in my level and it doesn't look like it's compatible with warpTransition. The warps get pretty funky if you try to play a level with both running. I tested it without the smwcamera and it worked fine. But now I'm not sure how to fix the compatibility issue...

Blazihards
Goomba
Goomba
Posts: 1
Joined: Sun Jan 24, 2021 5:19 am
Pronouns: he

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Blazihards » Sat Apr 02, 2022 1:52 pm

i don't why nut when i start the level nothing happen could you please help me?

MrDoubleA
Flurry
Flurry
Posts: 385
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?
Pronouns: he/him

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby MrDoubleA » Sat Apr 02, 2022 7:17 pm

Blazihards wrote:
Sat Apr 02, 2022 1:52 pm
i don't why nut when i start the level nothing happen could you please help me?
Are you loading it like this in your luna.lua file?

Code: Select all

local warpTransition = require("warpTransition")

Marioman2007
Lakitu
Lakitu
Posts: 465
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Marioman2007 » Sat Jul 02, 2022 9:56 am

Hey, is it possible to play a specific transition without using warps?
Like a function to call them or something?

Lunar Chris
Monty Mole
Monty Mole
Posts: 134
Joined: Mon Jan 06, 2014 9:51 pm
Flair: Moon Lord's Servant
Contact:

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Lunar Chris » Sat Jul 23, 2022 11:39 am

Still getting this error. I applied it to my episode's lua file and I'm still getting the error below. Any idea how to fix it?
Image

MrDoubleA
Flurry
Flurry
Posts: 385
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?
Pronouns: he/him

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby MrDoubleA » Sat Jul 23, 2022 5:07 pm

PikaChris wrote:
Sat Jul 23, 2022 11:39 am
Still getting this error. I applied it to my episode's lua file and I'm still getting the error below. Any idea how to fix it?
Image
You have the file in the wrong place. It must be in either the level or episode folder to work, not any subfolders.

The Talented Animator
Shy Guy
Shy Guy
Posts: 5
Joined: Mon Aug 22, 2022 11:31 am
Flair: I make cool stuf
Pronouns: he/him
Contact:

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby The Talented Animator » Sun Nov 13, 2022 6:54 am

MDA can you make these warps cross level compatible without SMBX2 having an error stroke. please.
Edit: I retract my statement.
Last edited by The Talented Animator on Sat Nov 19, 2022 8:50 am, edited 1 time in total.

deice
Volcano Lotus
Volcano Lotus
Posts: 541
Joined: Fri Jul 23, 2021 7:35 am

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby deice » Sun Nov 13, 2022 7:18 am

The Talented Animator wrote:
Sun Nov 13, 2022 6:54 am
MDA can you make these warps cross level compatible without SMBX2 having an error stroke. please.
it's always best to provide additional info regarding what you're trying to do instead of simply assuming the library is non-functional right off the bat. personally, i've had no issues using warptransition with cross-level warps, so maybe there's something in your own lua or another library that might be interfering?

The Talented Animator
Shy Guy
Shy Guy
Posts: 5
Joined: Mon Aug 22, 2022 11:31 am
Flair: I make cool stuf
Pronouns: he/him
Contact:

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby The Talented Animator » Sat Nov 19, 2022 8:50 am

Yeah same for me, especially sense my episode using some of MDA's creations.
Also quick side note I learned that I could fix the crashing of SMBX2 and the fact that I was using the warps to do [Level to Level].
Just had to fix something in the code by removing ".IsValid then return end" from lines 79 and 80 from "local function exitLevelLogic() -- Exit the level if the warp is set to do so
if not warpTransition.currentWarp.isValid then return end".

Mal8rk
Snifit
Snifit
Posts: 200
Joined: Mon Oct 25, 2021 11:04 pm
Flair: English Speaking Spanish Speaker
Pronouns: He/Him
Contact:

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Mal8rk » Thu Jan 12, 2023 12:52 pm

Hello there. So this error seems to be happening when I exit a level through a door
Image
Last edited by Mal8rk on Thu Mar 30, 2023 6:36 pm, edited 2 times in total.

Walder
Monty Mole
Monty Mole
Posts: 148
Joined: Fri Jun 01, 2018 7:10 pm

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Walder » Fri Jan 13, 2023 11:25 am

Great stuff. I was wondering if it's possible to have screen effects such as rain already be active while the warp effect is in motion? It's rather jarring to see them be completely static until the warp concludes.

Just_Thomas
Snifit
Snifit
Posts: 216
Joined: Sat Dec 16, 2023 3:32 am
Pronouns: he/him

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Just_Thomas » Thu Feb 08, 2024 7:30 am

Marioman2007 wrote:
Thu Dec 30, 2021 9:26 pm
I created a simple sizable block which modifies the warp transition style for the warp colliding with this warp.

https://imgur.com/a/5tKVpHk

Download

please give credit!
Ok, this is really cool and should be included in the first post. This makes everything so easy. Also thanks for the testmap, I always appreciate something like that. You could also say: "The design is very human".

Just_Thomas
Snifit
Snifit
Posts: 216
Joined: Sat Dec 16, 2023 3:32 am
Pronouns: he/him

Re: warpTransition.lua (v1.1.3) - Spruce up your warps!

Postby Just_Thomas » Thu Mar 14, 2024 9:13 am

Marioman2007 wrote:
Thu Dec 30, 2021 9:26 pm
I created a simple sizable block which modifies the warp transition style for the warp colliding with this warp.

https://imgur.com/a/5tKVpHk

Download

please give credit!
While I still have the files, others can not download anymore.
"This content is no longer available."


Return to “LunaLua”

Who is online

Users browsing this forum: timocomsmbx2345 and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari