Posted By: DLively
Keys Potential Bug - 04/19/15 06:09
I'm sure this is a bug, because I just tested it with other buttons and it works fine, (And what I'm doing should be do-able) so:
I am making use of WASD, and CUL CUR CUU CUD for primary movement keys (Different combinations have different effects) so when I am pressing key_s and key_cud at the same time, the keys work together. then while still holding those keys(S and CUD) I try to press A and CUR, but they will not work at the same time. Examples:
Just copy this into a new script, save it as whatever.c and give it a try for yourself.
I am making use of WASD, and CUL CUR CUU CUD for primary movement keys (Different combinations have different effects) so when I am pressing key_s and key_cud at the same time, the keys work together. then while still holding those keys(S and CUD) I try to press A and CUR, but they will not work at the same time. Examples:
Code:
#include <acknex.h> #include <litec.h> #include <default.c> function main(){ level_load(NULL); while(1){wait(1); if(key_s && key_cud && key_a && key_cur) {beep();wait(4);} if(key_s && key_cud && key_d && key_cur) {beep();wait(4);} if(key_s && key_cud && key_a && key_cul) {beep();wait(4);} //-- This is the only one that works if(key_s && key_cud && key_d && key_cul) {beep();wait(4);} } }
Just copy this into a new script, save it as whatever.c and give it a try for yourself.