A pacman game loaded with weapons and fully customizable with lots of themes :)
- Clone the repository
- Run the script
chmod +x install_script.sh && sudo ./install_script.sh
- Build the game using
make
Note: The install script has been written for a ubuntu system and will not work on windows system. Try running the script in WSL instead.
Run make run
in the same directory and a game window will popup. The game is presented with several options to choose from 1 player or 2 player or change the settings.
To run in single player mode, choose 1 player. For 2 player mode choose 2 player mode, this will spawn a server on the window that was launched initially. To connect to the server using a client run make run args=<IP>
where <IP>
is the IP address of the machine on the network. A similar window will spawn and choose 2 player in the newly spawned window to automatically connect to the server. The 2 player game will now start on both sides and the players can enjoy the game. :)
- Use arrow keys to navigate through the maze.
- Every player has two sets of weapons which can be switched by pressing
1
or2
. - The weapons can be fired by pressing
F
and reloaded by pressingR
. - The second player controls the enemies and can switch between enemies by pressing
Tab
.
- Thanks to LazyFoo's excellent guid to SDL, developement became hassle free.
- The large number of themes with cool sound effects wouldn't have been possible without the Unity Asset Store
- Thanks to Shaun Lebron's months of research, we were able to create random pacman like mazes in our game!!! [Note this is Different from the DFS algorithm for maze generation also used in this game]
- Thanks for the
SDL_net
networking tutorial by Stephen Meier.