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
3 registered members (AndrewAMD, TipmyPip, OptimusPrime), 15,229 guests, and 7 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
Page 2 of 2 1 2
Re: Learning gamestudio A7 [Re: Panda_Dude] #365628
03/27/11 23:46
03/27/11 23:46
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Did you move the wait(1); instruction inside of the braces like Jibb said? It should look like this:
Code:
action car()
{
	car1 = me;
	while (1)
	{
		if (key_a)
			my.pan -= 3 * time_step;
		if (key_d)
			my.pan += 3 * time_step;
		if (key_w)
			c_move(car1,vector(5 * time_step,0,0),nullvector,GLIDE);
		if (key_s)
			c_move(car1,vector(5 * time_step,0,0),nullvector,GLIDE);
		wait (1);
	}
}


If the car still won't move after doing this, make sure the car is not stuck in the floor. Also, make sure to compile your level again after you assign the action to the car.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Learning gamestudio A7 [Re: Redeemer] #365640
03/28/11 05:02
03/28/11 05:02
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
that's probably it. Thanks for the help wink

Page 2 of 2 1 2

Moderated by  HeelX 

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