Skip to content

Berryfeels/Programming_Combat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D - Raycasting FPS Game

🚀 Overview
Cub3D is a Wolfenstein 3D-inspired game that utilizes raycasting to create a pseudo-3D environment. 
The game features map exploration, sprite interactions, and an interactive minimap.

🛠️ Mandatory Features
		✅ Basic Rendering
		Raycasting-based 3D environment.
		Wall rendering without collision detection.
		Flat colors for the sky and floor (no textures).

		✅ Player Movement
		Free movement within the map.
		Basic rotation and directional movement.

		✅ Map System
		.cub map file format defines the layout.

✨ Bonus Features
	🔹 Enhanced
		* Skybox texture for a realistic sky rendering ("SK" identifier in .cub file).
		* Ceiling texture for immersive indoor environments ("C" identifier in .cub file).
		* Textured floors for better aesthetics.
		* Minimap for better bavigation.
		* Rotating with mouse.
		* Sliding doors.
		* Audio: Soundtrack and audio effects. NOTE!!! Set the right audio files directory of your PC in the code.

	🔹 Combat & Enemies
		* Weapon system
		* Left Control key to shoot.
		* Bullets deal damage to sprites.
		* Enemy AI (Sprites)
		* 2D moving sprites that chase the player.
		* Enemies cause health damage upon contact.

	🔹 Game HUD & Objective
		* Player health displayed at the lower-left corner of the screen.
		* Player ammo displayed at the lower-left corner of the screen.

	🔹 Objective:
		* Find the key 🔑.
		* Unlock the final purple door 🚪.

🎮 Controls
Action			Key
Move Forward		W
Move Backward		S
Turn Left		A
Turn Right		D
Shoot			Left Control
Door open/close Space
Exit Game		ESC

About

C based, Unix FPS game with customisable maps and textures

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages