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 / What's Wrong?????

Author
Message
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 18th Jul 2004 12:42
What is wrong with this code? I have checked everything I can think of.
So far, the problem is fixed by:
1. Not calling the "gosub freesprites" command. This results in overlapping sprites that mess everything up.
2. Not calling the "sync on" command at the beginning. This results in an extremely slow loading process making it a terrible program that is not worth the time it takes to make.

here is the code
(the dimensions for the "bodies" files are 288x256)
(the dimensions for the "cursor" file is 24x44)
Saikoro
20
Years of Service
User Offline
Joined: 6th Oct 2003
Location: California
Posted: 18th Jul 2004 20:41
Quote: "What is wrong with this code?"

Maybe you should tell us so we know what to try to fix.

Try putting a sync rate command by the sync on, and dont let your code stretch so far to the left like that! You dont need ten spaces to separate loops and for/nexts that just makes things confusing.

Need help? Ask me via email, msn, aim, or forums and Ill see what I can do.

BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 19th Jul 2004 01:23 Edited at: 22nd Jul 2004 02:57
Quote: "Quote: "What is wrong with this code?"
Maybe you should tell us so we know what to try to fix.
"


The program starts fine, but when you click on button 1, the new pictures appear correctly but then dissapear immediatly after they appear. I tried the sync rate command, it didn't work.

Login to post a reply

Server time is: 2024-09-22 17:37:34
Your offset time is: 2024-09-22 17:37:34