FPS changes jump height?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
diho
Posts: 46
Joined: Fri May 20, 2011 9:01 pm
Location: Netherlands

FPS changes jump height?

Post by diho »

I tried my game on different computers, but the jump height was bigger on computers which had a higher fps for my game. I use the normall keymap.

I know it's an know bug. But I couldn't find a proper fix for it.
Hope someone can help me

grtz Diho :)
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

The FPS and Maya cams are meant for debugging purposes. You should write your own FP cam. This gives you the advantage of create the thing based on timerate rather then framerate

Code: Select all

// if you think real code is always interresting, read this line again
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

also would be good idea to decouple gfx FPs and game tik FPS, I suggest using the game programming gems clock, bullet uses it.

it is like 2 files, you can just use those two files in your projects, btQuickProf.h and btQuickProf.cpp, in bullet source. works wonders nice and portable, reliable too.
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
Post Reply