function mouse_mapping(){ if (mouse_mode == 1) { mouse_map = crosshair_pcx; }}function main(){ level_load (ws13_wmb); //Load level mouse_mode = 1; mouse_mapping() while (1) { mouse_pos.x = mouse_pointer.x; mouse_pos.y = mouse_pointer.y; camera.pan -= mouse_force.x; camera.tilt += mouse_force.y; wait (1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de