This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

lolphysics - Built with Processing

Modes: Game: The object of the game is to destroy as many boxes as possible, before you run out of health, or 90 has passed. Your health goes down everytime you pass outside of the window's boundaries.
Free play: As the name implies, you're free to do whatever you want, for as long as you want. :)

Controls:
Arrow Keys: Move the blue box.
Shift + Arrow Keys: Boost.
Mouse Click: (free play only) Create a randomly colored box or circle. Size is a random number between 5 and the value of the 'Max Size' slider.
Ctrl + Mouse Click: (free play only) Create a randomly colored box or circle. Size is the value of the 'Max Size' slider.
Space: (free play only) Set the location of the blue box to where the mouse is. Useful if the box goes off the screen. (Note: The box's velocity is unchanged. If it's moving fast, it'll be moving fast when it appears at the mouse coordinates.)
R: (free play only) Resets all the sliders to their default value.
C: (free play only) Removes all Boxes and Circles from the screen.

Radio: (free play only)
Box: Changes the selected shape to a box.
Circle: Changes the selected shape to a circle.

Sliders: (free play only)
Gravity: Pretty self explanatory. Positive values, stuff goes down; negative, stuff goes up; zero, stuff floats around.
Shift Force: Determines the amount of the boost.
Max Size: Determines the max of the randomly generated numbers to get the size of new shapes.
Friction: A higher friction means that touching bodies will loose energy, and will result in a "sticky" effect.
Restitution: Set the restitution of the edges, which define itself by the "spring" effect occurring when two bodies. A value of 1 would be a pool ball. The default is 0, which mean no restitution.
Damping: Damping is the effect of "air" on a body. The more damping you have, the more energy lost you will get, resulting in an impression resistance to the gravity effect. Use this function to adjust the damping of all bodies, wich will make it fall faster or slower.
Angular Velocity: How fast the blue cube spins. > 0 is clock wise, < 0 is counter-clockwise.

Credits:
Coding - tacticalbread/Xitherun
ControlP5 (GUI Library) - Andreas Schlegel
PPhys2D (Physics Engine) - Jean-Maxime Couillard (slightly) modified by tacticalbread/Xitherun

Source code: lolphysicsgame

Built with Processing