News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Help trying to figure out some attack coding

Started by Tapoutm, February 04, 2012, 10:13:16 AM

Previous topic - Next topic

Tapoutm

Hey I have made a character and what I'm trying to figure out is how to code it so when my character uses his special it makes his fire appear underneath the enemy shooting towards the air
I have the sprites of the fire neccesary to actually do it i just need someone to pleasse help :/

Also I am trying to figure out how to code an attack where he grabs an energy ball and throws it at the enemy and another attack where he grabs an energy ball and throw it a short way then it rolls on the ground but can still hit the enemy; if someone could help me that would be great thanks

Cyanide

does the fire hurt? If it hurts you can use a projectile (simple but not really recommended) or a helper (more complex but better) if it doesn't hurt. Just use an explod

For the energyball+throw. Projectile or helper will be fine
For the rolling ball, helper only.

Helpers are essentially another instance of your character. You create them and send them to an initial state, then code them in the EXACT same way you would a character. When you want them to stop, use type = destroyself.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Tapoutm

Okay, makes sense
Thanks that helps me out quite a bit