Thread:Waffle003/@comment-14600979-20130907221335/@comment-13209194-20131002235522

Well the normal on map animations seemed kind of small, and a little bit hard to see, so I decided to give the option to have these longer animations. I shrunk the enemy sprite, and it slowly gets bigger to make if look like you're moving closer, using SPSCALE. I want to finish it by adding an attack animation from first person, so if you're using a sword, all you see moving is a sword. Here's an example:

ACLS:CLEAR GR=1

SPSET 0,68,0,0,0,1 SPSCALE 0,GR,1 SPOFS 0,100,100

@LOOP IF GR==200 THEN GOSUB @SWORD IF AN==1 THEN GOTO @END GR=GR+1 WAIT 1 SPSCALE 0,GR,1 GOTO @LOOP

@SWORD WAIT 60 SPSET 1,20,0,0,0,0 SPOFS 1,100,100 SPSCALE 1,200,1 SPANIM 1,4,20 WAIT 60 SPCLR 1 AN=1 RETURN

@END END