Skip to content
/ Cub3D Public

Ray-casting game for wasting productive time.

Notifications You must be signed in to change notification settings

f0rkr/Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D

The goal of Cub3D is to make something using raycasting from scratch with low level C ✨ (like Wolfenstein 3D).

Screenshot of the game

Making this game gave me a basic idea on how games are made, it's was a fun experience. Althoug It was pain in the arse, managing all memory leaks and function that's C makes you do on your own. Enjoy it 🎴

Usage

f0rkr@shell» make
f0rkr@shell» ./cub3D map.cub

You can edit map.cub to change textures and player position, sprites textures, colors and map form.

Screenshot of the map config file

It also has the feature to screenshot the game and save in a bmp format simply by adding --save to your command. use:

f0rkr@shell» ./cub3D map.cub --save

Resources I used: