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 / FPS and Sparky

Author
Message
XpLoDWilD
17
Years of Service
User Offline
Joined: 19th Jul 2007
Location:
Posted: 9th Mar 2008 14:32
Hello everybody,
Sorry for my english, I'm french.

I'm using Sparky's DLL for collisions/simple gravity in my game. But, I want to use all the power of the player's graphic card, by using dbSyncRate(0);

But, the colision speed is also affected. I use timer to regulate X and Z speed, but I can't have anything working on Y fall speed (and for jump).

Here's my code :



Basically, it's the Sliding Demo code in a class, with two functions to get a coefficient defined by a timer.

How to make that working with Y axis?

E-One Games Entertainement
Projects :
The War of Shattrith
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 9th Mar 2008 21:41
What's with the Chrono Timer Gravity coeeficient thing?

Just do a HeartBeat (timed interval) and take time out of the physics equation.

Login to post a reply

Server time is: 2024-11-17 08:12:29
Your offset time is: 2024-11-17 08:12:29