The Mugen Fighters Guild

M.U.G.E.N Central => M.U.G.E.N Discussion => Idea Engineering => Topic started by: Mushypepito123 on November 21, 2018, 10:14:13 am

Title: POTs styled Spider-Man
Post by: Mushypepito123 on November 21, 2018, 10:14:13 am
so yeah, i am Creating a POTs styled Spider-Man, with his Moves from all Marvel vs Capcom Games (even MVC infinite). but since i am a beginner, can you tell me how to code his dash and air dash? and i would be very grateful for it, and just give me some ideas and support so that i can finish this web slinger.
Title: Re: POTs styled Spider-Man
Post by: Nep Heart on November 21, 2018, 10:24:16 am
 You have the wrong section, this is where you want to be asking about MUGEN character questions: http://mugenguild.com/forum/m-u-g-e-n-development-help.315

 Anyway, how far are you into this character? If you haven't started or just started, I wouldn't jump into air dash coding immediately since that's a little complicated for a beginner. You basically need to create multiple states for each air dash direction (a 2-way air dash needs 2 separate states while an  8-way air dash will need 8 different states for example) and a generalized state that is entered for whenever any of those air dash states end (preferably over a period of time or a specific distance that air dash moves toward), a variable to limit how many times you can air dash before touching the ground and then add all air dash commands in the CMD where that variable you used earlier tells you when the command is accessible or not.
Title: Re: POTs styled Spider-Man
Post by: Mr. Giang on November 21, 2018, 10:27:15 am
Wrong section pal. But in case you want to learn about Spiderman's coding, you can grab REDHOT's Spiderman as a case study.
Title: Re: POTs styled Spider-Man
Post by: Mushypepito123 on November 23, 2018, 12:43:37 pm
i started about 3 days ago, and sorry about the Topic on the wrong section, at least you guys gave me some helpful feedbacks, thx.
Title: Re: POTs styled Spider-Man
Post by: Odb718 on November 24, 2018, 09:41:39 am
If you're just starting out, I'd read this
http://mugenguild.com/forum/msg.2174048
When you get to
"hits player 2; because it's a fighting game!"
follow the link.

To make the air dash you're going to need to be able to input the button commands. I'd think tapping forward forward, fast, would work? So you'll want to add that into your CMD file if it's not there. When the command is there then you'll want to make a changestate, so it can switch Spiderman to the dash.
 
Open your Spiderman and see if there are states 100 and 105. Those are usually the dash states for the ground.
You'll want to use a number close to 100, and 105 for the air move. Maybe use Statedef 101 for the air dash?

Most people starting out copy and paste similar stuff and edit it. Read the post I linked you, and follow the links to fix the problems you're coming across. Once you get started and hit a new problem, go ahead and post here and we'll help you out some more.

Title: Re: POTs styled Spider-Man
Post by: Mushypepito123 on November 25, 2018, 07:10:20 am
Any additional palettes for Spidey? And custom sprites for the watch-out-spidey move in MVC Infinite?
Title: Re: POTs styled Spider-Man
Post by: Mushypepito123 on November 25, 2018, 07:21:20 am
If you're just starting out, I'd read this
http://mugenguild.com/forum/msg.2174048
When you get to
"hits player 2; because it's a fighting game!"
follow the link.

To make the air dash you're going to need to be able to input the button commands. I'd think tapping forward forward, fast, would work? So you'll want to add that into your CMD file if it's not there. When the command is there then you'll want to make a changestate, so it can switch Spiderman to the dash.
 
Open your Spiderman and see if there are states 100 and 105. Those are usually the dash states for the ground.
You'll want to use a number close to 100, and 105 for the air move. Maybe use Statedef 101 for the air dash?

Most people starting out copy and paste similar stuff and edit it. Read the post I linked you, and follow the links to fix the problems you're coming across. Once you get started and hit a new problem, go ahead and post here and we'll help you out some more.



Thanks. and yep i completely got a new problem, when doing the dash backward, he ascends and loops the animation. :(
Title: Re: POTs styled Spider-Man
Post by: Odb718 on November 25, 2018, 08:24:17 am
Try not to double post. Just use the edit button.

The back-dash problem sounds like your ChangeState at the end. It's probably using the classic,
trigger1 = AnimTime = 0
to change states. But your animation is looping. Which makes that particular trigger never actually work.
See what you have for the changestate.  you can paste the code here if need be.
Also, check to see if a VelAdd or a VelSet, outside of the Statedef, is present. If so, paste that chunk here.

The whole problem could be from the state never switching to Air. You may have neutral physics set, and because gravity isn't working, it'll never fall to the ground. If that's the case, then your ChangeState may be using
trigger1 = Pos Y >= 0 && Vel Y > 0
, or something similar, to end the move.
You could add gravity, or change the move to Air.
Title: Re: POTs styled Spider-Man
Post by: Mushypepito123 on November 25, 2018, 08:33:57 am
yo, i already fixed all of the problems, thanks Odb718, Nep Heart, and Mr. Giang. now unto the Palettes. who can create them for the Webhead? and also some custom sprites for the Watch-Out-Spidey Move?
Title: Re: POTs styled Spider-Man
Post by: Odb718 on November 25, 2018, 11:44:14 pm
Palettes arent tough at all. You just have to know if you're using Winmugen or Mugen 1.0+.
One thing I've done for a couple of my characters is use photoshop, and MS Paint to duplicate the colors of an actual image for a palette.
Just copy your image into paint,
Use the eye dropper to select your first color
Then double click the color, or hit edit color and write down the RGB values.

If you have Fighter Factory open you can just type in the color right onto the character. Then save the palette as a different value or file.

If you have Irfanview, you can copy a part of the image and use the decrease color depth, and get the values pretty fast that way. Sometimes it doesn't work so great. If you get bad results, just undo, and make the number of colors you reduce down to, higher. Then use the Edit Palette to see, and record, the colors.
Title: Re: POTs styled Spider-Man
Post by: Mushypepito123 on November 27, 2018, 10:58:18 am
welp, i ended up Remaking the sprites cause my Fucking Cousin ended up going to my computer and permanently deleted my sff file. and i scolded him for that. anyways i will be inactive until the sprites are remaked

EDIT: THE SPRITES ARE FINALLY REMADE NOW