Forums » Themes » Moving images diagonally in Stepmania 3.95

1
Hey guys, Gabrimax here.
I'm creating a theme for my local arcade, and i needed to move an object diagonally on "ScreenTitleMenu in".
i've used this command to make the animation:
Spoiler (click to view)
<Layer
File="top"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;"
OnCommand="accelerate,2;addy,-300;accelerate,2;addx,-300"
OffCommand="%TitleMenuOut"
/>


But in-game it plays in sequence the "addy" command and then the addx command, and i need them to work at the same time!
Is there a specific code to move objects diagonally? If not, is there a way to run these 2 codes at the same time?
Thanks,
Gabrimax
Reply
every time you write a tween command (accelerate, linear, decelerate, ...) it adds to the stack. all things that should happen at the same time need to be grouped together without any animation commands between them.

(p.s. Generally we don't support 3.95 since it's an entire decade old and barely anyone even remembers how it worked, but this system works the same way in SM5)
Reply