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
Marquis
Avatar
Elf of H & L
Topic author, Marquis
Marquis
Age: 21
Reputation: 55
Posts: 176
Joined: 14 Nov 2014
Location: China
Website

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

2019-07-02_11_01_12.gif


lightning.7z
(704 Bytes) Downloaded 14 times


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

Functions:

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)
Image
Image

Formerly known as Love Bodhi
Image

Check out my SMBX Projects - Fairy Tale Projects:
Mario in Wonderland 2
Mario in Wonderland Revolution

Follow on my Discord Server:
Image

Image

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

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest