A little and simple yet (hopefully ! ) fun game. The game is made with python 3.7+ and Pygame 1.9.4 (should work with following versions).
I got the idea of coding a game in python a few months ago when I couldn't think of anything else new and entertaining to write. Moreover I thought I'd be a good way to play a simple game with some members of my family & friends. Hopefully you will have fun with it too ! I do not spend a lot of time coding it though so don't expect any regular update. To code this game I first had to get some knowledge on the Pygame module. I mostly read the official documentation to learn how to use pygame. I also used this template to begin my game. I want to thank KidsCanCode (LISCENCE) for this much apreciated time saving help ! If you are intersted in helping in the development please write to me. Also please feel free to send advices and recomendations. They will all be taken into consideration.
NOTICE: If you are an artist and are interested in making custom sprites for this game you will be welcome !
The game is a multiplayer shared screen. The players all compete in a small arena and must be the last one standing in order to win. Teammatches are planned although I have not started working on them yet.
If you'r under Linux you can just download the version you want by following this link. The Mega folder contains all versions compiled for Linux. I haven't compiled any version for windows so you'll probably have to wait until the full release to get it unless anyone ask for it before that. Meanwhile refer to the next section to get the game.
Once you have the compiled version downloaded simply extract its contents (if compressed) and run onto the binary file (the one called
PixelBrawl-ALPHA). That's it ! I hope you enjoy. Don't hesitate to give me your feedback !
If you have the python interpreter installed the first thing you should do is to install pygame by running:
pip3 install pygame
pip install pygame --user. The user option can be omitted if you installed python only for your user.
Then download the source code of the latest stable (
v0.3-a3) or experimental (
master-branch) version. Extract the source code into a directory then open a terminal (or command prompt under windows) in the directory and type:
That's it ! I hope you enjoy. Don't hesitate to give me your feedback !
How to play:
The goal of the game is to kill your opponent(s). To do this your first task is to pick up a weapon. For this you need first to move to it using:
Player1: The arrow keys
Then you're going to need to pickup the said weapon. For this use the pickup key:
- Player1: The
Once that's done you can shoot at whatever seems best to kill you enemy by pressing:
Although the game doesn't yet (see #12 ) allow you to change the controls you can still do it with some manual configurations ! To do this open the
settings.py file into your favorite text editor and change the PLAYER PROFILE of your choice. This part of the file is documented so it tells you which key refers to what. However it doesn't come with a list of all the pygame keys names. If you have trouble with this and can't wait for me to implement the settings in the game, post a comment on issue #12 .