#include <acknex.h> void on_mouse_left_event() { static fixed t0 = -16; static fixed t1 = -16; if (total_ticks <= t0 + 16) { beep(); // Do whatever you want to do here instead. t0 = t1 = -16; } else { t0 = t1; t1 = total_ticks; } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de