First i’m brazilian so, sorry for my bad english
I will now start creating a system where when the player make an animation magic sprite the same move.
To change the animation when the player attacks just search for
If Player(Index).AttackTimer + (attackspeed / 2) > GetTickCount Then If Player(Index).Attacking = 1 Then Anim = 3 End If
And change the “3” for the desired animation value
What I wonder is whether to change the animation of the character to cast a spell is also simple, or if there is a “variable” ja movement created, for example there:
Player(index).moving = 0 'walk
player(index).moving = 1 'run
Wanted to know if the OS has already configured to use
Player(index).castspell = true
So to set with ease the animation of the player to use magic.
Or is the only way would be to create a variable of zero castspell …
I hope for your help