Skip to content

This is the alternative 'Maze project' for the 'Research & Project approval (Part 1)' project in the ALX Software Engineering program.

Notifications You must be signed in to change notification settings

AyomideA-S/alx-maze_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alx-maze_project

This is the alternative 'Maze project' for the 'Research & Project approval (Part 1)' project in the ALX Software Engineering program.

Maze project

Background Context

The goal of this project is to create a game in 3D using raycasting !

Tasks

  1. Walls !

    In this first part, you’ll have to:

    • Create a window with SDL2
    • Use raycasting to draw walls on your window !
    • You don’t need to be able to rotate the camera during the execution in this part, but you must provide a way to change the angle of the camera in your code to see if it works after recompiling it
    • The color of the walls must be different from the color of the ground/ceil
    • The map doesn’t need to be parsed from a file, but you must provide a way to modify it in your code to see if it works after recompiling it. (e.g. using an array of arrays of integers or characters)
  2. Orientation

    In this part, you must draw a different color depending on the orientation of the walls.

    • You must at least draw walls facing NORTH and SOUTH in a different color from walls facing EAST and WEST
  3. Rotation

    You must provide a way to rotate the camera during the execution.

    • For example, you can rotate the camera when the left,right arrows are pressed on the keyboard
    • Or you can rotate the camera when the mouse moves, just like a FPS game !
  4. Move

    You must provide a way to move the camera during the execution.

    • For example, you can move the camera when the w,a,s,d keys are pressed on the keyboard
  5. Ouch !

    In this part, you must handle the collisions of the player (yes, let’s call the camera player now, it’s getting serious) with the walls.

    • The player must not be able to enter walls
    • You can make the player slide on the walls instead of just stop it
  6. Parser

    In this part you must implement a parser to get the map from a file.

    • You are free to define the standards of your map (The character for a wall, the character for nothing, the extension of the file if you want, …)
    • Your program will need a parameter to run which will be the path to the map file
  7. Draw the map

    In this part, you must draw the map on the window.

    • You’re free to draw the map where you want, with the color you want, …
    • You must provide a way to enable/disable it during the execution
    • Include the player’s line of sight in the map
  8. Coding style + Documentation

    You can check all of this by yourself, just follow the instructions on this repository.

    Be careful

    The check will be done on each file present on your turn in repository. Even the files that was not required. So don’t forget to always keep your turn in directory clean.

  9. Textures

    In this part you have to add textures on your walls !

  10. Multi task !

    Add a way to move on several directions and rotate in the same time. Basically in this part you’ll have to handle multiple events on the same frame.

    For example, if the keys to move are w,a,s,d:

    • If the keys w and s are pressed in the same time, the player shouldn’t move,
    • If the keys w and d are pressed in the same time, the player should move forward and right in the same time,
  11. Ground textures

    In this part you have to add textures on the ground and/or on the ceiling !

  12. Weapons

    Add weapons textures !

  13. Enemies

    Add some enemies !

  14. Make it rain

    Add rain and a possibility to stop / start the rain with a key.

  15. Extra option

    Shadows, special lightning, etc… get creative!

About

This is the alternative 'Maze project' for the 'Research & Project approval (Part 1)' project in the ALX Software Engineering program.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published