flashingLights.lua - For all of your obligatory escape sequences

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

Moderator: Userbase Moderators

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 116
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

flashingLights.lua - For all of your obligatory escape sequences

Postby John Nameless » Thu Aug 24, 2023 9:56 pm


Hello again!
Here's a relatively simple library that makes the screen slowly flashes red!
It even has the option to add wavy background if you please to do so!

Here's the possible configs you can do with this:
POSSIBLE CONFIGS: show
- blinkers.image - What image will be used for flashing
- blinkers.enabled - if you still want the library to keep flashing (true by default)
- blinkers.blinkingIncrement - speed of how much opactity will be added/removed for the "flashOpacity" variable (0.05 by default)
- blinkers.blinkingCap - cap for how much opacity can be reached (0.25 by default)
- blinkers.flashPriority - priority where the flashing lights will be drawn (1 by default)

- blinkers.waveToggle - if you even want a wavy background with the screenflash in the first place. (false by default)
- blinkers.wavePriority - priority where the screen-wave will be drawn (-99 by default)
- blinkers.waveSpeedMultiplier - speed multiplier for how fast the screen waves (0.25 by default)
- blinkers.waveIntensity - how intensely will the waves move back & forth (2 by default)
- blinkers.waveStrength - how strong/how many waves will be on-screen (8 by default)


Image

DOWNLOAD: https://drive.google.com/file/d/1O650x- ... sp=sharing


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari