Commit graph

25 commits

Author SHA1 Message Date
f142367a8a Use the system's PhysFS if present.
Also add an option to allow the user to override this and force the use of the supplied library.
Pass -DWITH_BUILTIN_PHYSFS=on to cmake to force using the supplied library.
2014-08-04 18:57:14 +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
4166983809 Generate random platforms nicely.
This also fixes the build.
2014-07-30 13:46:50 +02:00
54e8a27709 Working on the collision classes. 2014-07-28 11:00:55 +02:00
250600d8b2 Make the verbosity of the observers manager switchable from the cmake file. 2014-07-17 16:53:14 +02:00
06e3bfdeb7 New Line class and related algorithms and functions. 2014-07-16 23:42:37 +02:00
ad613dc3fd Import of the tree library.
See: http://tree.phi-sci.com/index.html
2014-07-10 21:56:05 +02:00
32d141e877 Look for Boost. 2014-07-05 20:49:18 +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
976d34f17e Movers moved into a separate directory. 2014-07-05 18:48:04 +02:00
6fe884cd5a Platform and PlatformSystem added to the game. WiP. 2014-03-26 10:44:01 +01:00
f0a38a2f8a Adding new files to register objects that require to be notified when resolution changes.
Also added a structure that holds the resolution and the current scaling ratio.
2014-03-20 12:39:39 +01:00
0c6275f41c Draw in abstract units and scale to pixels at the end. 2014-03-20 12:39:39 +01:00
8d2ddaa9ff New TiledWallpaper class for the background. 2014-03-20 12:39: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
383ea0c17b New InputBag, not used yet. 2014-02-23 19:32:47 +01:00
85c65b3e68 Refactoring in Movers.
The displayed texture now bounces vertically.
2014-02-22 13:13:49 +01:00
d0893cba3a Added some structuring.
The game runs but only a black window is shown.
2014-02-21 21:28:34 +01:00
93634da6fa Stop using the do-nothing Path class.
Instead use the newly imported PhysicsFS through a wrapper.
2014-02-13 00:01:29 +01:00
bcc0937726 New code, WiP.
New Path, Character and other simple classes, but a renderer is missing so now nothing gets displayed anymore.
2014-02-12 00:27:55 +01:00
19ad7a77ea More warnings. 2014-02-11 23:36:43 +01:00
091b498ff7 Enable all warnings. 2014-02-10 01:19:05 +01:00
a8f8d50129 New code and data to get something on screen.
WiP.
2014-02-09 00:32:11 +01:00
2429229a95 Code refactored into different files. 2014-02-08 23:11:26 +01:00
ef3a4c1ef6 First commit 2014-01-10 00:04:39 +01:00