News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

need some coding advice

Started by MemphisManX, March 22, 2008, 05:03:35 AM

Previous topic - Next topic

MemphisManX

I'm working on an atb system for one of my wip projects with menu commands
akin to the Final Fantasy system. I currently have the super bar auto filling to simulate the atb guage, and various amounts of it used for each attack.
My question is, how do I implement my proposed menu into the atb system and keep it where the char can only attack by choosing commands from the menu when the atb guage is full? And how can I designate what each command corresponds to action wise? I haven't even to began to start coding the menu yet because I don't know where to start, (besides the sprites, obviously; already got em) I like omega's system a little but I don't want button based commands.

Bastard Mami

move this to the proper subforum adn we will talk.

MemphisManX

Where should this go? Devhelp? Could an admin move this to the proper location, please?

DemonicDrPhil

yes and you can move it yourself
Latest Yoshi alpha ready for feedback Aug 15th check here for details...

MemphisManX

done.
Now....any advice anyone?

Bastard Mami

how far away are you on mugen character making ? i will try to make a very general explanation on some points, it might or not be enough.

in your cmd file, instead of triggernig the attacks like you normally do, you would only trigger it based on certain vars; most likely you should use a var to keep track of the currently selected attack and change it's value depending on pressing up or down. you can skip teh menu coding and just use debug to see that var values.

MemphisManX

#6
I've got most sprites done except for a few custom ones needed to smooth the animation a little during things like throws, sweeps, etc., and have the basic coding  for movements, and basic attacks done.
So do you mean I could set vars to keep track of how many times up or down is pressed, then trigger an action based upon the the current value?
That sounds reasonable. Almost like how it works in roms. That's close to how Nasir programmed the menu in FF.
I'm going to play around with that for awhile.
Yes you were helpful, thank you.