| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project consists of creating a small Arcade Game containing a simple 1 VS 1 game, using a Raspberry Pi and buttons/joystick.
The Project started on 16/05/2022, and the submission date was set for on 13/06/2022.
First, the creation of the 1 VS 1 game with the language (I choose Python and Pygame) of our choice and with some functionalities like :
5 screens :
2 players with :
Then, importation of our program into a Raspberry Pi Model 3B+ with the controllers plugged.
This game is inspired by the movie TOP GUN and it is an Air Battle Game (player against player) !
The Goal for both players will be to destroy the opponent in a DOG FIGHT. Both Players has bullets and missiles to shoot and 100 point of health. | Bullets = 5 damages / 20 points | Missiles = 15 damages / 40 points. |
At the end of the game, the score of the winner will be save in a json.file (saves.json) and display on the Score menu.
To play TOP GUN Fighter, you must be 2 players and have 2 controllers (PS4). You can also use the keyboard !
Note : In the menu of the game you can find the controls and rules on the Instruction section
In order to use our game, you have to clone the repo on the desktop of the Raspberry Pi:
git clone https://github.com/KevOneRedOne/TopGun_Fighter-Raspberry-PiMake sure that all dependencies are installed on your computer or the Raspberry :
Install few packages :
Then, go to the file:
cd TopGun_Fighter-Raspberry-Pi/And let's play the game !!
python .\main.py Ou
py .\main.py On the Raspberry Pi, move the topgun.desktop file on the file script to the execution shortcuts :
sudo mv ./topgun.desktop /etc/xdg/autostart/topgun.desktopThen, the program will be executed on the login.
To succeed in making our project, we had to resource ourselves on the net, here are some of the resources we used :
| Back | FazBrowse Home | New Git URL |