Aw: Re: [stella] Everyone loves a newbie!

Subject: Aw: Re: [stella] Everyone loves a newbie!
From: cybergoth@xxxxxxxx
Date: Thu, 17 Apr 2003 14:45:33 +0200 (CEST)
Hi Dennis!

> Manuel answered a question about animation on May 2001. Read
> http://www.biglist.com/lists/stella/archives/200105/msg00038.html and it
> should help.

Haha, *lol* I was just almost finished of typing the same stuff once again ;-)

To update my old message, I learned a lot by now and nowadays I'd simplify this mess:

highpointer .byte #>shape1, #>shape2, #>shape3, #>shape4
lowpointer  .byte #<shape1, #<shape2, #<shape3, #<shape4

with

shapetab .word shape1, shape2, shape3, shape4

Which'd require some access code like:

LDA frameCounter
AND #%00000011
ASL
TAX
LDA shapetab,X
STA spritePointer
LDA shapetab+1,X
STA spritePointer+1

Greetings,
     Manuel


----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread