FakeBlocks.lua (Successor to NSMBWalls.lua)
Posted: Mon Mar 14, 2022 9:52 pm
FakeBlocks
Hello, friends! You probably remember that old library I made a few years ago for fake walls that was called NSMBWalls. A lot has changed in SMBX since then, and it's time that code got an upgrade. Introducing FakeBlocks! This library looks better than the original, and it's easier to use, too.
In case you are not familiar with NSMBWalls, what this library does is, it adds the fake block effect from NSMBWii.
Demo:
https://imgur.com/6DQp45f
Features:
Configuration Options:
NSMBWalls Compatibility:
Fixes for Common Issues:
Download
Note that this library will not work properly in sections that have darkness with shadow casting enabled. This would require altering the block mask drawing code. However, it should work just fine if you use darkness without shadow casting. If any new features are added to smbx2 in the future that use the block mask, this library probably won't be compatible with them, either.
Let me know if you encounter any issues or have any questions!
Hello, friends! You probably remember that old library I made a few years ago for fake walls that was called NSMBWalls. A lot has changed in SMBX since then, and it's time that code got an upgrade. Introducing FakeBlocks! This library looks better than the original, and it's easier to use, too.
In case you are not familiar with NSMBWalls, what this library does is, it adds the fake block effect from NSMBWii.
Demo:
https://imgur.com/6DQp45f
Features:
- Looks more like the effect in New Super Mario Bros. Wii, complete with soft edges and a block silhouette effect.
- Has an improved system for placing blocks, with proper support for moving or hidden layers.
- Works with SMBX2's caustics effect, unlike the original.
- Configurable!
- Works properly with any number of players.
- Easy to set up in any old levels that use NSMBWalls.
Spoiler: show
Spoiler: show
Spoiler: show
Spoiler: show
Note that this library will not work properly in sections that have darkness with shadow casting enabled. This would require altering the block mask drawing code. However, it should work just fine if you use darkness without shadow casting. If any new features are added to smbx2 in the future that use the block mask, this library probably won't be compatible with them, either.
Let me know if you encounter any issues or have any questions!