Thursday, December 5, 2024

Animation engine coming along. I can now add animated sprites that I want to have managed by the engine. Then I can make one call to draw  them all. It also updates what frame to display each sprite. 

As an example, this is all I need to to


    ldy    #idle_anim
    jsr    add_anim
    ldy    #walk_anim
    jsr    add_anim
    ldy    #block_anim
    jsr    add_anim
draw
    jsr    draw_anim_list
    bra    draw