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 / Why can I not stop the flickering?

Author
Message
zeone3000
User Offline
Joined: 8th Oct 2017
Location:
Posted: 8th Oct 2017 08:49
Even when trying the most basic of code such as...

+ Code Snippet

The EXE flickers like crazy!

Running Windows 10, using DBPro 9Ex, nvidia geforce GTX 560 Ti. I really starting to think it's just a compatibility issue after plucking at the other threads with a keyword 'flicker' search.
Sedit
User Offline
Joined: 3rd Sep 2017
Location:
Posted: 8th Oct 2017 21:31
If I place Sync on at the start then a sync command after print it works fine.
zeone3000
User Offline
Joined: 8th Oct 2017
Location:
Posted: 9th Oct 2017 20:22
When I do that, I get a black screen.
Scorpyo
15
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 9th Oct 2017 21:54
Your code works ok on my side

Anyway try this:

+ Code Snippet
zeone3000
User Offline
Joined: 8th Oct 2017
Location:
Posted: 12th Oct 2017 02:55
Hey, the letters are no longer flickering but the background color still is. I wonder what happens if I set a foreground color.
Scorpyo
15
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 12th Oct 2017 07:30
try this one:

+ Code Snippet
Bored of the Rings
12
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 12th Oct 2017 10:08
yes sometimes in the past I used to have to use 2 sync commands.
Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others
zeone3000
User Offline
Joined: 8th Oct 2017
Location:
Posted: 12th Oct 2017 19:40
Looks like the scancode is greater than 0 because it's exiting now and I don't even know what scancode is.

Login to post a reply

Server time is: 2017-10-24 12:05:31
Your offset time is: 2017-10-24 12:05:31