/////////////////////////////// #include <acknex.h> #include <default.c> /////////////////////////////// var speed = 50; void change_speed(var* spd, var value) { *spd = value; } void main() { fps_max = 60; while(1) { if(key_space) change_speed(&speed, total_ticks); DEBUG_VAR(speed,20); wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de