0 Members and 1 Guest are viewing this topic.
[Hex for Front buffer]→Pic1A ; you can use other names for pointers if you want[Hex for Back buffer]→Pic1B...ClrDrawrr ; clears both buffers at the same timeWhile 1...Pt-Off(X,Y,Pic1A) ; X and Y are the coordinatesPt-Off(X,Y,Pic1B)r...DispGraphClrDrawrr ; for 4 level you need two radian r's...EndIf getkey(15)
It's above, just change the hex codes.
I meant the "..." also why is it pt-off instead of pt-on?
Quote from: Link on September 05, 2012, 03:02:29 pmI meant the "..." also why is it pt-off instead of pt-on?Yeah, remove the dots (you can add other code in there, like movement)Make sure to initialize X and Y or replace them with constants.Pt-Off is slightly faster than Pt-On (when X is a multiple of 8 ), so that's why I used that for the example. But doesn't really matter.Hex: [FFFFC3C3C3C3FFFF] for front buffer[FF81BDA5A5BD81FF] for back bufferThat should be a neat little box with all colors!
Ooh, thanks, it works now, Time to go see If i can remove flicker now.