Skip to content

underlay

The dark strip behind your lanes. Light it up on the beat, colour it, widen it, or get rid of it completely for a cleaner look.

How to use it

Always there. It follows strums.x - underlay.x comes on top. Pictures and texts on the "back" layer are drawn under it, on "lanes" over it.

Example code

-- No strip in this song - the stage art shows through.
function onStart()
    underlay.alpha = 0
end

Properties

Property Kind Default
underlay.alpha number 0.65 Its opacity: 0 = gone, 1 = solid. 0.65 = the usual dark strip.
underlay.color colour #000000 Its colour.
underlay.x number 0 Moved to the right in pixels, on top of strums.x.
underlay.width number 1 Its width: 1 = the four lanes plus a margin, 2 = twice as wide.

underlay.alpha

number underlay.alpha = 0.65

0 – 1share of the screen

Its opacity: 0 = gone, 1 = solid. 0.65 = the usual dark strip.

underlay.color

colour underlay.color = #000000

Its colour.

underlay.x

number underlay.x = 0

Moved to the right in pixels, on top of strums.x.

underlay.width

number underlay.width = 1

Its width: 1 = the four lanes plus a margin, 2 = twice as wide.