Logo

Moving diagonally an object in Stepmania 3.95

登録 ログイン フォーラム戻る

ポスト #1 · 2015-08-08 07:26:53amにポスト 8.7年前

Offline Gabrimax98
Gabrimax98 Avatar Member
16 ポスト
Not Set
Reg. 2014-08-30

Hey guys, I'm creating a theme for a local arcade near me, i wanted to animate an object.
I need to move it diagonally. Using this code:

<Layer
File="top"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;"
OnCommand="accelerate,2;addy,-300;accelerate,2;addx,-300"
OffCommand="%TitleMenuOut"
/>

It just moves it up, and then horizontally.
Is there a command that moves object diagonally? if not, is there a way to play addy and addx at the same time?
Thanks,
Gabrimax

ポスト #2 · 2015-08-09 01:36:17pmにポスト 8.7年前

Offline FlameyBoy
FlameyBoy Avatar Member
335 ポスト
United States
Reg. 2011-03-09

Delete the second "accelerate,2". Because you have two copies of that tween setting, StepMania breaks it into two separate tweens. If you don't have it there they will be in the same tween and happen simultaneously.
登録 ログイン フォーラム戻る

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2024-05-18 18:31:44
このページは0.004秒サーバータイム使用する。
Theme: starlight · Language: japanese
Reset Theme & Language