Commands:Sprite commands

From SMTheming Wiki

Jump to: navigation, search

X commands specify Y.

Z.

Shared commands

These commands are available in all StepMania versions since StepMania 3.9.

Command Arguments Example Effect
animate Bool animate,true Defines whether or not the Sprites should animate.
customtexturerect Float customtexturerect (0,0,4,3) Defines a custom texture rectangle.
loop Bool loop,true Defines whether or not the animation should loop.
pause None pause Pauses the animation.
play None play Plays an animation or sound, depending on where it's called from.
position Float position,45.23 Sets the position for a number of things (Models,Movies).
rate Float rate,1.1 Sets the position for a number of things (Models,Movies).
setstate Integer setstate,2 Sets the sprites frame to another.
texcoordvelocity Float texcoordvelocity,-1,0 Defines the velocity at which a texture should scroll itself.
texturewrapping Bool texturewrapping,true Defines whether or not the texture wraps.


Commands that affect tweening

These commands allow you to change how the tweening itself is done.

Command Arguments Example Effect
command Float Example Effect

StepMania 4.0 commands

These commands are only available in StepMania 4.0 builds.

Command Arguments Example Effect
command Float Example Effect
Personal tools