Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
SBells27
- Monty Mole

- Posts: 110
- Joined: Sat Oct 03, 2015 10:23 pm
- Flair: Top 100 Marathon Project
-
Contact:
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
- Banned
- Posts: 72
- Joined: Tue Jul 22, 2014 5:23 pm
- Pronouns: they/them
-
Contact:
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
- 2025 Egg Hunter

- Posts: 529
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
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

- Posts: 17
- Joined: Thu Mar 05, 2020 8:52 pm
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

- Posts: 17
- Joined: Thu Mar 05, 2020 8:52 pm
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

- Posts: 1
- Joined: Sun Jan 24, 2021 5:19 am
- Pronouns: he
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
- Ripper II

- Posts: 394
- Joined: Mon Aug 20, 2018 7:02 am
- Flair: How much munchers?
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
- 2025 Egg Hunter

- Posts: 529
- Joined: Tue Aug 25, 2020 3:19 am
- Flair: Dr. Bones
- Pronouns: He/Him
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
- Tweeter

- Posts: 134
- Joined: Mon Jan 06, 2014 9:51 pm
- Flair: Moon Lord's Servant
-
Contact:
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?

|
|
|
|
|
|
|
|
|
-
MrDoubleA
- Ripper II

- Posts: 394
- Joined: Mon Aug 20, 2018 7:02 am
- Flair: How much munchers?
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?
You have the file in the wrong place. It must be in either the level or episode folder to work, not any subfolders.
|
|
|
|
|
|
|
|
|
-
Rudy Red
- Shy Guy

- Posts: 5
- Joined: Mon Aug 22, 2022 11:31 am
- Flair: I will return...
- Pronouns: he/him
Postby Rudy Red » 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 Rudy Red on Sat Nov 19, 2022 8:50 am, edited 1 time in total.
|
|
|
|
|
|
|
|
|
-
deice
- Volcano Lotus

- Posts: 596
- Joined: Fri Jul 23, 2021 7:35 am
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?
|
|
|
|
|
|
|
|
|
-
Rudy Red
- Shy Guy

- Posts: 5
- Joined: Mon Aug 22, 2022 11:31 am
- Flair: I will return...
- Pronouns: he/him
Postby Rudy Red » 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

- Posts: 216
- Joined: Mon Oct 25, 2021 11:04 pm
- Flair: English Speaking Spanish Speaker
- Pronouns: He/Him
-
Contact:
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

Last edited by Mal8rk on Thu Mar 30, 2023 6:36 pm, edited 2 times in total.
|
|
|
|
|
|
|
|
|
-
Walder
- Tweeter

- Posts: 148
- Joined: Fri Jun 01, 2018 7:10 pm
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
- Spike

- Posts: 296
- Joined: Sat Dec 16, 2023 3:32 am
- Pronouns: he/him
Postby Just_Thomas » Thu Feb 08, 2024 7:30 am
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
- Spike

- Posts: 296
- Joined: Sat Dec 16, 2023 3:32 am
- Pronouns: he/him
Postby Just_Thomas » Thu Mar 14, 2024 9:13 am
While I still have the files, others can not download anymore.
"This content is no longer available."
|
|
|
|
|
Return to “LunaLua”
|