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 / Little help with code needed...

Author
Message
darkpsychosis
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 20th Mar 2003 21:00 Edited at: 20th Mar 2003 21:03
can someone take a look at this code and tell me what i'm doing wrong?



we're all mad here.
darkpsychosis
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 20th Mar 2003 21:00
hmm... didn't print entirely.

we're all mad here.
darkpsychosis
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 20th Mar 2003 21:05
there. my problem is, when it gets to the final goto routine, where it adds a sync command and prints "BEGIN," it runs at a rate of... i'd say... 1 frame/10 seconds. so... yeah. what am i doing wrong?

we're all mad here.
Hamish McHaggis
23
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 20th Mar 2003 23:33
I found your main problem and then corrected other stuff. You needed a sync in the loop for the menu, to update the screen or it runs really slow as you said. Another thing was that your > and < signs were the wrong way round (more than 250 and less than 230 is kind of impossible). Also I took the sync off command out and put a sync in the last loop as I didn't see any point in it (change it back if you want). To make it neater you could have the 'sync on' at the top and make your fading work by a timer() mechanism. I'll give you an example if you want.



Why the hell'd you ask me for crying out loud!?!
darkpsychosis
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 21st Mar 2003 02:32
AAH. right. sync command. duh... thanks, man. i owe you one. i can put you in the credits if you want, provided this thing gets off the ground.

we're all mad here.

Login to post a reply

Server time is: 2026-06-12 03:35:47
Your offset time is: 2026-06-12 03:35:47