- You have to draw a realistic 3D using RayCaster.
- My cub3D was developed using Metal via mlx, and is only compatible with macOS.
- Subject
- To build and run this, you will need a macOS system. (Apple Silicon or Intel)
- Clone the repository
git clone https://github.com/T2SU/cub3d_42.git
- Navigate to the cloned repository directory and build it. This will create the bonus subject output.
make bonus
- Run the game with the bonus map.
./cub3D ./maps/map_bonus.cub
| Function | Input |
|---|---|
| Move | W, A, S, D |
| Aim | Mouse move, Keyboard ←→ |
| Fire | Mouse left click, Left ctrl |
| Interact | Space |
| WeaponSwitch | 1 ~ 3 (Kick, Pistol, Shotgun) |
| Function | Input |
|---|---|
| Toggle God mode | F1 |
| Toggle Infinity ammo | F2 |
| Toggle transcendence mode (Enemy doesn't shoot at the player) |
F3 |
| Toggle one shot mode | F4 |
- Final mark: (115/100)
- Complete Bonus List: (15/18)
- Wall collisions.
- A skybox.
- Floor and/or ceiling texture.
- An HUD.
- Ability to look up and down.
- Jump or crouch.
- A distance related shadow effect.
- Life bar.
- More items in the maze.
- Object collisions.
- Earning points and/or losing life by picking up objects/traps.
- Doors which can open and close.
- Secret doors.
- Animations of a gun shot or animated sprite.
- Several levels.
- Sounds and music.
- Rotate the point of view with the mouse.
- Weapons and bad guys to fight!
- mlx_example by taelee42 (Korean)
- Raycasting tutorial translation by 365kim (Korean)
- Wikipedia Raycasting
- Raycasting Summary (Korean)
- Make Your Own Raycaster
- Wolfenstein's Map Renderer
- All rights belong to proper right holder.
- ver. Apple Metal (minilibx_mms_20200219_beta) by Olivier Crouzet ol@42.fr
- The Sisters of Mercy - Black Planet ; Instrumental Cover by PythonBlue
- Jun Ishikawa - Dedede's Royal Payback (Nintendo 3DS; Kirby Triple Deluxe OST)
- The little dinasour dooly Cinematic Ending song
- Doom - id Software (from doom2.wad)
- Quake II - id Software
- Half-life - Valve Software
- Doom - id Software
- Doom HD Textures And Sprites by BohdanZPM (*deleted)
- Duke Nukem 3D - 3D Realms (Apogee Software)
- Duke Nukem 3D Upscale Pack 1.1b w. Nuclear Winter sprites
- Doom - id Software
- Doom HD Textures And Sprites by BohdanZPM (*deleted)
- Wolfenstein 3D - id Software
- Doom II - Wolfenstein Door 02 by Hoover1979


