summary refs log tree commit diff stats
path: root/src/consts.h
Commit message (Collapse)AuthorAgeFilesLines
* Added freefalling terminal velocityKelly Rauchenberger2018-02-191-0/+1
|
* Implemented map adjacencyKelly Rauchenberger2018-02-181-1/+1
| | | | | | 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.
* Abstracted behavior related to "orientable" entitiesKelly Rauchenberger2018-02-121-2/+8
| | | | | | | | A lot of the stuff that ControllingSystem did to control the player character was moved into the new OrientingSystem. This is so that the player, or any player-like entities, can also be controlled by AI, with the underlying behavior being delegated in the same way as if the player were being controlled by the user. Fixed the issue where, if the player were blocked while moving horizontally, they would remain blocked even if vertical movement were to remove the collision. Fixed cases of the player animating incorrectly after performing certain movements.
* Implemented map rendering and basic collisionKelly Rauchenberger2018-02-111-0/+3
| | | | Only wall and platform collision currently works, and map edges are not currently implemented.
* Player now movesKelly Rauchenberger2015-06-261-0/+3
|
* Game can now read map file from map editor (also added new map)Kelly Rauchenberger2015-03-181-0/+14