This project is a raycasting engine written in C and openGL, inspired by classic 3D games like Wolfenstein and Doom. Raycasting is a rendering technique to create a 3D perspective in a 2D map.
Here's a quick look at what I've built with C and OpenGL:
The White House urged that C/C++ is dangerous due to the garbage collection. So, they wanted to stop developing with C/C++.
I had a Nostalgia and admiration on 1990s to 2000s developers. I decided to make a fps game using C and OpenGL.
- Real-time rendering of 2D maps into 3D projections.Of Course, IT'S 2D.
- TPS inspired by <Resident Evil 4>, I made Third Person Shooter with Over-the-shoulder cam.
- Blog written about the detail of each codes.
Code breakdown is in my tech blog. Urls is following. Posts of "Raycaster Breakdown N" is it.
Tech-blog, I guess? by Dutch Vandaline
Before you begin, ensure you have met the following requirements:
- C/C++ installed on your machine
- I recommend you to use Visual Studio if your using on Windows.
- Animation Sprite of player and monster is divided from main code.
Clone the repository to your local machine:
https://github.com/DutchVandaline/Raycaster.git
cd raycaster
You may need Visual Studio and OpenGL installed.