Oh, sorry, I realise you don't have a mouse yet. Create a mouse first so clicks and touches can be registrated by the engine.

Code:
function mouse() {
	mouse_mode = 1;
	while(1) {
		vec_set( mouse_pos, mouse_cursor );
		wait(1);
	}
}


No need for the wait after sys_exit.

Last edited by Joozey; 06/10/09 18:56.

Click and join the 3dgs irc community!
Room: #3dgs