YesNoOk
avatar

Some advanced-ish help. (Read 186 times)

Started by Mana94, April 24, 2010, 02:40:17 am
Share this topic:
Some advanced-ish help.
#1  April 24, 2010, 02:40:17 am
  • avatar
  • *
Ok I have gotten good at most fundamentals of a character like attacking, specials, supers, etc.
But I am moving into harder stuff now...

1) How can I make a character change form, like sheik to zelda, zelda to sheik.

2) How can I set a variable to random value between certain numbers.
For example, how could I set variable 10 to a random number between 1 and 6?

3) Same as question 1 but temporary form changes...like where mario turns big for 10 seconds and you can walk back and forth.

4) How can I make charge up moves so that the longer you hold the command, the stronger.
Like smash moves in smash bros.

5) Is there a trigger that activates when you touch the ground?
Last Edit: April 24, 2010, 03:02:10 am by Mana94
Re: Some advanced-ish help.
#2  April 24, 2010, 03:42:28 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
1: Transformation code. Use a variable, turn it on and off, change animations when you do so. It's longwinded, boring, and buggy. It's also in the code library..

2: [mcode]varrandom[/mcode]

3: Angledraw in state -2 if you don't care about hitboxes. Transformation code again if you do.

4: Expressions and variable counters. Increment a variable while you hold the button. damage = number+variable

5:pos Y>= 0
persistent = 0


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.