If anyones interested I pinpointed it to the mouse commands. It seems that using the MoveMouse command before the Mousedown commands causes the problem .. I'm not convinced that this was the problem though.
Is it possible that when I click on 'Run Program' on the menu, and the mousepointer x position on the desktop (1280,1024) is outwith the graphics window width (640,480) , MouseXSpeed() has problems with. i.e. I have to movemouse to a point within the window before I use the commands?
Anyhoo, I'm waffling now ...
jx# = (MouseXSpeed()/7.0)
jz# = (MouseYSpeed()/7.0)
thrust = MouseDown(1)
shoot = MouseDown(2)
MoveMouse 320,240
Is it possible that when I click on 'Run Program' on the menu, and the mousepointer x position on the desktop (1280,1024) is outwith the graphics window width (640,480) , MouseXSpeed() has problems with. i.e. I have to movemouse to a point within the window before I use the commands?
Anyhoo, I'm waffling now ...
jx# = (MouseXSpeed()/7.0)
jz# = (MouseYSpeed()/7.0)
thrust = MouseDown(1)
shoot = MouseDown(2)
MoveMouse 320,240