This was originally a project intended as a framework to fork to get up and running in SDL2 on windows. I didn't stick to my own original ideas and this has accidentally turned into my raycaster game project. At some point I should change the repository name and factor out the framework bits to their own repo.
- Install Visual Studio 2022 Community Edition https://visualstudio.microsoft.com/vs/community/
- clone this repository
git clone https://github.com/rad-corps/sdl2-starter.git
- Open the solution file in the root of this repository ./sdl2-starter.sln
- CTRL+SHIFT+B to build
- F5 to run
Key | Function |
---|---|
Tab | Display top down view |
` | Show/hide player rays |
Arrows | Move/rotate player |
CTRL+Arrows | Strafe |
GameObjectPool