News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Flying

Started by Ryon, January 26, 2013, 05:37:49 AM

Previous topic - Next topic

Ryon

So im making a new character, and I need her to constantly Fly.

that would completely remove the basic movement system mugen has.

now. I need to know how i should do this. cause im having a little issue.

should i code it all on state 0, should i use a variable to activate it, a -1 state in the cmd file.

and shes ALWAYS flying NEVER lands.

TRUEMicah

I'm no expert but have you taken a look at Doggiedoo's Lavia as an example?
She is constantly flying.

Ryon

I tried doogiedoo's Lavia just now.
she doesnt fly constantly.
she merely has something moving her up and down constantly.

she still moves and acts like a character, I need like free flying, where what ever direction you press moves her in that direction.

Cyanide

Just code it, make sure type is A and don't let them enter state 0. I recommend keeping control if you can manage it though, it's nicer to control movement than stateno = value instead.

Any flight code will do, all you need to do is make sure it's physics = N so landing isn't forced.


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.

TrinitroRoy

*looks at Ryon's signature and then at the topic title again*
Wait, are you trying to make a "Hopeless Masquerade"-styled Reimu? o_O
===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Ryon

@ Cyanide , I did have all of that. And I had gotten nice results, But I ran into a issue, if she was ever hit, she would go into a fall state , i would need to recode her entire 5000's "system" which im a idiot at doing for something complicated. Also, I had actually used state 0 from the common1.cns to code the movement, and it honestly worked out great.

But as i said i DID have it, I saved it, but i also scraped the idea, mainly cause its alot of issues to deal with mainly 5000's.

Quote from: Trinitronity on January 26, 2013, 04:36:13 PM
*looks at Ryon's signature and then at the topic title again*
Wait, are you trying to make a "Hopeless Masquerade"-styled Reimu? o_O

Trying to? I already have her up and running, the SFF is built at like 50%.

Cyanide

Erm, make that type = S, falling is instantly nulled, unless someone has fall.


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.

TrinitroRoy

Quote from: Ryon on January 27, 2013, 12:49:23 AM
Quote from: Trinitronity on January 26, 2013, 04:36:13 PM
*looks at Ryon's signature and then at the topic title again*
Wait, are you trying to make a "Hopeless Masquerade"-styled Reimu? o_O

Trying to? I already have her up and running, the SFF is built at like 50%.

That...was damn FAST!
===My discord servers===
Unlimited Force HQ: https://discord.gg/hnyK7JZ
Mega Man Megamix Engine Help Server: https://discord.gg/Wjm9GYU

Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
Quote from: bitter nothings on April 30, 2010, 09:35:51 PM
you are all small and can't grow manly sideburns

Odb718

I would think a lot of copy/paste or simple redirection on the 5000s would work easy. Just make it so that if it enters State 5000, make it so it switches to 5020? or just copy and past 5020 into 5000 and 5010, copy 5030 into 5001 and 5011. That'd be what I tried first to get rid of ground reactions. But when other characters put your character into custom states you might get some funky results.

If I were you I'd code in something to reset your character to pos y 0 if she goes thru the bottom of the screen.
vVv Gouken718 vVv SabreTooth718 vVv


Cyanide

If flight has type = A that will set your hittype to fall/drop/recover. If flight has statetype = S you'll run through standing hitstates. And wind up in 0.

I trust as you want perma flight that you have overridden 0 in some way. Either by making it flight or doing a changestate on time = 0 to send you to flight. One or the other.


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.

Ricepigeon

I was about to say you could take a look at my old Mima's flight code. I know it's not accurate to Hopeless Masquerade's system (since Mima_RP predated the game) but outside of her 5000 states you can probably find what you need. Only difference would be her "standing" states which allowed her to use different normals when she was close to the ground, which can easily be rectified through modifying triggers. I have no idea if thats accurate to HM or not and I have no intention of finding out.

AlexSin


Ryon

I should have mentioned I sorta worked it out. I gotta tweak the 5000's to feature wall bounce when close to the wall and there dramatic "still floating but really im dead" stuff.

http://www.youtube.com/watch?v=gtWj5LgyvhI

Aki-Sora

Quote from: Ryon on January 29, 2013, 04:02:43 AM
I should have mentioned I sorta worked it out. I gotta tweak the 5000's to feature wall bounce when close to the wall and there dramatic "still floating but really im dead" stuff.

http://www.youtube.com/watch?v=gtWj5LgyvhI

She can fly.Hehe!! Funny but cool.Thank Ryon and music is good to.