Improve this slow setplayerspeed
#8

Instead of checking for keys i would get velocity and than check if its BELOW that i want to be the fastest possible, if its is, just return/continue, if not than multiply with 0.75 or 0.8 (75 or 80% of current speed, that should slower the player)

One more way that comes to mind is scanning for keys and play RUN animations since you can set delta (animation speed). And by the way, dont touch Z velocity, just skip it, if player is falling down than it could "slower" his fall and jumping from top of the building and surviving will become possible...I guess you dont want that...
Reply


Messages In This Thread
Improve this slow setplayerspeed - by gmstrikker - 09.03.2016, 06:53
Re: Improve this slow setplayerspeed - by MicroKyrr - 09.03.2016, 09:07
Re: Improve this slow setplayerspeed - by Sew_Sumi - 09.03.2016, 09:43
Re: Improve this slow setplayerspeed - by MicroKyrr - 09.03.2016, 10:16
Re: Improve this slow setplayerspeed - by Vince - 09.03.2016, 10:35
Re: Improve this slow setplayerspeed - by NaS - 09.03.2016, 12:43
Re: Improve this slow setplayerspeed - by gmstrikker - 09.03.2016, 13:35
Re: Improve this slow setplayerspeed - by DRIFT_HUNTER - 09.03.2016, 14:07
Re: Improve this slow setplayerspeed - by Sew_Sumi - 09.03.2016, 14:14
Re: Improve this slow setplayerspeed - by pdonald - 15.03.2016, 19:28

Forum Jump:


Users browsing this thread: 1 Guest(s)