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.

DarkBASIC Discussion / 2 more menu questions

Author
Message
Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 22nd Oct 2003 03:35
I've been having a little trouble with my menu.First of all i have a main menu, a help page, and a play page.The problem is when i go to the next page my mouse cursor is under all my buttons(sprites).Is there a way i can keep the mouse on top?If not how do i fix it?The other problem is my mouse goes realy slow.i tried sync but the screen just stayed blank.How do i fix it? Thanks!
Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 22nd Oct 2003 03:36
My mouse is a sprite just to let you know.
JSCskycap
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Townsend, MA, USA
Posted: 22nd Oct 2003 05:58
Good questions! I can forsee that I would have asked them sooner or later - especially the mouse speed.

About the mouse under sprites - you could just make the buttons as images, unless the screen "moves" underneath. Just include them on your screen bitmaps and use other images if you need animation.

How did you do the mouse as a sprite? Use the HIDE MOUSE command and then put a sprite at the MOUSEX() and Y coords? Pretty neat! That gives me a few ideas!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 22nd Oct 2003 08:25
Yes, that's how you o the mouse sprite

But, to put in Sync...

Put In:



Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 23rd Oct 2003 01:32
how would you make a collision with an image though?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 23rd Oct 2003 07:26
Well, there is always the Sprite Collision() command... or of course, you could use the Sprite Hit() command...

LOL...

Look in the help files, its all there...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
JSCskycap
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Townsend, MA, USA
Posted: 24th Oct 2003 07:27
Sorry! Didn't know you would have collisions on the main menu. (Still can't picture that)

Login to post a reply

Server time is: 2025-05-21 09:17:45
Your offset time is: 2025-05-21 09:17:45