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
1 registered members (TipmyPip), 18,633 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
Freefall #127617
05/01/07 23:14
05/01/07 23:14
Joined: Dec 2006
Posts: 34
C
Camelmiester Offline OP
Newbie
Camelmiester  Offline OP
Newbie
C

Joined: Dec 2006
Posts: 34
How could I make a parachute like effect where the player is constantly falling until he hits (or approaches) ground, but also have the player to be able to control movement left right backwards and forwards?

Re: Freefall [Re: Camelmiester] #127618
05/02/07 03:33
05/02/07 03:33
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
What you need to do are these steps to your player falling code :-

1).reduce gravity var to slow down falling
2).don't accept jump inputs in your code
3).left,right,forward,back keys can remain the same as movement on ground

That should do it !

Re: Freefall [Re: zazang] #127619
05/02/07 11:59
05/02/07 11:59
Joined: Dec 2006
Posts: 34
C
Camelmiester Offline OP
Newbie
Camelmiester  Offline OP
Newbie
C

Joined: Dec 2006
Posts: 34
i'll try it and let you know if it works, thanks.


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