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
[NXC] Draw using flags
[NXC] Draw using flags
Thanks, and have a nice day,
nxtboy III
programnxt.com
nxtboy III
programnxt.com
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: [NXC] Draw using flags
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.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: [NXC] Draw using flags
Relevant post(s) here.
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Re: [NXC] Draw using flags
Yeah... I know.
But is there at least some way to stop screen flicker?
But is there at least some way to stop screen flicker?
Thanks, and have a nice day,
nxtboy III
programnxt.com
nxtboy III
programnxt.com
-
- Posts: 358
- Joined: 01 Oct 2010, 06:37
- Location: Denmark
- Contact:
Re: [NXC] Draw using flags
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...
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
Who is online
Users browsing this forum: Semrush [Bot] and 4 guests