Gamestudio Links
Zorro Links
Newest Posts
webGL
by Ice2642. 11/17/25 21:27
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (JeyKey II, SkinnyApe, TipmyPip, Quad), 7,531 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
SkinnyApe, tritom, sheliepaley, Blueguy, blobplayintennis
19179 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