Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

My Physics Notebook

You can create some beautiful content by using your fingers. The 2D physics offers some neat styles for all kids and adults to enjoy drawing and a great set of levels to express yourself.

Video

Here is a short demonstration of the game. The elements created are supported by Box2D library. Each level will have some space before and after to let player express him/herself

Source Code

You can check the source code of the game.

The source code is created with Codea and an iPad, this game engine let you create the game and test it in the iDevice at the same time.

You can do some interesting things like a rope (Lua code): rope = physics.joint(ROPE, bodyA, bodyB, anchorA, anchorB, length) Or planet physics...

    -- Planets physics
    local x,y = self.base.position.x, self.base.position.y
    for _,b in ipairs (debugDraw.bodies) do
        if b.type == DYNAMIC then
            local grav = vec2(x-b.position.x,y-b.position.y)/2
            b:applyForce(grav)
        end
    end
You can download the code here.
This is a game in already finished, hope you read useful information and some code :)