Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
movement and time #183156
02/10/08 14:58
02/10/08 14:58
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
it's strange, i haven't ever done it before.
If a want to create an action that in the first 30 seconds move the object along his x and in the after 20 along z and x, and then in the after 30 seconds roteate etc etc.
How can i do?
create a while like
while(1){
c++;}
while c < 100 move
while c > 100 && < 220 roteate

But it havent the right time.


~Vision Divine~
Re: movement and time [Re: Sonic220] #183157
02/10/08 15:23
02/10/08 15:23
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
var t = 0;
while (t < 30)
{
move along x;
t += time_step * 16;
wait(1);
}

while (t < 50)
{
move along z,x;
t += time_step * 16;
wait(1);
}

while (t < 80)
{
rotate;
t += time_step * 16;
wait(1);
}

Hope you get the idea...


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1