|
create a module with the folowing :
public keyascii% , keycode% , shift% , mouseX% , mouseY% , mouseButton%
activate the events : keydown , keypress , mousemove and click of the form
read the globals and use them to update your world in a tmr_tick event
|