A little question

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

UP!

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

I don’t understand any of this. What exactly are you looking for?

One a system where in the time to the player use one spell, his sprite change…

again, sorry for my bad english

your English is to hard to understand.

Oh, I think he wants a spell to change what the player looks like for a period of time then changes them back

Mohenjo Daro - no, that I can do (transformation spell)

What I want is “kamehameha”
At the time of “casting animation” the player to take a position as to prepare the kamehameha

Kamehameha = Power in Dragon Ball Z (anime)

So you want to cast a spell and have an animation play around the player?

i think he wants a code to have idle animation upon casting magic. Meh this isn’t something i would do for someone for free, i’m sure many of us agree to this.

what i can offer is advice though, just create a new function as boolean to render the animation and time it on the game loop.

correct, you can close the topic, could create alone

Log in to reply