Spin Dash coding - .CNS Coding help - Code Library - Blaze mugen forums
Tuesday, 2009-11-24, 1:27 Pm
Welcome Guest

Blaze M.U.G.E.N

Blaze mugen forums

[New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Blaze mugen forums » Code Library » .CNS Coding help » Spin Dash coding (I need help making a Spin Dash move like Sonic)
Spin Dash coding
VirusChrisDate: Monday, 2008-03-03, 2:50 Pm | Message # 1
Begginer
Group: Users
Messages: 15
Reputation: 0
Status: Offline
I've made some sprites for my character to perform a Spin Dash attack, like Sonic the Hedgehog's Spin Dash, but I don't know how to code it to make it work properly. When he performs the move he stays in place and when the enemy touch him like they take damage.

How do I make it where when he performs the move he starts dashing at them, by force (you can't control him when he performs the move)?

 
Sir_KillzalotDate: Monday, 2008-03-03, 4:02 Pm | Message # 2
MuGeN Expert
Group: Users
Messages: 349
Reputation: 12
Status: Offline
Bascically you want to have your character stay in the charge state till you release the button/move is powered up. And then the dash forward is a statedef containing a hitdef, a velset, and a changestate back to stand (with ctrl set to 1)
As long as ctrl is not set to 1 your character cannont perform another action till it is set back to one.

Need help use the almighty list of how everything works smile

here

 
VirusChrisDate: Monday, 2008-03-03, 4:39 Pm | Message # 3
Begginer
Group: Users
Messages: 15
Reputation: 0
Status: Offline
Actually he just Spin Dash right away, but maybe I'll add a charging state to it later. Let me see what I can do.

EDIT: Awesome! I finally got him to work his Crazy Sphere Dash, aka Spin Dash! Now maybe for a charge state!

Message edited by VirusChris - Monday, 2008-03-03, 4:43 Pm
 
OmnifoxDate: Monday, 2008-03-03, 5:45 Pm | Message # 4
MuGeN Mayhem
Group: Users
Messages: 174
Reputation: 3
Status: Offline
If not Sonic then who are you making?

Current W.I.P. :

.... still have not added all the required sprites yet. <_<

 
Blaze mugen forums » Code Library » .CNS Coding help » Spin Dash coding (I need help making a Spin Dash move like Sonic)
Page 1 of 11
Search:

Login form
E-mail:
Password:
Site friends
Site Admins
Blazeinc (A.K.A UrOz)
Our poll
which character series are the best for mugen
Total of answers: 1007
Created By UrOz | Blazeinc