Posted: 02:44pm 05 Sep 2020 |
Copy link to clipboard |
 Print this post |
|
Ooops ! I thought I did post it in the right place. Wish I could move this post to that area.
I figured it out.
I was not using PAGE WRITE and PAGE COPY along with the SPRITE comannds.
Here is my solution:
CLS
SPRITE LOADPNG 1, "CarR.png" SPRITE LOADPNG 2, "CarD.png"
'THE LOOP BELOW FLIPS THE SPRITE FROM ONE IMAGE TO ANOTHER USING 2 DIFFERENT SPRITES DO SPRITE SHOW 1, 50, 50, 1 'SPRITE 1 ON PAGE 1
PAUSE 200 SPRITE SWAP 1, 2 PAGE WRITE 0 SPRITE SHOW 2, 50, 50, 0 'SPRITE 2 ON PAGE 0 PAUSE 500
PAGE COPY 0 TO 1 'REPLACE SPRITE 1 WITH SPRITE 2 PAUSE 500 PAGE COPY 1 TO 0 'REPLACE SPRITE 2 WITH SPRITE 1 SPRITE SWAP 2, 1 LOOP  Edited 2020-09-06 00:44 by shaputer If what you are doing is bringing out the worst in you than stop doing it. |