while (1) { if (key_a && key_ctrl) { vec_set(sky_color,vector(50,50,50)); //set grey color if ctrl+a is pressed } else { vec_set(sky_color,vector(50,1,1)); //else set blue color } wait(1); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de