Thanks, for reading this.I am a novice.
I implement "double buffering" with "swap a,b: setpage a,b" like the code below.
I thought this by myself. So, I don't know whether this is a usual way for BASIC. Please, tell me if there are another usual ways for double buffering. That is, what I want is no blinking screen.
By the way, when I use sprites with "swap a,b:setpage a,b" double buffering using page 1, sprites of page 1 show strange stripe patterns. So, I asked a question yesterday in this forum. Sorry, but, despite all your friendly answers, I cannot find ways to solve this problem, yet.
HOW CAN I USE SPRITES WITH DOUBLE BUFFERING SUCCESSFULLY?
10 A=0:B=1:X=0:Y=0 20 SCREEN5,2 30 SPRITE$(0)=STRING$(32,255) 40 SETPAGE A,B:CLS 50 LINE(X,Y)-(X+10,Y+10),9,BF 60 PUTSPRITE 0,(X+20,Y+20),3,0 70 X=X+1:Y=X+1 80 SWAP A,B 90 SETPAGE A,B:CLS 100 GOTO 50
!login ou Inscrivez-vous pour poster