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 / Noob menu question

Author
Message
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 14th Apr 2006 21:00
Im trying to make a simple menu system for my game. Im using this code:



as a base. I know the anwser to my question is probably really simple but I just can get it to work. Obviously I dont want the program to only run while the mouse is over the menu so I need a way to make on mouse press "activate" the game and then make it not matter. Ive tried a lot but either it doesnt stay or using something like a repeat until loop makes the program stop working. Whats the problem here?
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 14th Apr 2006 21:37
Is this what you are after?



if not might give an idea on what to do.

I'm not getting you down am I, Ho Look! another fancy Door?
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 15th Apr 2006 02:40
Nvm, figured it out, I forgot sync.
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 15th Apr 2006 04:39
Argghhh Im having a really stupid problem again. For some reason, even though my ink commands are correct this code:



Makes the background red when clicked and I have no Idea why.
Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 15th Apr 2006 05:12
I ran the code and it doesn't turn my background red . Are you trying to say you want it to be red? If so then ink rgb(150, 0, 0) would be red. Maybe if you reword your question, I can help you.


Check out Penguin in the Projects Section!!!
http://www.prodigyarts.5gigs.com
Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 15th Apr 2006 05:52
I figured it out. For some reason it was running a different section of code which uses alpha channels before it loaded my new menu section. It was solved by adding a couple more CLSs in the loop.

Login to post a reply

Server time is: 2024-09-24 21:26:00
Your offset time is: 2024-09-24 21:26:00