Ragdoll Cannon
About
Ragdoll Cannon it´s a college project, just a prototype made for learning.
The goal of the game is to shoot a Ragdoll from the cannon and hit a target (little red box). You have 3 chances to hit the target, otherwise is Game Over !
It´s a simple game coded in C++ with Box2D and SFML 2.1.
Box2D is a free open source 2 dimensional physics simulator engine. written in C++ by Erin Catto. It has been used in multiple games such as Limbo, Angry Birds, Shovel Knight.
A ragdoll is a collection of multiple rigid bodies tied together with a joint by a system of constraints that restrict how the body parts may move relative to each other.
In this game example you can see static rigid bodies (the floor for instance or the cannon) and dynamic rigid bodies (the white boxes in Level 1 or the pendulum in Level 2) The pendulum in Level 2 was made with a static body (pivot point) and a dynamic body (the pendulum per se) tied together with a revolute joint. The joint constrains the motion of two bodies to pure rotation along a common axis.
Install:1- Extract the *rar file.
2- Run Ragdoll.exe
3 - Play
Controls:Arrows key and Enter in the Menu
Left mouse button to shoot the ragdoll