Chair Legacy by rtmrn

[raw]
made by rtmrn for LD32 (COMPO)
In Chair Legacy you play an old chair maker, that has made some enemys. Defeat your enemys by hitting them with your chair.

Controls:
Wasd / arrow keys for movement
Space for hitting

Linux only so far, you will need to build from source and have the sfml and box2d libraries.

Feedback

Phil Strahl
20. Apr 2015 · 18:44 UTC
Can you post a compiled version please? I don't have a C++ build-system set up ;)
Sverik
20. Apr 2015 · 18:48 UTC
Unfortunately did not compile with my Box2D 2.2.1-5.fc20:

g++ -c -o player.o player.cpp
player.cpp: In member function ‘void Player::move(bool)’:
player.cpp:125:52: error: no matching function for call to ‘b2Body::ApplyForce(b2Vec2&, const b2Vec2&, bool)’
, body->GetWorldCenter(), true);
^
player.cpp:125:52: note: candidate is:
In file included from /usr/include/Box2D/Box2D.h:48:0,
from player.h:20,
from player.cpp:19:
/usr/include/Box2D/Dynamics/b2Body.h:745:13: note: void b2Body::ApplyForce(const b2Vec2&, const b2Vec2&)
inline void b2Body::ApplyForce(const b2Vec2& force, const b2Vec2& point)
^
/usr/include/Box2D/Dynamics/b2Body.h:745:13: note: candidate expects 2 arguments, 3 provided
player.cpp: In member function ‘void Player::turn(bool)’:
player.cpp:132:50: error: no matching function for call to ‘b2Body::ApplyTorque(float, bool)’
* directionMultiplier, true);
^
player.cpp:132:50: note: candidate is:
In file included from /usr/include/Box2D/Box2D.h:48:0,
from player.h:20,
from player.cpp:19:
/usr/include/Box2D/Dynamics/b2Body.h:776:13: note: void b2Body::ApplyTorque(float32)
inline void b2Body::ApplyTorque(float32 torque)
^
/usr/include/Box2D/Dynamics/b2Body.h:776:13: note: candidate expects 1 argument, 2 provided
make: *** [player.o] Error 1
Nilq
23. Apr 2015 · 16:51 UTC
Cool graphics! :3
GagaPete
30. Apr 2015 · 06:35 UTC
The controls are strange but the graphics are nice. You should really wrap it up (link the libraries statically) and upload a zip.
Looks like it was your first LD so be proud on your result and learn from your mistakes for the next time.