项目作者: AuroraSloan

项目描述 :
A ray-casting graphics project
高级语言: C
项目地址: git://github.com/AuroraSloan/cub3d.git
创建时间: 2021-04-26T05:13:56Z
项目社区:https://github.com/AuroraSloan/cub3d

开源协议:

下载


cub3d

cucco gameplay

The goal of this project was to become comfortable with ray-casting by creating a dynamic view inside a maze. The cub3d project is based on the classic Wolfenstein 3D game http://users.atw.hu/wolf3d/.


Installation

  1. git clone https://github.com/AuroraSloan/cub3d.git

Usage

First, create the executable with make

  1. make - compiles the cub3d executable
  2. make clean - removes all .o files
  3. make fclean - removes all .o files and the executable
  4. make re - removes all .o files and the executable before recompiling the program

In order to run the game window, run the executable with the .cub file.

  1. ./cub3d maps/mabe_library.cub

A saved image in the players initial point of view will be saved as a .bmp file with the following command instead of opening the game

  1. ./cub3d maps/mabe_library.cub --save

gameplaybmp

Controls

W A S D will allow you to move around the map.

will allow you to look around the map.

ESC or will allow you to safely exit the game.

Plot

Evil Ghini have taken over Mabe Village Library!

Please save all the Cucco before it’s too late. Don’t leave anyone behind!

#hint: A map will show you the way