Jump is a bad example, even though the way I wanna use it cannot be done with simply a function, its too hard for me to explain in english (and Ive already completed it anyway, what Im doing now is just trying to seperate the mapping so it can be changed easily).

But otherwise movement cannot be done with simply a function for each key. Only if youd have an key_up/mouse_up event, and afaik there is no such thing in lite-c.

So for example if I want my avatar to move left as long as i keep my A key pressed, that cannot be done with key_set, right? Then Id have to use if(key_a), and as I said, Id rather use something like my_key_mapping.key_left (key_jump, key_run etc) or something ... Also, im using gamepad joysticks for movement, so its pretty much not possible to do that anyway (I guess?)

Last edited by Kenchu; 02/25/08 20:19.