Page 1 of 1

Keyup/keyrelease??!

Posted: Wed Nov 10, 2004 8:59 pm
by Anonymous
hi,

ive been tryin to figure out how to some acceleration and de-acceleration, but this doesnt seem possible to me without a keyup/keyrelease command. any one know of any? or knows how i can do this without a keyup command?

Archived topic from Iceteks, old topic ID:2832, old post ID:23182

Keyup/keyrelease??!

Posted: Wed Nov 10, 2004 9:31 pm
by Red Squirrel
What programming language and what API (ex: directX, openGL etc)

I worked a bit with open GL and one thing I learned is that for anything speed related don't use the frame rate, but rather use sleeps and what not to make sure something is timed with real time, and not the frame rate. In open gl you could have a variable that increments at every frame and as well as a function to determine where you are in time (a seperate thread counting time). I have not programmed this stuff in years though so hopefully someone with more recent experience can help you.

Archived topic from Iceteks, old topic ID:2832, old post ID:23183

Keyup/keyrelease??!

Posted: Thu Nov 11, 2004 10:36 pm
by koopmicter
hey red your from timmins?
im from brantford :)

Archived topic from Iceteks, old topic ID:2832, old post ID:23206