Gamestudio Links
Zorro Links
Newest Posts
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, VoroneTZ, 1 invisible), 1,578 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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 | chip programmers | 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