Page 1 of 1
Button Help
Posted:
Tue Aug 15, 2006 9:57 pm
by Hedfone
My game menu uses buttons to select the desired option (eg: Help, Play, Credits etc etc,) but i can't get the button option to work. I've followed this tutorial [url]http://www.trajectorylabs.com/Multiple_Rooms_Levels_Game_Editor_Tutorial.html[url] to a TEE but it still won't work for me! can someone help me out here?
Posted:
Wed Aug 16, 2006 6:30 pm
by makslane
What's happen?
Are you get the button clicked?
Are you useing Mouse Button Down event?
Posted:
Wed Aug 16, 2006 9:28 pm
by Hedfone
i have done every thing EXACTLY as is written on the URL i posted. the only possible things i can possibly concieve could b wrong are:
a) I'm using the view follow the Player using the 'CenterView' actor technique
b) I've changed the cursor used in game
other than these things i cant think of anything else that would screw it up
Posted:
Wed Aug 16, 2006 11:43 pm
by Game A Gogo
are you using the LoadGame("yourgame") technoque?
Posted:
Thu Aug 17, 2006 2:20 am
by Hedfone
nope, but i tried deleting the cursor and just using the mouse and that seems to have worked. thanks to evryone who replied though
Posted:
Thu Aug 17, 2006 11:09 pm
by Game A Gogo
i know why, its because the fake mouse overlaps the click sensor.so, alway the middle of the actor is the Hot spot if you only use a cover actor that replace the mouse. just make sure that the midle pixel or the "Hot spot" is transparent! amd it should work.
Posted:
Sat Aug 19, 2006 6:34 am
by Nitroshock
When you change the cursor in your game, you can set the 'x' and 'y' hotspot on that cursor. Just figure out where the "point" on your image is at (x, y) and set it as the hotspot when you change the cursor. Seems to work for me anyway.
-Nitro
Posted:
Sat Aug 19, 2006 7:58 am
by DilloDude
If you have an actor taking the place of a cursor, use event disable to disable mousebuttondown events and you will be able to click the actors below.