LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

sprite limite :(

Root / Programming Questions / [.]

TarudahatCreated:
GPAGE is a common method.
VAR A,B=1
WHILE 1
 VSYNC
 SWAP A,B
 GPAGE A,B
 'Do stuff
WEND

GPAGE is a common method.
VAR A,B=1
WHILE 1
 VSYNC
 SWAP A,B
 GPAGE A,B
 'Do stuff
WEND
One less variable:
VAR BUFFER%=0
WHILE 1
 VSYNC
 GPAGE BUFFER%,!BUFFER%
 GCLS
 'stuff
 BUFFER%=!BUFFER%
WEND

GPAGE is a common method.
VAR A,B=1
WHILE 1
 VSYNC
 SWAP A,B
 GPAGE A,B
 'Do stuff
WEND
One less variable:
VAR BUFFER%=0
WHILE 1
 VSYNC
 GPAGE BUFFER%,!BUFFER%
 GCLS
 'stuff
 BUFFER%=!BUFFER%
WEND
Cool EDIT: Also remember that I may be wrong. People have stated on this thread that they've had bad experiences with lag.