Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Attack Animation


MaicMan
 Share

Recommended Posts

Riding a bike as an attack? Hm wierd. If you wanted to do something like that, Id make it a spell. BUTT, if you want it as the default attack, put the sprite riding a bike where the attack frame is.
Link to comment
Share on other sites

He doesn't want to attack as a bike >.> lol

To change the sprite to riding a bike just add a new spritesheet for ti and call the sub that sets the sprite. The do the opposite to go back to the walking sprite.
For teh attack animation, I am not quite sure how melee animations are used in EO, sorry.
Link to comment
Share on other sites

Client side, in
```
Public Sub BltPlayer(ByVal Index As Long)
```
Find the bit saying
```

' Check for attacking animation
    If Player(Index).AttackTimer + (attackspeed / 2) > GetTickCount Then
        If Player(Index).Attacking = 1 Then
            Anim = 2
        End If
    Else

```
There you can do stuff like change which sprite is shown or make it show an animation instead, maybe even play a sound :)
Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...