Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sparky's sliding demo speed

Author
Message
dajack05
16
Years of Service
User Offline
Joined: 3rd Feb 2008
Location:
Posted: 20th Apr 2009 23:57
hey I am using sparky's sliding demo as a base for a game. but I had to scale everything up. Now the player moves really slowly. How do you change the speed?. I have been trying to figure and havn't been able too

thx

Dajack05

Happy snoodle day
ThatOther Person
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location:
Posted: 21st Apr 2009 09:04
replace



with



or in place of five put whatever else you would like the speed to be multiplied by. That will only change your movement speed though not you jump or fall speed. I haven't really looked at how gravity and jumping is handled in that sample but I noticed there is a variable for gravity so I'm assuming it should work to just change that.
dajack05
16
Years of Service
User Offline
Joined: 3rd Feb 2008
Location:
Posted: 22nd Apr 2009 23:51
thanks a ton

and as for jumping I already got that

thanks agian

Happy snoodle day

Login to post a reply

Server time is: 2024-11-25 14:29:25
Your offset time is: 2024-11-25 14:29:25