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 / Text Flickering

Author
Message
wizard
21
Years of Service
User Offline
Joined: 23rd Oct 2003
Location: CANADA
Posted: 23rd Oct 2003 22:11
Hello,

I have downloaded the trial ver. and was thinking of purchasing DBpro. I have downloaded many demos and there seems to be 1 thing in common with all of them. Whenever text is used it is always flickering. I am assuming this was b/c the author wanted the text to remain on the screen so he/she put it in one of their main loops.

I was just wondering am I the only one experiencing this? If not is there a way to reduce/remove this?

Thanks
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 24th Oct 2003 00:45
I've never noticed this in any DB or DBP program, it could very well be your computer.

Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 24th Oct 2003 00:51
Putting sync where you want the screen to update may work, ie. before the cls and after the text has been printed. You will have to put a sync on at the beginning of your code to enable manual screen refresh, eg.



Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
wizard
21
Years of Service
User Offline
Joined: 23rd Oct 2003
Location: CANADA
Posted: 24th Oct 2003 01:05
Weird, the snippet you gave me still flickers like a mother. Printing out the text once looks normal, but as soon as it starts to loop, the text flashes (mind you the flash is quick but QUITE noticable)

Here are my specs:

PIII ~935 MHz
512 Ram
NVIDIA GeForce4 MX 420 @ 1024 x 768 (32 bit)
Windows XP Professional

Any ideas??
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 24th Oct 2003 03:00
yup, it's your computer

Rknight
21
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 24th Oct 2003 03:29 Edited at: 24th Oct 2003 03:29
I've got the same text flickering problem. At least with that little code snippet up there. Had other text problems in other areas as well.

Might be due to having the same video card.

P 2.4Ghz
512MB RAM
Nvidia Geforce 4 MX
Windows XP Pro

Dark Basic Pro, latest patch.
Rknight
21
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 24th Oct 2003 04:00
A simple..

do
cls
print "hello"

loop

Works fine though.

If I put the CLS before hello, you get a permanent hello. Put it after, you get a blank screen.

Put in that 'sync'. Flicker.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 24th Oct 2003 04:02
I don't think there is anything wrong with your PCs or your video cards guys

The ideal way to layout that snippet is to have Cls at the top and Sync at the bottom with something in between:


Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
wizard
21
Years of Service
User Offline
Joined: 23rd Oct 2003
Location: CANADA
Posted: 24th Oct 2003 17:11
Thanks for the feedback guys

Login to post a reply

Server time is: 2024-11-25 14:30:19
Your offset time is: 2024-11-25 14:30:19