rad-corps / raycaster

Minimal project to get up and running with 2D graphics in SDL2 on Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raycaster

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.

Build and Run

  1. Install Visual Studio 2022 Community Edition https://visualstudio.microsoft.com/vs/community/
  2. clone this repository git clone https://github.com/rad-corps/sdl2-starter.git
  3. Open the solution file in the root of this repository ./sdl2-starter.sln
  4. CTRL+SHIFT+B to build
  5. F5 to run

Raycaster keys

Key Function
Tab Display top down view
` Show/hide player rays
Arrows Move/rotate player
CTRL+Arrows Strafe

GameObjectPool

GameObjectPool

About

Minimal project to get up and running with 2D graphics in SDL2 on Windows

License:MIT License


Languages

Language:C 93.1%Language:C++ 5.4%Language:CMake 1.0%Language:Objective-C 0.5%