@JustSid:
So you mean I create an array of bytes/ints (whichever I need) where each element represents one key of the keyboard (keycode = index) to store an id to what that keyshould do? Sounds good

I thought about it the other way around. Storing the corresponding keycode for each action (jump, walk left, walk right, etc.) and scanning that key everytime the action is needed (or scanning the keys for all actions at the start of each frame and storing the results using a struct).

Edit: I just have to think about how to do this in acknex... afaik there's no function that takes a keycode and returs whether or not this key is pressed.

Edit2: I'll probably go for the windows api and do that stuff myself. Not sure about gamepad input, though.

Last edited by Kartoffel; 07/22/16 13:48.

POTATO-MAN saves the day! - Random