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
0 registered members (), 18,561 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
How can i add speed by hitting space bar? #274255
06/26/09 09:59
06/26/09 09:59
Joined: Jun 2009
Posts: 17
Cebu Philippines
U
uone Offline OP
Newbie
uone  Offline OP
Newbie
U

Joined: Jun 2009
Posts: 17
Cebu Philippines

help please.....

I have a submarine entity that would move left to right and vice versa in a curve or arc direction, my problem is,
How can i add speed gradually until the speed limitation of submarine is met while hitting space bar faster and make the speed slower as i hit space bar gradually? also as i hit space bar the submarine will go up until it would met the clamp limitation I clamp the z coordinate for the submarine so that as the speed would go faster it would move in a curve or arc direction according to the set z coordinate limitation.


thanks

Re: How can i add speed by hitting space bar? [Re: uone] #274349
06/26/09 15:44
06/26/09 15:44
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Simply increase the "x" value more in the submarine while hitting Space. And use "clamp" to limit the speed.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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