Graphics Buffers
BlitzMax Forums/BlitzMax Beginners Area/Graphics Buffers
| ||
From reading the questions in the Beginners area... Sheeze whats the title of someone who has not reached the level of a beginner yet - Someone like me. :( Anyway would someone please explain whats going on in this experiment with "Flip" and "Cls". Am I looking at some potential tricks or is this just stupid. Graphics 640,480 For n=10 To 100 Step 10 'Cls 'FlushMem; Flip If n Mod 4 <> Null SetColor 255,0,0 Else SetTransform 10,1.3,1.04 SetColor 0,255,0 EndIf DrawRect n,n,100,50 SetTransform 0,1,1 FlushMem; Flip 'Delay 400 'Added to help see the effects Next WaitKey rem First run with Cls, Flip and Delay commented out Remove comment from Delay only... then run. This allows time to see effect Remove comment from Flip and Delay... then run Remove all comments... then run Add back the comment to Flip... then run end rem Appreciate your comments, Thanks |