Commit graph

18 commits

Author SHA1 Message Date
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
63bb31e728 Make the Prepare and Destroy step more customizable. 2014-07-28 10:58:15 +02:00
9c660caec6 Use the new tree-based registration system in the mover. 2014-07-10 21:56:05 +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
fc50c6af55 Generate one platform and draw it. WiP. 2014-03-28 10:55:09 +01:00
0c6275f41c Draw in abstract units and scale to pixels at the end. 2014-03-20 12:39:39 +01:00
ccc831e34d Refactoring in SDLMain. 2014-03-20 12:39:39 +01:00
4e3ad27ae8 Unneeded code. 2014-03-20 12:39:39 +01:00
8d2ddaa9ff New TiledWallpaper class for the background. 2014-03-20 12:39:09 +01:00
d27b5773ca Temporary movement code. 2014-03-05 22:09:32 +01:00
fce08ed793 GPLv3 license. 2014-02-25 14:17:09 +01:00
ab31e94bf0 Movement with left/right arrow keys.
Movement is hardcoded but it works.
Also fixed some typos that gave me a hard time figuring out why
movement was giving all sort of crazy problems. Very bad typos,
see gameplaysceneclassic.cpp, inputbag.cpp, inputbag.hpp and key.hpp
if you want to get goosebumps.
2014-02-25 00:36:33 +01:00
597607366e InputBag in a working state and getting used. 2014-02-24 21:16:00 +01:00
d9ccbede66 Removed unneeded code in Placeable. 2014-02-24 21:09:33 +01:00
85c65b3e68 Refactoring in Movers.
The displayed texture now bounces vertically.
2014-02-22 13:13:49 +01:00
739b75b0b6 Support texture resizing. 2014-02-22 12:25:16 +01:00
28bd73a1f7 PNG loading and major refactoring.
PNG loading is not working properly yet.
2014-02-21 21:51:56 +01:00
d0893cba3a Added some structuring.
The game runs but only a black window is shown.
2014-02-21 21:28:34 +01:00