Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: -Whiplash- on June 05, 2014, 08:56:52 PM

Title: Coding Power Bars as Helpers
Post by: -Whiplash- on June 05, 2014, 08:56:52 PM
Hi, I'm trying to code Power bars as helpers and this Is what I've got, this is for a full game I'm making for myself and some friends, so P2 will be the exact same. The bars are meant to be in the style of the Marvel (Or pretty much any fighting game for that matter...)games, where the bars stack on top of each other

The power Bars itself:
(click to show/hide)


Didn't include P2's because it's the exact same thing but the facing and x-Position are different. Colours are place holders for now.

The Only Problem left is that Blue power Bar doesn't appear (when increasing, seems to be a problem with modify Explod section, since changing the value seemed to work, (But then it became too Big)

Can someone with a little experience in this help me out?
All this is odd that some things work but others don't despite all of it being basically the same code over and over again. Can anyone help me?

EDIT: Fixed Some things
Title: Re: Coding Power Bars as Helpers
Post by: Cyanide on June 06, 2014, 01:52:26 AM
Helpers are destroyed when you skip intros. You will need to recreate them in state 0. This is normal behaviour. You have an ID though so this is just a simple state -2 to fix. Or as it's a game you could put it in the common and everyone would get it.

Ugh, modifyexplod, my most hated of all sctrls in mugen. I prefer helpers for this sort of thing, or even having the explod recreate itself with the correct scale. Scaling them upwards tends to be anus too, it's better to make them full size then scale down from there for lower values.
Title: Re: Coding Power Bars as Helpers
Post by: -Whiplash- on June 06, 2014, 02:10:06 AM
Helpers are destroyed when you skip intros. You will need to recreate them in state 0. This is normal behaviour. You have an ID though so this is just a simple state -2 to fix. Or as it's a game you could put it in the common and everyone would get it.

Ugh, modifyexplod, my most hated of all sctrls in mugen. I prefer helpers for this sort of thing, or even having the explod recreate itself with the correct scale. Scaling them upwards tends to be anus too, it's better to make them full size then scale down from there for lower values.

Okay thanks, put them in state -3. (In case somehow P2 get's sent into a custom state at the start of the round though now sure how.)

So this just leaves the modify explode that is ruining the blue bar, how would you go about this with helper's exactly?

EDIT: Nevermind, I fixed it. by making it small and grow instead of big and shrink.
SimplePortal 2.3.5 © 2008-2012, SimplePortal