Page 1 of 1

Mouse glich

PostPosted: Mon Jul 16, 2007 6:19 am
by Caaz Games
in my breakout game the level files have the mouse invisible, when the game goes to the level, and then exits back to the menu, the mouse is gone. the only way to make it appear is to click off the screen and then click back, is there any other way to fix this?

PostPosted: Mon Jul 16, 2007 6:30 am
by d-soldier
So the MENU is a seperate game, in which the levels are loaded using the loadgame event?... and when those games(which don't have the mouse) are done, and they "loadgame" the menu again, the mouse isn't there? is that what your saying?

PostPosted: Mon Jul 16, 2007 10:43 am
by Caaz Games
Exactly.

PostPosted: Mon Jul 16, 2007 3:16 pm
by d-soldier
Interesting... So each ingame level (game) has the game properties set to HIDE the mouse, and the menu has it's game properties set to SHOW mouse, and it doesn't work when it's loaded then? ... I've never ran into this before...

PostPosted: Mon Jul 16, 2007 4:25 pm
by Sgt. Sparky
just set the menu to hide the mouse and make an actor that has a disabled mouse button down event fallow the mouse. :D

PostPosted: Tue Jul 17, 2007 2:59 am
by Caaz Games
Sgt. Sparky wrote:just set the menu to hide the mouse and make an actor that has a disabled mouse button down event fallow the mouse. :D
I'm sorry, can you put that into more understandable terms?

PostPosted: Thu Jul 19, 2007 5:56 pm
by Sgt. Sparky
on the menu game configurations: Hide Mouse.
make an actor called Mouse or somthing like that and on the create actor event of that actor:
Mouse button down LEFT->disabled.
Mouse button down RIGHT->disabled.
Fallow Mouse, Both.
:D