Commit graph

13 commits

Author SHA1 Message Date
0a3897f60a Refactor cmake file so the main part of the code is a lib. 2016-11-11 21:18:39 +01:00
5e76b49cae Use the deferred virtual call mechanism to avoid the virtual
call bug in the constructor.

See docs/wrong_virtual_call.md for a description.
2016-11-10 23:19:55 +01:00
68d179975e Cast vectors explicitly using vector_cast. 2016-11-02 18:37:45 +01:00
7985ba2bc4 Add old code that is presumably made to display debug collision lines. 2016-10-31 20:10:33 +01:00
efb0f93062 Draw collision lines for the platforms as well.
This highlits the issue with the broken collision and bouncing.
2014-08-25 19:28:10 +02:00
105020b5c1 Added a DrawableLine class for debug builds. 2014-08-19 21:49:08 +02:00
727345fbe9 Unused function. 2014-08-14 10:57:33 +02:00
cdd37fead7 Add code to register objects to the collider.
The character and the platforms can register now, but
collision is not triggered for some reason.
2014-08-01 00:50:49 +02:00
0e2303112f Assert fix. Enable clipping on platforms. 2014-07-28 11:04:02 +02:00
f52476a4ec Add some collision bars. 2014-07-28 11:03:39 +02:00
4a3a0a4782 Add some (badly) generated platforms that will scroll
down whenever the player's top side depasses the middle
of the screen.
WiP.
2014-07-05 20:33:16 +02:00
2a4ae78374 Move semantics in SizeNotifiable. 2014-03-26 23:00:02 +01:00
6fe884cd5a Platform and PlatformSystem added to the game. WiP. 2014-03-26 10:44:01 +01:00