Skip to content

πŸš€ The WhiteHouse urged not to use C/C++ due to safety. I felt like the end of C/C++. For all my respect, I made a Raycaster Third Person Shooter using C and OpenGL

Notifications You must be signed in to change notification settings

DutchVandaline/Raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Raycaster with C and OpenGL

Overview


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.

Demo

Here's a quick look at what I've built with C and OpenGL:

raycaster

Background

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.

Features

  • 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

Code breakdown is in my tech blog. Urls is following. Posts of "Raycaster Breakdown N" is it.
Tech-blog, I guess? by Dutch Vandaline

Getting Started

Prerequisites

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.

Installation

Clone the repository to your local machine:

https://github.com/DutchVandaline/Raycaster.git
cd raycaster

You may need Visual Studio and OpenGL installed.

About

πŸš€ The WhiteHouse urged not to use C/C++ due to safety. I felt like the end of C/C++. For all my respect, I made a Raycaster Third Person Shooter using C and OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages