summary refs log tree commit diff stats
path: root/src/components/mappable.h
Commit message (Collapse)AuthorAgeFilesLines
* Started working on prototype objects proto-objsKelly Rauchenberger2018-04-211-0/+6
|
* Implemented map adjacencyKelly Rauchenberger2018-02-181-8/+2
| | | | | | This brings along with it the ability to move to different maps, for which the PlayingSystem and PlayableComponent were introduced. The PlayingSystem is a general overseer system that handles big picture stuff like initializing the player and changing maps. The PlayableComponent represents the player. While the ControllableComponent is also likely to always only be on the player entity, the two are distinct by separation of concerns. This also required a refactoring of how collisions are processed, because of a bug where the player can move to a new map when horizontal collisions are checked, and vertical collisions are skipped, causing the player to clip through the ground because the normal force was never handled.
* Refactored rendererKelly Rauchenberger2018-02-161-1/+1
| | | | | | Renderer is basically now more C++'y, as it makes more use of classes (a lot of GL types have been wrapped), and the renderer itself is now a class. The monitor mesh is also now indexed. Tweaked the NTSC artifacting after inadvertently fixing a bug with the way the image was loaded.
* Implemented map rendering and basic collisionKelly Rauchenberger2018-02-111-0/+146
Only wall and platform collision currently works, and map edges are not currently implemented.