Full Changelog: v.0.25...v0.39.2
Change Log
-
Compiles with C++ 14
-
Player and Enemy are now subclasses of the Entity class
-
ImGui Added as a submodule repository for debug menu creation and main menu creation
-
Debug screen created and shows the following options by pressing `
- Reset Player Position
- Showing Player Position
- Frame rate cap performance slider
- Show player hitbox checkbox
- Mouse position cords and mouse down
-
Enemies now have simple movement and collision with world border and terrain
- Enemy toggles direction when hitting a wall
- Hitbox scaled to enemy sprite size
- Collision detection between Entities
-
Removed imgui from cleanup command in makefile
-
Handling potential unknown checks for movement handling and bounds checking
-
Textures are now loaded in the Entity class, and specific file names are loaded from the subclasses of each entity type
-
Entities colliding checked in Physics engine
-
Initial Game Over condition if player touches enemy to check collisions
-
Application render and update methods abstracted into multiple methods
-
FPS is now calculated per second instead of every possible frame
Windows Instructions
- Extract the TheOneSDLv0.39.2.zip
- Run TheOne.exe inside the folder
- Any additional DLLs will need to be put in the same directory as the EXE
Linux Instructions
- Extract TheOneSDL.v.0.39.2.LINUX.tar.gz
- Run the setup script for required game dependencies ./linux_setup.sh
- Run ./TheOne
Compiling debugging
If you are compiling with the imgui module and are running into issues please edit the following:
backends\imgui_impl_sdl2.cpp Line 90-91
#include <SDL2/SDL.h>
#include <SDL2/SDL_syswm.h>
backends\imgui_impl_sdlrenderer2.cpp Line 42
#include <SDL2/SDL.h>