Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Button wont work, coords messed up please help

Author
Message
Pankers
16
Years of Service
User Offline
Joined: 31st May 2008
Location:
Posted: 14th Sep 2008 23:28
here is my code for my button





and here is where my 2 text is..





and whenever i click near those 2 buttons all it does is takes me to the shop, not home... grr please help MANY THANKS!
dark nooby
16
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 15th Sep 2008 11:36 Edited at: 15th Sep 2008 13:02
this should fix your problem.




later on you might want to have buttons autosize themselves by using the 'TEXT HEIGHT()' and TEXT WIDTH()commands.

have fun
Pankers
16
Years of Service
User Offline
Joined: 31st May 2008
Location:
Posted: 17th Sep 2008 05:13
Thanks and one problem i get.. I can still click in that area when the text is not there and it takes me there like a hidden bug lol is there way so it like, if the text is there?

Thanks though for help
dark nooby
16
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 17th Sep 2008 11:44
sounds like your running that routine in the main loop so it keeps running the same routine all the time.

you can actually turn on/off that particular MOUSECLICK() routine by adding a Flag Variable like this



to show the 'home shop' buttons just make the variable called 'flag = 1'
when you want to hide the buttons make the variable called 'flag = any other number except 1'.

Login to post a reply

Server time is: 2024-09-27 20:20:32
Your offset time is: 2024-09-27 20:20:32