
-----------------------------------
KeyBladeMaster
Fri Nov 30, 2007 6:13 pm

Sprites
-----------------------------------
Alright, I am making a game for my computer class.
I have the enemy following me but when he has to go the other way the one way stops and stays there, then the other sprite of him walking the other way appears while the other is still on screen....
how can i fix this??
here is the code

if xxH then
    %move right
    xH:= xH+2
       Sprite.Animate (spriteH, Heart1P ((xH div 8) mod Heart1 + 1), xH, yH, false)
delay(50)
    end if

-----------------------------------
theiinsilence
Fri Nov 30, 2007 10:20 pm

Re: Sprites
-----------------------------------
ill admit that i dont know much about sprites, as i myself am learning them too but based on the site, sprites dont work, if you go to the bottom

http://compsci.ca/v3/viewtopic.php?t=4598
