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.
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
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 endYou can download the code here.