newbie123 Posted December 2, 2014 Author Share Posted December 2, 2014 First i'm brazilian so, sorry for my bad englishI 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 valueWhat 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 'walkplayer(index).moving = 1 'runWanted to know if the OS has already configured to usePlayer(index).castspell = trueSo 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 Link to comment Share on other sites More sharing options...
newbie123 Posted December 3, 2014 Author Share Posted December 3, 2014 UP! Link to comment Share on other sites More sharing options...
Lavos Posted December 3, 2014 Share Posted December 3, 2014 > 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 helpI don't understand any of this. What exactly are you looking for? Link to comment Share on other sites More sharing options...
newbie123 Posted December 4, 2014 Author Share Posted December 4, 2014 One a system where in the time to the player use one spell, his sprite change…again, sorry for my bad english Link to comment Share on other sites More sharing options...
Officer Johnson Posted December 4, 2014 Share Posted December 4, 2014 your English is to hard to understand. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted December 4, 2014 Share Posted December 4, 2014 Oh, I think he wants a spell to change what the player looks like for a period of time then changes them back Link to comment Share on other sites More sharing options...
newbie123 Posted December 4, 2014 Author Share Posted December 4, 2014 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 kamehamehaKamehameha = Power in Dragon Ball Z (anime) Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted December 4, 2014 Share Posted December 4, 2014 So you want to cast a spell and have an animation play around the player? Link to comment Share on other sites More sharing options...
Lavos Posted December 4, 2014 Share Posted December 4, 2014 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. Link to comment Share on other sites More sharing options...
newbie123 Posted December 4, 2014 Author Share Posted December 4, 2014 correct, you can close the topic, could create alone Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now