Basic Smash Bros. physics simulation.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENCE.txt Revised Jan 9, 2013

Brawl Dynamics

This Applet provides a basic simulation of the physics of Super Smash Bros. Brawl. It was created by Cathy J. Fitzpatrick in January 2009 and is based on what was known about Brawl mechanics at that time. As such, it may not be completely accurate, but it does provide an approximation of the physics.


The theory behind the physics simulated by this program comes from the following two articles:

Try the applet

You can try the Applet in your browser right now.

How to compile and run your own copy of the Applet


  • You will need a JDK to compile the program, such as OpenJDK.
  • Apache Ant is used to build the program.

There are NetBeans project files in the repository. However, NetBeans is not required to build or use the program.

Build the Applet

Change into the directory where you cloned the repository and try

ant jar

If the build succeeds, the output will end with something like this:

Total time: 3 seconds

After building the program, a dist directory has been created which contains dist/BrawlDynamics.jar (the program itself) and dist/lib/swing-layout-1.0.4.jar (a standard library used by the program).

Embed the Applet in a web page

You can embed the Applet in a web page with the following HTML snippet:

<object type="application/x-java-applet" width="494" height="440">
    <param name="code" value="dynamics.SimulationApplet" />
    <param name="archive" value="dist/BrawlDynamics.jar" />
    This Applet requires a Java browser plugin.

Note that the file dist/lib/swing-layout-1.0.4.jar must be present for this to work, even though it is not mentioned by name in the HTML code.


This program is licensed under the GNU Affero General Public License, version 3 or later.