Giter Site home page Giter Site logo

albanobattistella / numptyphysics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mcuringa/numptyphysics

0.0 1.0 0.0 4.39 MB

NumptyPhysics modern port

License: GNU General Public License v3.0

HTML 0.84% Makefile 1.45% C++ 94.70% Roff 1.08% Python 1.93%

numptyphysics's Introduction

Numpty Physics

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.

numptyphysics's People

Contributors

thp avatar albanobattistella avatar hoijui avatar lkundrak avatar alexl000 avatar vvs- avatar

Watchers

James Cloos 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.