Page 1 of 4

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

Posted: Mon Mar 06, 2017 6:20 pm
by Sambo
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

Re: NSMBWalls.lua - Fake Walls!

Posted: Tue Mar 07, 2017 12:07 am
by MacDuckBeat
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!

Re: NSMBWalls.lua - Fake Walls!

Posted: Tue Mar 07, 2017 12:42 am
by underFlo
Oh man this looks really clean I love it

Re: NSMBWalls.lua - Fake Walls!

Posted: Tue Mar 07, 2017 1:43 am
by MECHDRAGON777
This is great for a lot of things (Including Metroid episodes)

Re: NSMBWalls.lua - Fake Walls!

Posted: Tue Mar 07, 2017 11:10 am
by Benial
Finally, someone made this!
Definitely going in my episode, one way or another. Hope this gets into 2.0

Re: NSMBWalls.lua - Fake Walls!

Posted: Tue Mar 07, 2017 3:54 pm
by CynicHost
Great job on this! Definitely opens up a lot of possibilities for level design

Re: NSMBWalls.lua - Fake Walls!

Posted: Tue Mar 07, 2017 8:58 pm
by Sambo
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.

Re: NSMBWalls.lua - Fake Walls!

Posted: Thu Mar 09, 2017 9:02 pm
by CraftedPbody
This is extremely useful for my Yoshi's Island themed episode! thank you!

Re: NSMBWalls.lua - Fake Walls!

Posted: Sat Mar 18, 2017 12:03 am
by MECHDRAGON777
You left debug code in lines 176 and 177. To badd this does not work with animated blocks.

Re: NSMBWalls.lua - Fake Walls!

Posted: Sat Mar 18, 2017 12:44 am
by loop
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.

Re: NSMBWalls.lua - Fake Walls!

Posted: Sat Mar 18, 2017 12:56 am
by MECHDRAGON777
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.

Re: NSMBWalls.lua - Fake Walls!

Posted: Sat Mar 18, 2017 2:41 pm
by Sambo
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?

Re: NSMBWalls.lua - Fake Walls!

Posted: Sat Mar 18, 2017 3:23 pm
by Hoeloe
Is this at all configurable? What can someone do if they want to use moving walls of this kind?

Re: NSMBWalls.lua - Fake Walls!

Posted: Sat Mar 18, 2017 4:21 pm
by Sambo
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.

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

Posted: Sun Mar 19, 2017 10:46 am
by timocomsmbx2345
That is impressive. I was waiting for something like this so i can use it in my levels (i'll do credit if needed).

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

Posted: Sun Mar 19, 2017 11:24 am
by PersonNamedUser
The Link's broken.

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

Posted: Mon Mar 20, 2017 4:48 pm
by Sambo
MosaicMario wrote:The Link's broken.
It broke in one day? Wow.

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

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

Posted: Tue Mar 21, 2017 12:55 am
by MacDuckBeat
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

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

Posted: Tue Mar 21, 2017 10:31 am
by Sambo
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.

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

Posted: Fri Apr 07, 2017 10:22 am
by PlumberGraduate
Awesome! But I don't have the imagic.lua and I can't find a download for it...