- Edited
Now that I'm looking at Engine BASIC again, I thought I'd ask how I might solve my problem of moving cards (larger than 32 x 32, and more that 32) smoothly around the screen.
I want to have playing cards move to where they are dealt, and flip over when required.
To do this, I either need more and larger sprites, or maybe be able to copy a potion of the screen into a sprite, move it to the appropriate location while preserving what is under the sprite, and then changing the data of the sprite if it is to be flipped, then saving the data under the sprite, then copying the sprite data to the screen.
Reading through the Reference Manual, I am having trouble seeing how I can do this.
Any ideas?
This is about as good as I could manage with MMBasic on the PicoMiteVGA.
Playing Card Animation on Twitter
You can see that at this stage, MMBasic had difficulties with an ALPHA channel. After this demo, it was hard coded to BLACK which I didn't like much, specially when the PicoMiteVGA has such a limited colour palette. If I had to give up a colour, and couldn't choose at runtime, then I'd much rather give up hot pink!