lightning.lua: Thunder Effect

Description: Sub-forum dedicated to SMBX2 - a community-made extension mod over SMBX with using of LunaLua.
Moderators: Semi-moderatos, Moderators

Elf of H & L
Topic author, Marquis
Elf of H & L
Topic author, Marquis
Age: 21
Reputation: 58
Posts: 188
Joined: 14 Nov 2014
Location: China

Post #1by Elf of H & L » 2 Jul 2019, 6:05


(704 Bytes) Downloaded 46 times

Put local lightning = require("lightning") to load the Lib


lightning.mindelay = Mininum Delay for lightning effect. Default: 32
lightning.maxdelay = Maxinum Delay for lightning effect. Default: 324
lightning.priority = Priority of the lighting effect. Default: -99.9
lightning.speed = Fading speed of the lighting effect, the lower number, the fast speed. Default: 40
lightning.section = Section for lightning effect. Default: {0,1,2,...,20}
(Sorry for my bad English.I'm Chinese)

Formerly known as Love Bodhi
Check out my SMBX Projects - Fairy Tale Projects:
Mario in Wonderland 2
Mario in Wonderland Revolution

Follow on my Discord Server:


I can't use Discord on my location anymore, sorry for inconvenience.

I'm working a soundfont which is called The Multi-Elemental Soundfont.
This time is SC-8850 Compatible.
G4, G15, G60, G65, G92, no replacements exist at all......

I'm using setBfree to create organs, as well as ZynSubAddFX, Dexed and Surge to create instruments that other than non-FM organs.

Return to “Super Mario Bros. X2 (SMBX2)”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest