IT WORKED! Now this is my last question... How do you make the characters follow you? because my game is an rpg and im working on the pokemon style battle sequence but I need them to follow you
Insert this into the "SPSET" area:
REPEAT
EX[I-1]=RND(400)
EY[I-1]=RND(240)
D=SQR(POW(EX[I-1]-PX,2)+POW(EY[I-1]-PY,2))
UNTIL D>100
Insert this somewhere in the loop:
FOR I=0 TO 9
A=DEG(ATAN(EX[I]-{player X},EY[I]-{player Y}))+180
INC EX[I],SIN(RAD(A))
INC EY[I],COS(RAD(A))
SPOFS I+1,EX[I],EY[I]
NEXT
Well, sorry to bother you again but how do it put a normal battle. The Pokemon style didnt work that good so can you give me a pic of some code that the player can use a sword and kill the enemy?