Update 'Ease | Getting Started'

jill 2021-03-05 15:30:06 +00:00
parent 37b14c30d2
commit be17f1ce1a

@ -50,7 +50,7 @@ The `onoff` function will now use the length of `2` and the `inOutExpo` ease for
### Example usages
`onoff` is one of the more simpler mod functions out there. Here are a few more examples you can use to replace more complicated bits of code:
`onoff` is one of the more simpler mod functions out there. Here are a few more examples you can use to replace more complicated bits of code, and to give more of an example on how Mirinda functions:
```lua
-- Standard Mirin
@ -70,6 +70,8 @@ forl(0, 16, 2):kick(1, 'glitch2'):setl(2):wiggle('tipsy')
`kick` sets the value to the percentage given at the beat, then eases it to 0. It creates a kind of "kick" effect, and works really well with glitchy shaders or mods for more aggressive songs.
The way the chaining is done in here is also potentially interesting: you'd think that the `kick` function's length would also be `2`, but in reality it's `1` because `setl` is applied *after* `kick`. Chaining in Mirinda follows this same pattern for any `beatobj` manipulating function: **changes to the object only apply after the function**.
```lua
-- Standard Mirin
local notedata = P1:GetNoteData(135, 138.5)