News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Platform(SOLVED)

Started by jailuis, August 16, 2011, 07:48:57 AM

Previous topic - Next topic

jailuis

I've been told that platforms are posible with helpers, but they need every state that needs Pos Y > 0, is that really the only way or is there any way to make it work by changing the offset or something like that?

Cyanide

Huh? No. Platforms work by telling p2 to go back to state 0. If the other person has a "fly if over pos Y= 0 in their stand state they break. They also break on super armour.


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.

jailuis

So,how should i tell the P2 to go to state 0? May I use a Hitdef to get him there??? and If I do, how to stop from making it constant?

Cyanide

That is exactly how you do it. It will STILL break if p2 has a fly code to send you to 0 if above the ground, or if you have super armour.


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.

jailuis

Thanks, So far im gonna make it for a closed game ^^ So It'll be easier, but I got 2 more questions.

1- What triggers should I use so the platform wont hit the player when they are below it or getting though it? I only want them to be hitted by them as they Fall from air.
I thought of these, but right now I have no time to test: (In the hitdef) Trigger1 = Pos Y <= Parent,Pos Y && Parent, Vel Y > 0
for the enemy, use Enemy.. So what do u think?

2- If I want the players to be able to fall in the platform just as in the floor, may I add the falling states For the platform? Or I could get them to the state using the hitdef as well?

Cyanide

You should make p2 selfstate into 50. And don't use = for the pos. That way there is no chance of them getting hit into 0 again while they're on it.


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.

jailuis

Thanks, but u said nothing about the 2nd question. If I want the chars to be able to fall in the platforms, do I need to code special codes for Falling/bouncing/Lie down, etc?

Cyanide

Well you didn't word it right and i assumed it was about dropping off the edges. If you want really specific answers ask really specific questions.

If you wanna fall as if you have been hit right through the platforms, don't let the hits occur if stateno is 5050-5110.


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.

jailuis

Thanks again :) So this will be, Hopefully, the last XD! If the player is falling in the air, and a platform is bellow, the player is supposed to fall in it, so, May I code anything special? Like statenos 5050-5110 FOR the platform? or especial hitdefs/custom states with Selfstateno so they get there? Thanks in advance

Cyanide

You will need to recreate special hitstates for the 5100-5110 series. And selfstate to 5120. And then hope they have no special settings for 5120 to make it act differently.


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.

jailuis

Great, Thanks Cyanide ^^ Solved.