Giter VIP home page Giter VIP logo

brawldynamics's Introduction

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

brawldynamics's People

Contributors

cathyjf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.