โš”๏ธ My First Fighting Game ยท Episode 1 of 5 ยท See All Episodes
๐ŸฅŠ Episode 1 ยท Beginner ยท The Fighting Game Engine

Round One!
Fighter Basics

MUGEN is the legendary free fighting-game engine, every character, stage and screen is editable text. Install it, learn the file anatomy, add fighters and stages, and make your first real edits.

๐Ÿ‘ถ Ages 10+ โฑ๏ธ ~1.5 Hours โš”๏ธ MUGEN โœ“ Free
๐ŸฅŠ MUGEN setup ๐Ÿ“ File anatomy ๐Ÿ“„ DEF files ๐ŸŽญ Adding fighters ๐ŸŸ๏ธ Adding stages โš™๏ธ First edits
โญ
0 XP
Level 1
๐Ÿ”ฅ0
Your Progress 0 / 6 steps
1
๐ŸฅŠ
Install MUGEN
Get the engine running with its default fighter
Active
๐ŸŽฏ
Goal for this step

Download MUGEN, run it, and play your first match.

  • 1Download MUGEN 1.1 (or 1.0), the classic free engine by Elecbyte, mirrored on fan sites like the MUGEN Free For All and Mugen Archive communities.
  • 2It is portable: unzip to a folder like C:\MUGEN\, no installer. (Windows-native; Mac/Linux users can run it via Wine.)
  • 3Run mugen.exe: title screen! Arcade mode with the default character Kung Fu Man (KFM), the tutorial fighter the whole community learns from.
  • 4Default controls: arrows move, A/S/D + Z/X/C are your six attack buttons (three punches, three kicks, the classic layout). F1 instantly wins a round while testing!
  • 5Play a match. This engine has powered fan fighting games for 25 years, and every part of it is about to be yours to edit.
๐Ÿ‘จโ€๐Ÿ‘ง
Parent note: MUGEN is free closed-source software by Elecbyte, kept alive by a huge fan community. Stick to well-known community sites for downloads, and expect Windows-only tooling.
โœ๏ธ
Fill in the Blanks
+15 XP
MUGEN needs no installer, it is fully . The default tutorial fighter is Kung Fu , and the classic control layout uses attack buttons.
๐Ÿง 
Knowledge Check
+15 XP
What makes MUGEN special among game engines?
AIt is 3D
BEverything, characters, stages, menus, is plain editable files; the whole engine is a modding platform
CIt requires no files
2
๐Ÿ“
Engine Anatomy
chars, stages, data, sound, who lives where
Locked
๐ŸŽฏ
Goal for this step

Learn the folder structure and the files that control everything.

  • 1Open the MUGEN folder: chars/ (fighters), stages/ (arenas), data/ (engine config + motif/screens), sound/ (music), font/.
  • 2The master file: data/mugen.cfg, resolution, difficulty, frame rate. Open it in Notepad (or better: Notepad++, free), it is readable text with ; comments!
  • 3The roster file: data/select.def, the characters and stages on your select screen. Memorise this path; you will edit it constantly.
  • 4A character folder (chars/kfm/) holds: .def (identity card), .sff (sprites), .air (animations), .cmd (commands), .cns (the brain/stats), .snd (sounds).
  • 5Everything is text + assets. No black boxes anywhere.
โœ๏ธ
Fill in the Blanks
+15 XP
Fighters live in the folder. The select screen roster is defined in data/.def, and a characterโ€™s identity card is its file.
๐Ÿง 
Knowledge Check
+15 XP
The .def / .sff / .air / .cmd / .cns split meansโ€ฆ
AMUGEN is disorganised
BEach concern has its own file: identity, sprites, animations, inputs, logic, separation of concerns, 1999 edition
COnly .def matters
3
๐ŸŽญ
Add a New Fighter
Download, extract, register in select.def
Locked
๐ŸŽฏ
Goal for this step

Install a community character and put them on the roster.

  • 1Grab a well-rated community character (creator sites and the big MUGEN forums host thousands, read comments, pick quality).
  • 2Extract the characterโ€™s folder into chars/, e.g. chars/Ryu/ containing Ryu.def and friends.
  • 3Register: open data/select.def, find the [Characters] section, add a line with the folder name (it looks for chars/Ryu/Ryu.def automatically).
  • 4The name must match the FOLDER (and its .def name) exactly, the #1 beginner error is a typo here.
  • 5Launch: your new fighter is on the select screen. You just modded a game engine.
data/select.def
[Characters]
 ;--- your roster ---
kfm
Ryu
 ;Ken, stages/mybeach.def   <- character with a fixed stage
 ;randomselect              <- a random slot
โš ๏ธ
If MUGEN crashes at the select screen after an edit, it is ALWAYS select.def: a typo, a missing folder, or a character made for a different MUGEN version. Comment lines out with ; to bisect.
โœ๏ธ
Fill in the Blanks
+15 XP
New fighters are extracted into chars/ and registered by adding their folder name to the ] section of select.def. Lines are commented out with the character.
๐Ÿง 
Knowledge Check
+15 XP
Adding "Ryu" to select.def makes MUGEN look forโ€ฆ
AAny file named Ryu anywhere
Bchars/Ryu/Ryu.def, folder and def sharing the registered name
CThe internet
4
๐ŸŸ๏ธ
Add Stages & Music
Arena .def files and BGM
Locked
๐ŸŽฏ
Goal for this step

Install a stage, register it, and give it music.

  • 1Stages are simpler: usually one .def + one .sff dropped straight into stages/.
  • 2Register in select.def under [ExtraStages]: stages/mybeach.def.
  • 3Music: open the stageโ€™s .def, the [Music] sectionโ€™s bgmusic line points at a file in sound/. Drop any .mp3 in sound/ and point bgmusic at it: custom soundtrack!
  • 4Peek at the rest of the stage .def while you are in there: camera bounds, floor height (zoffset), parallax layers, all plain text numbers you can tweak.
stages/mybeach.def (excerpt)
[Music]
bgmusic = sound/beach-theme.mp3
bgvolume = 100

[Camera]
boundleft = -320
boundright = 320

[StageInfo]
zoffset = 210     ; floor height on screen
โœ๏ธ
Fill in the Blanks
+15 XP
Stages register under ] in select.def. A stageโ€™s soundtrack is the line in its own .def, and the floor height is called .
๐Ÿง 
Knowledge Check
+15 XP
Stage music being a text line pointing at an mp3 means custom soundtracks requireโ€ฆ
AA music editor
BDropping a file in sound/ and editing one line, modding at its friendliest
CRecompiling MUGEN
5
โš™๏ธ
First Character Edits
Open the CNS and change real stats
Locked
๐ŸŽฏ
Goal for this step

Edit a fighterโ€™s stats and feel the power of open files.

  • 1Open chars/kfm/kfm.cns in Notepad++. Find the [Data] section: this is the characterโ€™s stat block.
  • 2life = 1000 (health), attack = 100 (damage %), defence = 100 (damage taken %).
  • 3Experiment 1: life = 2000. Save, launch, fight KFM, twice the health bar!
  • 4Experiment 2: [Size] section โ†’ xscale/yscale = 1.5, giant KFM. (Set them back after the giggle.)
  • 5Experiment 3: [Velocity] section โ†’ walk.fwd faster. Every number in a fighting game is in files like this, balance patches ARE these edits.
chars/kfm/kfm.cns
[Data]
life = 1000       ; max health
attack = 100      ; damage dealt (%)
defence = 100     ; damage taken (%)
power = 3000      ; max super meter

[Size]
xscale = 1        ; sprite width multiplier
yscale = 1        ; sprite height multiplier

[Velocity]
walk.fwd  = 2.4   ; walking speed
โŒจ๏ธ
Code Challenge
+20 XP
Give KFM double health and a 20% damage boost:
kfm.cns
[Data]
life = 
attack = 
defence = 100
๐Ÿ’ก Hint: Health doubles from 1000; attack is a percentage where 100 is normal.
๐Ÿง 
Knowledge Check
+15 XP
Editing life = 2000 and seeing it in-game teaches the core MUGEN truth:
AMUGEN is buggy
BCharacters are DATA, every stat, move and behaviour is a number or line you can change
CHealth is cosmetic
6
๐Ÿ—บ๏ธ
Roster Design & Series Roadmap
Curate a quality roster and preview the journey
Locked
๐ŸŽฏ
Goal for this step

Build a curated starter roster and know what comes next.

  • 1Quality over chaos: 6-8 GOOD characters beat 100 random ones. Test each: do they feel similar in power? Do sprites match in scale/era? Curation is design.
  • 2Arrange select.def deliberately, order and a stage per character (the "name, stages/x.def" syntax) make it feel authored.
  • 3Try Watch mode (AI vs AI) to compare character quality quickly, balance shows fast when computers fight.
  • 4The road ahead: Ep 2 builds a custom fighter, Ep 3 programs AI, Ep 4 designs a stage, Ep 5 assembles the complete game with screenpack and story. Your fighting game has begun.
โœ๏ธ
Fill in the Blanks
+15 XP
A curated roster of 6-8 quality fighters beats a chaotic hundred, consistent level and sprite matter. AI vs AI comparison uses mode.
๐Ÿง 
Knowledge Check
+15 XP
Why does a curated 8-fighter roster beat 100 random downloads?
ASmaller download
BCoherence: matched power, art style and quality make it feel like ONE game, not a pile of files
CMUGEN caps at 8
๐ŸŽ‰๐Ÿ†๐ŸŽฎโœจ๐ŸŽ‰
Workshop Complete!
Engine installed, files understood, fighters and stages added, first edits made, the MUGEN foundation is set. The series continues with your Custom Fighter!
0
Total XP
1
Level
0
Best Streak
0%
Accuracy
โ–ถ Episode 2: Custom Fighter โ†’
โญ View My Progress & Certificates

This workshop was free and took many hours to build. If it helped you learn something new, consider supporting the project.

☕ Support on Ko-fi