All Projects → thp → numptyphysics

thp / numptyphysics

Licence: GPL-3.0 license
NumptyPhysics modern port

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Makefile
30231 projects
Roff
2310 projects

Numpty Physics

Build from source

Harness gravity with your crayon and set about creating blocks, ramps, levers, pulleys and whatever else you fancy to get the little red thing to the little yellow thing.

Numpty Physics is a drawing puzzle game in the spirit (and style?) of Crayon Physics using the same excellent Box2D engine. Note though that I've not actually played CP so the experience may be very different. Numpty Physics includes a built-in editor so that you may build (and submit) your own levels.

Numpty Physics is released under the GPL.

Gameplay Hints

Each stroke is like a rigid piece of wire with a mass proportional to its length. A closed stroke is just a wire bent into a shape, it has no substance apart from its perimeter.

The ends of a strokes can (and will) join onto other strokes when drawn near enough to another stroke. These joints are pivots so you can use this to build levers, pendulums and other mechanical wonders.

Jointed strokes don't collide with each other. Join both ends to make a rigid structure.

Editing Hints

It's handy to pause the physics when making a new level though this is by no means necessary. Sometimes it is handy to let the physics run for a little bit just to let the items settle down.

From the editor palette you can choose the crayon colour and then additional properties.

You should make sure that your level has at least one red item (player token) and at least one yellow item (goal item).

Token strokes will only join to other token strokes. Goal strokes will only join to goal strokes. Other strokes will happily join to any non-token non-goal strokes.

Compilation Instructions

On a Debian based system, you may install required packages like this:

apt-get install build-essential libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev

to compile, you simply issue:

make

if all goes well, you should end up with the numptyphysics binary.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].