Modifiers¶
Numbers that bend how a playfield is drawn, planned on the song's beats. They never change how notes are judged: you press at the same moment whatever the field looks like.
How to use it
Plan them on the song's beats with ease, set and add, change one right now with setMod, read one with mod(). Most are percent (100 = the full effect), some pixels (measured on a 1280 x 720 screen, whatever the window) or degrees.
Fields: 1 = yours, 0 = the opponent's (not drawn - a fight shows only yours), 2-7 = ones copyField() made. Leave the field out and a change goes to all of them.
Names are looked up without case. Coming from Psych or Kade? The guide's table says which of ours is theirs.
Example code¶
function onStart()
ease(16, 2, "cubicOut", 100, "sway") -- beat 16, over 2 beats
ease(16, 2, "cubicOut", 50, "hover")
set(24, 100, "downscroll1") -- lane 1 scrolls the other way from beat 24
ease(32, 4, "sineInOut", 0, "sway")
end
All modifiers¶
| Modifier | Default | Unit | Per lane | |
|---|---|---|---|---|
| x | 0 |
px | Moves the whole field right. | |
| y | 0 |
px | Moves the whole field down. | |
| z | 0 |
px | Moves the whole field toward the camera. | |
| zoom | 100 |
% | The field's size around its middle. | |
| shrink | 0 |
% | Makes the field smaller: 100 = half its size, -100 = one and a half. | |
| turnX | 0 |
° | Tips the field forward / back around its receptor row. | |
| turnY | 0 |
° | Turns the field left / right around its receptor row. | |
| turnZ | 0 |
° | Turns the field clockwise around its receptor row. | |
| spinX | 0 |
° | Like turnX, but around the middle of the screen. | |
| spinY | 0 |
° | Like turnY, but around the middle of the screen. | |
| spinZ | 0 |
° | Like turnZ, but around the middle of the screen. | |
| skewX | 0 |
% | Notes come in slanted: 100 = one pixel sideways for every pixel they travel. | |
| skewY | 0 |
% | The receptor row slants: 100 = one pixel down for every pixel to the right. | |
| fade | 0 |
% | Fades the whole field out: receptors, notes and holds. | |
| cam.x | 0 |
px | Moves the field's camera right. | |
| cam.y | 0 |
px | Moves the field's camera down. | |
| cam.z | 0 |
px | Moves the field's camera back. | |
| cam.rotX | 0 |
° | Tilts the field's camera up / down. | |
| cam.rotY | 0 |
° | Turns the field's camera left / right. | |
| cam.rotZ | 0 |
° | Rolls the field's camera. | |
| cam.fov | 45 |
° | The camera's lens. | |
| slideX | 0 |
px | yes | Moves lanes right. |
| slideY | 0 |
px | yes | Moves lanes down. |
| slideZ | 0 |
px | yes | Moves lanes toward the camera. |
| flipSides | 0 |
% | Mirrors the lanes left-right. | |
| swapPairs | 0 |
% | Swaps neighbouring lanes. | |
| pinch | 0 |
% | yes | Pulls the lanes together. |
| pinchZ | 0 |
% | yes | Bends the row into depth: the outer lanes go back. |
| downscroll | 0 |
% | yes | Flips the scroll direction. |
| fold | 0 |
% | Folds the row like a book: the outer lanes turn back into depth. | |
| speed | 100 |
% | The field's scroll speed. | |
| freeze | 0 |
% | The notes stop where they were when it started. | |
| speedUp | 0 |
% | yes | Notes speed up as they come close. |
| slowDown | 0 |
% | yes | Notes slow down as they come close. |
| speedWave | 0 |
% | yes | Notes speed up and slow down as they travel. |
| sway | 0 |
% | yes | Lanes sway left and right in a wave along the way in. |
| sway.speed | 0 |
% | How fast sway moves. | |
| sway.period | 0 |
% | How tight sway's waves are along the way. | |
| hover | 0 |
% | yes | Lanes bob up and down, each on its own. |
| hover.speed | 0 |
% | How fast hover bobs. | |
| bulge | 0 |
% | yes | Notes bump toward the camera and back as they travel. |
| bulge.period | 0 |
% | How close bulge's bumps are. | |
| twister | 0 |
% | yes | Notes weave across the neighbouring lanes on the way in. |
| kick | 0 |
% | yes | The lanes kick sideways on every beat, in a wave along the way in. |
| bendX | 0 |
% | yes | The way in curves sideways, more the further out. |
| bendZ | 0 |
% | yes | The way in curves toward the camera, more the further out. |
| joltX | 0 |
% | yes | The lanes jolt left / right, a new direction every period, easing back. |
| joltY | 0 |
% | yes | Like joltX, up / down. |
| jolt.period | 100 |
% | How often jolt changes direction: 100 = every beat, 50 = every half beat. | |
| bobX | 0 |
% | yes | The lanes sway left / right over time. |
| bobY | 0 |
% | yes | Like bobX, up / down. |
| bob.speed | 0 |
% | How fast bob sways. | |
| ripple | 0 |
px | Everything shifts sideways in a wave running down the screen. | |
| ripple.freq | 100 |
% | How many waves ripple has down the screen. | |
| ripple.speed | 100 |
% | How fast ripple's waves run. | |
| faceX | 0 |
° | yes | Turns the arrows. |
| faceY | 0 |
° | yes | Turns the arrows around their own y axis. |
| faceZ | 0 |
° | yes | Turns the arrows in place, clockwise. |
| twirl | 0 |
% | yes | The arrows spin all the time. |
| tumble | 0 |
% | yes | Notes spin as they travel. |
| shrinkArrows | 0 |
% | yes | Arrows smaller. |
| swell | 0 |
% | yes | Notes grow as they come close. |
| breathe | 0 |
% | yes | Notes pulse bigger and smaller as they travel. |
| fadeStrums | 0 |
% | yes | Fades the receptors. |
| fadeNotes | 0 |
% | yes | Fades the notes and holds. |
| vanish | 0 |
% | yes | Fades the notes and holds too - a second one, to plan apart from fadeNotes. |
| hideFlash | 0 |
% | Hides the receptors' flash when you hit. | |
| ghost | 0 |
% | yes | Notes turn see-through. |
| shade | 0 |
% | yes | Darkens receptors and notes. |
| hideNear | 0 |
% | Notes fade out as they come close. | |
| hideNear.offset | 0 |
px | Moves hideNear's line. | |
| hideNear.fade | 120 |
px | How long hideNear's fade is. | |
| hideFar | 0 |
% | Notes appear late: hidden until 400 px before the receptor. | |
| hideFar.offset | 0 |
px | Moves hideFar's line. | |
| hideFar.fade | 120 |
px | How long hideFar's fade is. | |
| drawAhead | 0 |
px | How far out notes are drawn. | |
| drawAhead.fade | 0 |
px | Notes fade in over this many pixels at drawAhead's end. | |
| drawBehind | 0 |
px | How far past the receptor notes are still drawn. |
Field¶
Where the whole field is, how big, how it's turned. Turning goes around the receptor row's middle; spin around the screen's.
x¶
pixels "x" = 0
Moves the whole field right (pixels).
y¶
pixels "y" = 0
Moves the whole field down (pixels).
z¶
pixels "z" = 0
Moves the whole field toward the camera (pixels) - it gets bigger.
zoom¶
percent "zoom" = 100
The field's size around its middle (100 = normal, 200 = twice as big).
shrink¶
percent "shrink" = 0
Makes the field smaller: 100 = half its size, -100 = one and a half.
turnX¶
degrees "turnX" = 0
Tips the field forward / back around its receptor row (3D).
turnY¶
degrees "turnY" = 0
Turns the field left / right around its receptor row (3D).
turnZ¶
degrees "turnZ" = 0
Turns the field clockwise around its receptor row.
spinX¶
degrees "spinX" = 0
Like turnX, but around the middle of the screen.
spinY¶
degrees "spinY" = 0
Like turnY, but around the middle of the screen.
spinZ¶
degrees "spinZ" = 0
Like turnZ, but around the middle of the screen.
skewX¶
percent "skewX" = 0
Notes come in slanted: 100 = one pixel sideways for every pixel they travel.
skewY¶
percent "skewY" = 0
The receptor row slants: 100 = one pixel down for every pixel to the right.
fade¶
percent "fade" = 0
Fades the whole field out: receptors, notes and holds (100 = gone).
Camera¶
Every field is seen through its own camera (with no field given, they all move together). It looks at the screen from the front - cam.z moves it back, cam.fov makes the 3D stronger or flatter.
cam.x¶
pixels "cam.x" = 0
Moves the field's camera right (pixels) - the field moves left.
cam.y¶
pixels "cam.y" = 0
Moves the field's camera down (pixels).
cam.z¶
pixels "cam.z" = 0
Moves the field's camera back (pixels) - the field gets smaller.
cam.rotX¶
degrees "cam.rotX" = 0
Tilts the field's camera up / down.
cam.rotY¶
degrees "cam.rotY" = 0
Turns the field's camera left / right.
cam.rotZ¶
degrees "cam.rotZ" = 0
Rolls the field's camera.
cam.fov¶
degrees "cam.fov" = 45
The camera's lens (degrees, 45 = normal): wider = stronger 3D.
Lanes¶
Where each lane is. Per-lane modifiers have a form for one lane: slideX2 moves only lane 2, on top of slideX.
slideX¶
pixels "slideX" · "slideX0" … "slideX3" = 0
Moves lanes right (pixels): slideX = all, slideX0..slideX3 = one lane.
slideY¶
pixels "slideY" · "slideY0" … "slideY3" = 0
Moves lanes down (pixels).
slideZ¶
pixels "slideZ" · "slideZ0" … "slideZ3" = 0
Moves lanes toward the camera (pixels).
flipSides¶
percent "flipSides" = 0
Mirrors the lanes left-right (100 = right lane on the left, 50 = all in the middle).
swapPairs¶
percent "swapPairs" = 0
Swaps neighbouring lanes (left with down, up with right).
pinch¶
percent "pinch" · "pinch0" … "pinch3" = 0
Pulls the lanes together (100 = all in the middle, -100 = twice as far apart).
pinchZ¶
percent "pinchZ" · "pinchZ0" … "pinchZ3" = 0
Bends the row into depth: the outer lanes go back (100 = as far back as they are from the middle; minus = toward the camera).
downscroll¶
percent "downscroll" · "downscroll0" … "downscroll3" = 0
Flips the scroll direction (100 = up- becomes downscroll; 50 = receptors in the middle).
fold¶
percent "fold" = 0
Folds the row like a book: the outer lanes turn back into depth (100 = a quarter turn).
Travel¶
How the notes come in. Only the drawing - when you have to press stays exactly the same.
speed¶
percent "speed" = 100
The field's scroll speed (100 = the song's, 200 = notes come twice as fast). Only how they're drawn.
freeze¶
percent "freeze" = 0
The notes stop where they were when it started (100); going back to 0 they catch up.
speedUp¶
percent "speedUp" · "speedUp0" … "speedUp3" = 0
Notes speed up as they come close.
slowDown¶
percent "slowDown" · "slowDown0" … "slowDown3" = 0
Notes slow down as they come close.
speedWave¶
percent "speedWave" · "speedWave0" … "speedWave3" = 0
Notes speed up and slow down as they travel.
Paths¶
The notes' way in bends, sways and kicks. Mostly percent: 100 = the full effect.
sway¶
percent "sway" · "sway0" … "sway3" = 0
Lanes sway left and right in a wave along the way in (100 = half a lane).
sway.speed¶
percent "sway.speed" = 0
How fast sway moves (0 = normal, 100 = twice as fast).
sway.period¶
percent "sway.period" = 0
How tight sway's waves are along the way (0 = normal, 100 = twice as many).
hover¶
percent "hover" · "hover0" … "hover3" = 0
Lanes bob up and down, each on its own (100 = 0.4 lanes).
hover.speed¶
percent "hover.speed" = 0
How fast hover bobs (0 = normal).
bulge¶
percent "bulge" · "bulge0" … "bulge3" = 0
Notes bump toward the camera and back as they travel (3D).
bulge.period¶
percent "bulge.period" = 0
How close bulge's bumps are (0 = normal).
twister¶
percent "twister" · "twister0" … "twister3" = 0
Notes weave across the neighbouring lanes on the way in.
kick¶
percent "kick" · "kick0" … "kick3" = 0
The lanes kick sideways on every beat, in a wave along the way in.
bendX¶
percent "bendX" · "bendX0" … "bendX3" = 0
The way in curves sideways, more the further out (100 = 160 px at 480 px out).
bendZ¶
percent "bendZ" · "bendZ0" … "bendZ3" = 0
The way in curves toward the camera, more the further out.
joltX¶
percent "joltX" · "joltX0" … "joltX3" = 0
The lanes jolt left / right, a new direction every period, easing back (100 = half a lane).
joltY¶
percent "joltY" · "joltY0" … "joltY3" = 0
Like joltX, up / down.
jolt.period¶
percent "jolt.period" = 100
How often jolt changes direction: 100 = every beat, 50 = every half beat.
bobX¶
percent "bobX" · "bobX0" … "bobX3" = 0
The lanes sway left / right over time (100 = one lane).
bobY¶
percent "bobY" · "bobY0" … "bobY3" = 0
Like bobX, up / down.
bob.speed¶
percent "bob.speed" = 0
How fast bob sways (0 = once per two beats, 100 = twice as fast).
ripple¶
pixels "ripple" = 0
Everything shifts sideways in a wave running down the screen (pixels).
ripple.freq¶
percent "ripple.freq" = 100
How many waves ripple has down the screen (100 = two).
ripple.speed¶
percent "ripple.speed" = 100
How fast ripple's waves run (100 = one a second).
Arrows¶
The receptors and notes themselves: turned, spun, bigger or smaller.
faceX¶
degrees "faceX" · "faceX0" … "faceX3" = 0
Turns the arrows (receptors and notes) around their own x axis (3D flip).
faceY¶
degrees "faceY" · "faceY0" … "faceY3" = 0
Turns the arrows around their own y axis (3D flip).
faceZ¶
degrees "faceZ" · "faceZ0" … "faceZ3" = 0
Turns the arrows in place, clockwise.
twirl¶
percent "twirl" · "twirl0" … "twirl3" = 0
The arrows spin all the time (100 = one turn every beat).
tumble¶
percent "tumble" · "tumble0" … "tumble3" = 0
Notes spin as they travel (100 = one turn per 360 px).
shrinkArrows¶
percent "shrinkArrows" · "shrinkArrows0" … "shrinkArrows3" = 0
Arrows smaller (100 = half, -100 = twice as big) - the lanes stay where they are.
swell¶
percent "swell" · "swell0" … "swell3" = 0
Notes grow as they come close (100 = twice as big at the receptor).
breathe¶
percent "breathe" · "breathe0" … "breathe3" = 0
Notes pulse bigger and smaller as they travel.
Visibility¶
What you see of the notes and receptors.
fadeStrums¶
percent "fadeStrums" · "fadeStrums0" … "fadeStrums3" = 0
Fades the receptors (100 = gone; notes stay).
fadeNotes¶
percent "fadeNotes" · "fadeNotes0" … "fadeNotes3" = 0
Fades the notes and holds (100 = gone; receptors stay).
vanish¶
percent "vanish" · "vanish0" … "vanish3" = 0
Fades the notes and holds too - a second one, to plan apart from fadeNotes.
hideFlash¶
percent "hideFlash" = 0
Hides the receptors' flash when you hit.
ghost¶
percent "ghost" · "ghost0" … "ghost3" = 0
Notes turn see-through (100 = 40 % there).
shade¶
percent "shade" · "shade0" … "shade3" = 0
Darkens receptors and notes (100 = black).
hideNear¶
percent "hideNear" = 0
Notes fade out as they come close (gone from 200 px before the receptor).
hideNear.offset¶
pixels "hideNear.offset" = 0
Moves hideNear's line (pixels further out).
hideNear.fade¶
pixels "hideNear.fade" = 120
How long hideNear's fade is (pixels).
hideFar¶
percent "hideFar" = 0
Notes appear late: hidden until 400 px before the receptor.
hideFar.offset¶
pixels "hideFar.offset" = 0
Moves hideFar's line (pixels further out).
hideFar.fade¶
pixels "hideFar.fade" = 120
How long hideFar's fade is (pixels).
drawAhead¶
pixels "drawAhead" = 0
How far out notes are drawn (pixels; 0 = to the edge of the screen).
drawAhead.fade¶
pixels "drawAhead.fade" = 0
Notes fade in over this many pixels at drawAhead's end.
drawBehind¶
pixels "drawBehind" = 0
How far past the receptor notes are still drawn (pixels; 0 = until they're missed).