summary refs log tree commit diff stats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Added player death and event schedulingKelly Rauchenberger2018-02-181-0/+1
| | | | Also added ability to make sprites flicker, to freeze physics for an entity, and to freeze progression of a sprite's animation loop.
* Implemented map adjacencyKelly Rauchenberger2018-02-181-0/+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/+5
| | | | | | 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.
* Fixed inconsistent rendering failureKelly Rauchenberger2018-02-131-1/+10
| | | | | | | | | | The issue appears to have been caused by blending with unset alpha channels. Also included the re-ordered player character sprite image. The CMake file has been updated to include linking against some Apple libraries that are usually already included in GLFW3. refs #1
* Merge branch 'master' into es-rewriteKelly Rauchenberger2018-02-121-24/+10
|\
| * Modernized CMake filesKelly Rauchenberger2018-02-081-24/+11
| | | | | | | | Also removed an unnecessary cmake package helper.
* | Abstracted behavior related to "orientable" entitiesKelly Rauchenberger2018-02-121-0/+1
| | | | | | | | | | | | | | | | 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/+2
| | | | | | | | Only wall and platform collision currently works, and map edges are not currently implemented.
* | Moved sprite rendering into AnimatingSystemKelly Rauchenberger2018-02-081-1/+0
| | | | | | | | Refactored how systems work slightly. Now, rendering can be done by a number of systems working together. Since the AnimatingSystem handles the animation of sprites, it should also handle the rendering of them. Because of this, the RenderingSystem has been removed.
* | Introduced animated spritesKelly Rauchenberger2018-02-081-1/+1
| | | | | | | | Also restyled a lot of the code.
* | Inlined some componentsKelly Rauchenberger2018-02-071-4/+1
| |
* | Merge branch 'master' into es-rewriteKelly Rauchenberger2018-02-071-0/+6
|\|
| * Updated CMakeLists.txtKelly Rauchenberger2018-02-041-0/+6
| |
* | Merge branch 'master' of http://github.com/hatkirby/therapy into es-rewriteKelly Rauchenberger2015-12-171-4/+7
|\|
| * Updated CMakeLists.txt so that it can find GLFW3 with pkg-config`Kelly Rauchenberger2015-12-171-4/+7
| |
* | Player now movesKelly Rauchenberger2015-06-261-1/+7
| |
* | Now displaying player characterKelly Rauchenberger2015-06-181-0/+4
| |
* | Wrote EntityManagerKelly Rauchenberger2015-06-111-14/+0
|/
* Implemented a simple AIKelly Rauchenberger2015-03-191-0/+1
|
* Wrote an XML Schema describing maps file and also changed the spec a bitKelly Rauchenberger2015-03-181-0/+1
|
* Added sound when you hit the groundKelly Rauchenberger2015-03-141-1/+18
| | | | 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.
* Wrote simple factory to read map and entity data from XML filesKelly Rauchenberger2015-03-141-1/+7
|
* Play a sound when you jumpKelly Rauchenberger2015-03-121-1/+5
|
* C++11'd everything!Kelly Rauchenberger2015-03-101-1/+1
| | | | Also moved location information from physics components into entity.
* Created entity-component systemKelly Rauchenberger2015-03-071-1/+1
| | | | Also tweaked the bloom flicker, tweaked the scanline texture, created a second test map, and created some currently unused sound effects.
* Changed to using stb_image for image loading, also alpha blending works!Kelly Rauchenberger2015-02-211-1/+7
|
* Removed tool used to generate the font, also commited some stuff I forgot in ↵Kelly Rauchenberger2015-02-171-3/+1
| | | | the last commit
* Added bloom!Kelly Rauchenberger2015-02-151-0/+2
|
* Monitor stuff is looking pretty cool!Kelly Rauchenberger2015-02-141-0/+33