Ubuntu: sudo apt-get install libsdl2-dev
Install hombebrew for mac: https://brew.sh/ MacOS: brew install sdl2
SDL website: https://www.libsdl.org/download-2.0.php
Install the SDL2 library, clone the repository, then using the MakeFile, you can use the
- make
- make run
commands or by executing the executable (./The_Maze).
The player can use the arrows keys to move inside the maze, there is no exit.
- My story
- What is The Maze
- Inspiration
- How to develop without a game engine
- What I could have done more
- Sources
- Author
The Maze game has been done for the final project of the first year at Holberton School.
As a gamer, and developer, I want my future job to be a Virtual Reality / Augmented Reality game developer, so making a game for my final project was an evidence for me.
I already got a little bit of knowledge about the Unity game engine and at first I wanted to do a game on this engine, but, I told myself: "But how do you do a game without a game engine?".
The Maze is a game in which the player spawn at the center of the map, and is locked in a maze (I had quite the inspiration for the project name right?), the player can try to find the exit (but there is none, evil laught).
The Maze project is a game directly inspired by a famous game: Wolfeinstein3D, Wolfeinstein3D is a game made in 1992, developped by id Software, made without a game engine (exactly what I needed, hallelujah).
To make the game, I used the C language because i already knew some of it, (I could have tried the C++) and the most important thing here was to find the thing to be able to do a game without a game engine, this thing is the SDL library.
For this project, the SDL library was useful for creating a window, rendering things on the window like forms, colors, textures, and taking the user inputs.
SDL site: https://www.libsdl.org/download-2.0.php
- I could have implemented an exit to my labyrinth / EndGame
- I could have implemented objects
- I could have implemented enemies (Like Wolfeinstein3D) / gun in players hands
- I could have implemented rain
And so on, only imagination and skills can make it possible.
https://www.libsdl.org/download-2.0.php
https://lodev.org/cgtutor/raycasting.html
https://www.mathsisfun.com/algebra/trigonometry.html
https://github.com/elanthis/upng
(And some youtube videos)
Alrick Deperiers deperiers.a@gmail.com