I came across EndBasic on HN last year, but just now looking into it as my son is just of age (7) to start playing with programming.
I'm starting out by showing him how to design sprites on graph paper and then blit them on screen using EndBasic's graphics APIs.
I've used a couple strategies for representing the sprite pixel coordinates, but neither seems satistfactory.
The first is to list each (x,y) coordinate using DATA. But this is tricky because I have to use RESTORE and then jump (by READing) to the offset that has the sprite that I'm currently rendering.
What would be ideal would be able to store each sprite in a two-dimensional array. But this is cumbersome without a array literal syntax.
Something like
DIM arr(2,10) = [[1,2],[3,4],...]
Wondering if I'm missing a good way to do this in EndBasic in a clean way.