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 Professional Discussion / Binary Moon Tut fog blank screen

Author
Message
AncientGamer
16
Years of Service
User Offline
Joined: 10th Jan 2010
Location: United States
Posted: 16th Aug 2011 04:21
Okay, wish I could figure this one out. I am going through the Binary Moon Tutorial, which is excellent by the way, and I am running the fog program and all I get is a black screen. I've compiled and run in step through mode and all I get all the way through is a black screen as can be seen in the attachment. The extra suspend for key command was so I can do a screen capture while keeping the program running to show you the black screen. Any ideas??? I copied and pasted the code straight from the tutorial and it looks fine to me, but I'm sure I'm overlooking something.
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 16th Aug 2011 08:46
When you have SYNC ON the screen won't update till the SYNC command is seen. Try adding a SYNC right before the SUSPEND FOR KEY command (by the way the WAIT KEY command does the same thing as SUSPEND FOR KEY without typing as much).

AncientGamer
16
Years of Service
User Offline
Joined: 10th Jan 2010
Location: United States
Posted: 16th Aug 2011 14:18
Thanks, that did the trick, I appreciate the info and the tip! Really enjoying Darkbasic Pro so far.

Login to post a reply

Server time is: 2026-07-11 03:38:13
Your offset time is: 2026-07-11 03:38:13