Animebryan wrote: ↑
Tue Sep 17, 2019 8:58 am
But I don't want to use the clock, I just want the NSMB powerups option & the visual effects like Snow, Sandstorms, Fog & Wind.
So... EasyLunalua is a crutch. One of the consequences of that and how it was made is that you can't just take some of it. The library tries to load stuff for the clock, so you gotta include stuff for the clock if you wanna use it.
That said, the "problems" solved by EasyLunaLua are consistently things that are very easily done without relying on the library.
NSMB powerups option:
local altpsystem = require("altpsystem")
altpsystem.usingSystem = altpsystem.SYSTEM_DS (other options are SYSTEM_WII and SYSTEM_SMW)
Using default particle systems:
local particles = require("particles
local snowParticles = particles.Emitter(0, 0, "particles/p_snow.ini
To adjust the particles' sections you just change when drawing happens. For example only "if player.section == 0 then"