Skip to content

pingminus/Cpp-RayCaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

C++ RayCaster

This is a simple 3D raycasting game implemented in C++ that runs in the Windows console. The player navigates a map by casting rays, with movement controlled by the keyboard.

Features

  • 3D Raycasting engine in a console environment
  • Simple first-person movement with W, A, S, D keys
  • Dynamic field of view (FOV) and distance rendering
  • Customizable map layout

Gameplay Screenshot

Prerequisites

To run this project, you will need:

  • Windows Operating System (since it uses the Windows API to interact with the console)
  • No additional setup required if using the provided .exe file

How to Run

  1. Run the Game
    If you just want to play, you can directly run the 3D Engine.exe file:
    • Double-click 3D Engine.exe to start the game.

Troubleshooting

If your window looks like this: image

Change the console window size to match the expected dimensions. This can be done by manually adjusting the window size or setting it programmatically via the provided code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages