Skip to content

cathyjf/BrawlDynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Theory

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

Dependencies

  • 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:

BUILD SUCCESSFUL
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.
</object>

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.

Licence

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

Credits

About

Basic Smash Bros. physics simulation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages