Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Mugen Tutorial Variables

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,999
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 10, 2008

IMPORTANT:

The value i type in for damage was

Damage = Var(10)

i put it here just incase you wanted to see how it was written

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (bovery23)

  • Actually.

    "!time" would actually be faster that "time = 0" cause it needs less proccesing. It was stated in the docs that Elecbyte made.

    It is a great tutorial.

  • thanks anjel :)

  • glad i could help :P

  • i taught myself initially, also done a course on programming once upon a time so that helped a little, but mainly by looking at other characters cns files and working out how things work, but things i didnt understand i either learned from the best mugen coders in forums or personal coding friends

  • randomises the damage to either 20 or 60 with a 50% chance of it being either

  • or instead why not just use this :P

    damage = Ifelse(random<500,20,60)

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • Plzzzzzzz, how did you insert. Test character?

  • wait so like if i wanted to make at least 3

    projectiles shoot out. mmm, how would i type that out?

    would it be somthing like this:

    [state 990];the Projectile

    type = varset

    trigger1 = time = 0

    v = 45; un used variable number

    value = 3;number of Projectiles

    Would it or not? =(

  • how to you make multiple hits on specials like a 2-hit shoryuken?

  • can you do a tutorial on how to do more than one victory animation plz thanks

  • nice vid could u make a vid on how to make super moves that use power and also super pause

  • omg at last i was freaking getting crazy about the variables i was gonna resign on them Thanks a lot for the explanation :)

  • Out of all the tutorials out there, yours = amazing. constructive, detailed, and in depth. Thank you mate^^

  • Love your tutorials. But how do you appear directly in front of your opponent when doing a special combo?

  • so variables can be used for multiple projectiles too, because what i did was copy and paste the previous projectile statedef which took a while.

  • Glad you got around to doing this tut. Variables are vital for doing any kind of complex move really.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more