Page 1 of 1

[NXC] Draw using flags

Posted: 23 Jun 2011, 21:48
by nxtboyiii
Hi,

Is there a way to set a bunch of things to the screen and then draw them all at the same time with a function?
If not, can someone tell me how? I am doing this so things on the screen won't flicker.

Thanks, and have a nice day,
nxtboy III

Re: [NXC] Draw using flags

Posted: 23 Jun 2011, 22:44
by mattallen37
That's basically what I asked for a while ago. What I want is a dual screen buffer, so you can write to one, and then display it while you are writing to the other one. You would keep switching so everything would display in sync.

Re: [NXC] Draw using flags

Posted: 23 Jun 2011, 22:52
by muntoo
Relevant post(s) here.

Re: [NXC] Draw using flags

Posted: 23 Jun 2011, 23:24
by nxtboyiii
Yeah... I know.

But is there at least some way to stop screen flicker?

Re: [NXC] Draw using flags

Posted: 23 Jun 2011, 23:46
by spillerrec
Try to look at the SetDisplayFlags() function. It seemed to work fine for me, but it was just a quick test and my code didn't cause that much flicker anyway...