summary refs log tree commit diff stats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Refactored rendererKelly Rauchenberger2018-02-162-2/+2
| | | | | | 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.
* Abstracted behavior related to "orientable" entitiesKelly Rauchenberger2018-02-123-36/+50
| | | | | | | | 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-112-4/+165
| | | | Only wall and platform collision currently works, and map edges are not currently implemented.
* Introduced animated spritesKelly Rauchenberger2018-02-084-49/+90
| | | | Also restyled a lot of the code.
* Inlined some componentsKelly Rauchenberger2018-02-078-234/+209
|
* Whitespace changesKelly Rauchenberger2018-02-055-9/+9
|
* Player now movesKelly Rauchenberger2015-06-269-29/+233
|
* Now displaying player characterKelly Rauchenberger2015-06-184-0/+126
|
* Wrote EntityManagerKelly Rauchenberger2015-06-1118-1054/+0
|
* Fixed bug allowing player to jump through walls when crossing a vertical map ↵Kelly Rauchenberger2015-03-191-5/+5
| | | | | | boundary It turns out that it is somewhat confusing that GAME_HEIGHT != MAP_HEIGHT*TILE_HEIGHT
* Implemented a simple AIKelly Rauchenberger2015-03-195-11/+235
|
* Wrote an XML Schema describing maps file and also changed the spec a bitKelly Rauchenberger2015-03-181-8/+8
|
* Game can now read map file from map editor (also added new map)Kelly Rauchenberger2015-03-185-5/+30
|
* Removed "../" from file pathsKelly Rauchenberger2015-03-163-5/+5
|
* Fixed error with empty left and right mapsKelly Rauchenberger2015-03-151-3/+3
|
* Started writing map editorKelly Rauchenberger2015-03-142-2/+2
|
* Added sound when you hit the groundKelly Rauchenberger2015-03-1416-0/+805
Also split up components.cpp into files for each class, fixed a bug concerning falling off the screen when you change maps, and converted collision data into doubles.