NSMBWalls.lua [DEPRECATED -- Use FakeWalls.lua instead]

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

NSMBWalls.lua [DEPRECATED -- Use FakeWalls.lua instead]

Postby Sambo » Mon Mar 06, 2017 6:20 pm

Get FakeWalls.lua here.

Instructions for replacing this library with the new one are included in that post.

Original post:
Spoiler: show
Beta 4 Fix
I have just created a fixed version of this library! Lot's of people have been asking about how to get it to work, so I figured I'd update it since hacheipe found a fix that only takes five minutes to do. This update implements their fix. Credit to them for figuring it out. It also directly uses the images SMBX loads into memory instead of loading copies from the level folder. So, dummy block images will no longer be rendered, ever, and the folder that used to come with the library is no longer included. The ugly seams that appear in the effect render have also been fixed.

It is recommended that you use this in Beta 4, but it should still work on older betas and preview builds.

Video:

Do not do any of the dirty tricks shown in this video unless you want the people who play your levels to hate you.

Download:
https://www.dropbox.com/s/nqahoky8fip5q ... s.lua?dl=1

Documentation (Updated for this release):
http://wohlsoft.ru/pgewiki/Nsmbwalls
Last edited by Sambo on Mon Mar 14, 2022 9:56 pm, edited 8 times in total.

MacDuckBeat
Panser
Panser
Posts: 1055
Joined: Fri Oct 07, 2016 8:09 am
Flair: Neon and edgy artist hehe
Pronouns: he/him
Contact:

Re: NSMBWalls.lua - Fake Walls!

Postby MacDuckBeat » Tue Mar 07, 2017 12:07 am

This is what I wanna see instead of making a limitation of events and layers. And for now someone have a LunaLua ways to create fake wall, geez great job dude!

underFlo
Reznor
Reznor
Posts: 4456
Joined: Mon Jul 14, 2014 10:44 am
Flair: sup im lesbiab
Pronouns: They/She
Contact:

Re: NSMBWalls.lua - Fake Walls!

Postby underFlo » Tue Mar 07, 2017 12:42 am

Oh man this looks really clean I love it

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: NSMBWalls.lua - Fake Walls!

Postby MECHDRAGON777 » Tue Mar 07, 2017 1:43 am

This is great for a lot of things (Including Metroid episodes)

Benial
Swooper
Swooper
Posts: 50
Joined: Thu Dec 15, 2016 4:28 pm
Flair: It's!
Pronouns: He/Him

Re: NSMBWalls.lua - Fake Walls!

Postby Benial » Tue Mar 07, 2017 11:10 am

Finally, someone made this!
Definitely going in my episode, one way or another. Hope this gets into 2.0

CynicHost
Level Reviewer
Level Reviewer
Posts: 455
Joined: Fri Dec 25, 2015 9:28 am
Flair: heck

Re: NSMBWalls.lua - Fake Walls!

Postby CynicHost » Tue Mar 07, 2017 3:54 pm

Great job on this! Definitely opens up a lot of possibilities for level design
Last edited by CynicHost on Tue Mar 07, 2017 10:10 pm, edited 1 time in total.

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

Re: NSMBWalls.lua - Fake Walls!

Postby Sambo » Tue Mar 07, 2017 8:58 pm

Thanks, guys. I hope you enjoy it. Just don't make un-findable secrets, OK?

Anyway, this probably will be in 2.0 because it's pretty easy to install (and fairly simple to use). Also, I'm a 2.0 developer on Discodehaus now.

CraftedPbody
Snifit
Snifit
Posts: 224
Joined: Mon Aug 11, 2014 9:26 am

Re: NSMBWalls.lua - Fake Walls!

Postby CraftedPbody » Thu Mar 09, 2017 9:02 pm

This is extremely useful for my Yoshi's Island themed episode! thank you!

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: NSMBWalls.lua - Fake Walls!

Postby MECHDRAGON777 » Sat Mar 18, 2017 12:03 am

You left debug code in lines 176 and 177. To badd this does not work with animated blocks.

loop
Ninji
Ninji
Posts: 984
Joined: Sun Apr 17, 2016 5:56 pm
Flair: i may be dumb but im not stupid!
Pronouns: he/him/they

Re: NSMBWalls.lua - Fake Walls!

Postby loop » Sat Mar 18, 2017 12:44 am

I have a question. Can you add a test level? I really want to use this, but I don't know what to do. Thanks in advance.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: NSMBWalls.lua - Fake Walls!

Postby MECHDRAGON777 » Sat Mar 18, 2017 12:56 am

Jayce 777 wrote:I have a question. Can you add a test level? I really want to use this, but I don't know what to do. Thanks in advance.
Make a new layer called:

Code: Select all

nsmbwalls
In the default layer, place the blocks that you want to interact with. Then, places the blocks you want to be fack in the layer "nsmbwalls" and cover what you want to be hidden. Cut and paste it over that spot, and make sure it is hidden. Also, all blocks have to be .pngs and you would need to fix the two debug lines in the lua file.

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

Re: NSMBWalls.lua - Fake Walls!

Postby Sambo » Sat Mar 18, 2017 2:41 pm

I just removed the debug code.
Link updated.
The updated link doesn't have the right stuff in it. I have no idea what happened, but the version that I originally uploaded has disappeared from my PC. Could someone send me a copy they downloaded before today?
Last edited by Sambo on Sat Mar 18, 2017 4:32 pm, edited 2 times in total.

Hoeloe
Foo
Foo
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: NSMBWalls.lua - Fake Walls!

Postby Hoeloe » Sat Mar 18, 2017 3:23 pm

Is this at all configurable? What can someone do if they want to use moving walls of this kind?

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

Re: NSMBWalls.lua - Fake Walls!

Postby Sambo » Sat Mar 18, 2017 4:21 pm

There currently isn't support for moving layers. I plan to add that later.

I fixed the link. I had previously uploaded the wrong version due to some weird screw-up in my folder organization. That's why there was debug stuff running. I would strongly recommend that anyone who downloaded this before today redownloads it now, as the new upload contains important optimizations that will improve performance dramatically.

timocomsmbx2345
Nipper
Nipper
Posts: 852
Joined: Sat Feb 06, 2016 1:44 pm
Contact:

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE)

Postby timocomsmbx2345 » Sun Mar 19, 2017 10:46 am

That is impressive. I was waiting for something like this so i can use it in my levels (i'll do credit if needed).

PersonNamedUser
Birdo
Birdo
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE)

Postby PersonNamedUser » Sun Mar 19, 2017 11:24 am

The Link's broken.

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE)

Postby Sambo » Mon Mar 20, 2017 4:48 pm

MosaicMario wrote:The Link's broken.
It broke in one day? Wow.

Fixed. If this keeps happening, I may have to stop using Dropbox.

MacDuckBeat
Panser
Panser
Posts: 1055
Joined: Fri Oct 07, 2016 8:09 am
Flair: Neon and edgy artist hehe
Pronouns: he/him
Contact:

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE) - link fixed

Postby MacDuckBeat » Tue Mar 21, 2017 12:55 am

Sure Dropbox's download link may be sucks, here's the download link Mediafire version. Disclaimer that I DID NOT own the file.
http://www.mediafire.com/file/2k9cb0naa ... bwalls.zip

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE) - link fixed

Postby Sambo » Tue Mar 21, 2017 10:31 am

Dropbox recently removed their Public folder's functionality. Maybe, when they made the change, it broke all the links that had been made before then.

EDIT: Added the mediafire link to the OP as a mirror.

PlumberGraduate
Rex
Rex
Posts: 38
Joined: Sat Jun 14, 2014 11:39 am

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE) - link fixed

Postby PlumberGraduate » Fri Apr 07, 2017 10:22 am

Awesome! But I don't have the imagic.lua and I can't find a download for it...


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari