Sorry for my questions but i have problems with buttons+keys +animation
Aqui é colocado de forma a que fique animado o movimento de andar para a direita
if ( GetRawKeyState (39) = 0.0 or getbuttonstate(23)=0 and GetRawKeyState (37) = 0.0 ) or getbuttonstate(22)=0
StopSprite ( character )
SetSpriteFlip (character, 0,0)
//Zero zero para voltar ao normal
SetSpriteFrame ( character, 3 )
else
// play animation
if ( GetSpritePlaying ( character ) = 0 )
PlaySprite ( character, 10, 1, 1,8 )
endif
endif
With this buttons the character stay in same frame and not animated! What i do wrong?