A downloadable game for Windows

Welcome to raycore!

raycore is a simple first-person walking simulator. It is the product of a few courses I did when I was completing my undergraduate at Portland State.


The rendering for raycore is an implementation of Ray Casting. This was the algorithm used for Wolfenstein 3D. I did my implementation from scratch (though credit to Permadi for providing excellent articles on the math behind raycasting).


My implementation includes rendered walls, floors, ceilings, sprites, and skyboxes. In addition, I added variable height walls and sprites (these can be 64 pixels or higher).


I also wrote a level loading system from scratch. While this may not seem like much, it's essentially a compiler from a text file to a render-able environment. With this system, you can build levels without having to recompile all the source code.


Recompile the source code? Yes, Raycore is entirely open source. You can check out the source code here.

Lastly, if you ever wanted to know how I implemented ray casting, I did a series of articles detailing the math behind ray casting:

  1. Implementing a Ray Caster Part 1: Basic Wall Rendering
  2. Implementing a Ray Caster Part 2: Sprite Rendering
  3. Implementing a Ray Caster Part 3: Floor, Ceiling, and Sky Rendering
  4. Implementing a Ray Caster Part 4: Optimization Techniques

I hope you enjoy, and have a blessed day!

Download

Download
raycore.zip 1 MB

Install instructions

For Windows Users:

  1. Download the zip folder.
  2. Navigate to the zip folder, and extract its contents somewhere on your machine.
  3. Navigate to the extracted contents, and double click on raycore-release

For Linux Users:
YOU NEED TO INSTALL SDL2 ON YOUR MACHINE! SO PLEASE DO THAT BEFORE CONTINUING!

  1. Clone the following repository somewhere on your machine: https://github.com/wynnliam/raycore.git
  2. Navigate to the root of the directory.
  3. Run the command 'make all'
  4. Navigate to the bin folder and run './raycore.out'