new P0, .SDLAnim set I0, 0 LOOP: eq I0, 320, LAST inc I0 set P0["x"], I0 set P0["y"], I0 branch LOOP LAST: end
On my box, this moves a little smiley face around the screen. Maybe it's Wrong to write a PMC that fiddles with SDL, but it's possible. More tomorrow.
Re:Ooooh!
chromatic on 2002-10-29T17:20:36
This approach may be backwards. Instead of embedding Parrot, I'm extending it. Of course, my deadline for this research is this Saturday, and the extension API doesn't seem to be done (or documented), so this is what you get.
Of course, nothing precludes the hybrid approach.