Keyup/keyrelease??!

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
Anonymous

Keyup/keyrelease??!

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Keyup/keyrelease??!

Post 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
Honk if you love Jesus, text if you want to meet Him!
koopmicter
Posts: 13
Joined: Tue Nov 09, 2004 11:15 am

Keyup/keyrelease??!

Post by koopmicter »

hey red your from timmins?
im from brantford :)

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