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 / Menu help in DBP

Author
Message
Murdock 743
20
Years of Service
User Offline
Joined: 16th Jun 2004
Location:
Posted: 16th Jun 2004 23:00
Hello
I am working on a warcraft/starcraft type game. I have created a small menu but the "slots" blink when I run the menu. I also had a friend try it and it blinked on his too. Any Ideas to what the problem is?
Thanks in advance.
Cheers,
Christian
Static
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location: United Kingdom
Posted: 16th Jun 2004 23:33
Hey do you think you could send me the images:
julian_evans_pritchard@msn.com
I'll see what i can do
Murdock 743
20
Years of Service
User Offline
Joined: 16th Jun 2004
Location:
Posted: 17th Jun 2004 00:18
I would but I deleted the pictures because a friend of mine is redoing them... The pictures were both 24 bit colour and were smaller tham 1 mb
sorry
Cheers,
Christian
Murdock 743
20
Years of Service
User Offline
Joined: 16th Jun 2004
Location:
Posted: 17th Jun 2004 00:47
okay never mind I found the pics after I e-mailed my buddy and he sent them to me.

Cheers,
Christian
Murdock 743
20
Years of Service
User Offline
Joined: 16th Jun 2004
Location:
Posted: 18th Jun 2004 02:25
any Ideas? anyone?
ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 18th Jun 2004 03:29 Edited at: 18th Jun 2004 03:47
Had a look at your code.dont have your images but this should help
I hope.



ToXic.
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 18th Jun 2004 03:30 Edited at: 18th Jun 2004 03:32
I believe your problem has to do with the multiple syncs in your loop. And more importantly the waitkey statement that pauses your loop. (I also don't see a <sync on> command in the beginning of your code.)

Try reworking your implementation to streamline it a bit. You have made it more difficult than it needs to be. Look into using <select case commands>. This will eliminate some of your nested if's and make it easier to see the logic flow. If you are not sure what I mean, I'll try to rework your code a little bit later.

-Don't interrupt the constant flow of the loop.
-Have one sync at the end of the loop.

@Toxic,
The source is in the source button below his message. It's easy to miss sometimes.


ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 18th Jun 2004 04:03
Zenassem, when i read your post i realised my Firewall was up. I have to turn it off to see the source button.

Thanks

ToXic.
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 18th Jun 2004 04:47
Toxic,

Yeah, you've been around for a while so I almost hessitated to add that comment.

I've had stuff like that happen. The other day I had a setting in opera that prevented display of animated gifs. I thought that my img link was down. I re-submitted 4 times before I realized my blunder.

~Zen


Murdock 743
20
Years of Service
User Offline
Joined: 16th Jun 2004
Location:
Posted: 18th Jun 2004 04:47
haha it works right now
thanks

Cheers,
Christian

Login to post a reply

Server time is: 2024-09-22 13:30:46
Your offset time is: 2024-09-22 13:30:46