Skip to content

Mirin Template Reference

XeroOl edited this page May 6, 2022 · 14 revisions

If you see anything that is incomplete or could be improved, feel free to click the Green Edit button above and make any changes you'd like.

You are welcome to make changes.

Changes you make here will automatically update the doc website and tooling. (not implemented yet)

ease

ease {beat, len, ease_fn, [percent, mod]+, ?plr=, ?mode=, ?time=}

Eases a mod to a specific value.

The animation lasts len beats, and animates using the selected ease_fn.

If time=true is set, then the first argument will be interpreted in seconds instead of beats. If mode=true is set, then the second argument will be interpreted as an absolute timestamp instead of a duration. If plr= is set to a number, the ease will only affect the specified player. If it is set to a table of numbers, the ease will only affect the specified players.

add

set

acc

reset

func

perframe

func_ease

alias

setdefault

aux

node

definemod

get_plr

touch_mod

touch_all_mods

sprite

aft

setupJudgeProxy

backToSongWheel

max_pn

scx

The x coordinate of the center of the screen, measured in game units.

@see SCREEN_CENTER_X

scy

The y coordinate of the center of the screen, measured in game units.

@see SCREEN_CENTER_Y

sw

The width of the screen, measured in game units.

@see SCREEN_WIDTH

sh

The height of the screen, measured in game units.

@see SCREEN_HEIGHT

dw

The width of the screen, measured in actual display pixels

dh

The height of the screen, measured in actual display pixels

e

e="end"

It's obsolete and probably should be removed. (#73)

================== UNDOCUMENTED THINGS =================

mod_buffer

aftsprite

xero

Clone this wiki locally