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 / sync? problem?

Author
Message
Hood
15
Years of Service
User Offline
Joined: 6th Jun 2009
Location:
Posted: 8th Jun 2009 01:14
when i run my program, there is a black screen, no images are loaded

AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 8th Jun 2009 02:00 Edited at: 8th Jun 2009 02:01
I don't have the time to read through the whole thing but instead of doing this:



you can use this:



lower$ will convert the string to lowercase before checking it against "downer", that way it will return true regardless of the case they typed in, i.e. it will return true even if the user typed "DoWNeR" or "dOWNer".

i like orange
Vathelokai
15
Years of Service
User Offline
Joined: 3rd May 2009
Location:
Posted: 8th Jun 2009 02:39
Check here...

Your code is repeating through the login gosub with no "sync".
I placed one right before the "input username$" and it appeared correctly.

I had to use my own JPGs, so I cannot tell if it worked correctly.
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 8th Jun 2009 20:27
One thing...why do you repeatadly set the font size and style?

E.g. you keep repeating
set text size 28.5
set text font "acquaintance"

You only need it once, and can then display multiple pieces of text.

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001

Login to post a reply

Server time is: 2024-09-28 06:24:34
Your offset time is: 2024-09-28 06:24:34