This is the final code of the tutorial series Discover Python and Patterns.
- Anaconda with Python 3: https://www.anaconda.com/distribution/#download-section
- Pygame: in anaconda prompt, run "pip install pygame"
- tmx: in anaconda prompt, run "pip install tmx"
In anaconda prompt:
- go to the folder with "main.py"
- run "python main.py"
The python code (.py files) and levels (.tmx files) are under MIT license (see LICENSE file).
The other files in the "assets" folder are the property of their respective authors and have the following licenses:
I didn't find the author of some files, please create an Issue so I can credit everyone!
- Cartoon Font:
- File: BD_Cartoon_Shout.ttf
- Author: Not found
- Website: https://www.dafont.com
- Link: https://www.dafont.com/fr/bd-cartoon-shout.font
- License: Free
- Ground Shaker:
- Files: ground.png, units, walls.png, icon.png, cursor.png, tankgame.ico
- Author: zintoki (https://zintoki.itch.io)
- Link: https://zintoki.itch.io/ground-shaker
- License: Free for commercial and non-commercial use
- Note: the complete set is not used, all image files are extracts
- Explosions:
- Files: explosions.png
- Author: chabull (https://opengameart.org/users/chabull)
- Link: https://opengameart.org/content/explosions-0
- License: Attribution 3.0 Unported (CC BY 3.0) (https://creativecommons.org/licenses/by/3.0/)
- Note: the complete set is not used, all image files are extracts
- Shoot:
- File: 170274__knova__rifle-fire-synthetic.wav
- Author: knova (https://freesound.org/people/knova/)
- Link: https://freesound.org/people/knova/sounds/170274/
- License: Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) (https://creativecommons.org/licenses/by-nc/3.0/)
- Explosion:
- File: 110115__ryansnook__small-explosion.wav
- Author: ryansnook (https://freesound.org/people/ryansnook/)
- Link: https://freesound.org/people/ryansnook/sounds/110115/
- License: Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) (https://creativecommons.org/licenses/by-nc/3.0/)
- Gang war:
- File: 17718_1462204250.mp3
- Author: Not found
- Website: https://www.freesfx.co.uk
- License: Royalty Free (https://www.freesfx.co.uk/Music.aspx)
- Military Madness:
- File: 17687_1462199612.mp3
- Author: Not found
- Website: https://www.freesfx.co.uk
- License: Royalty Free (https://www.freesfx.co.uk/Music.aspx)
- Deadly Talk:
- File: 17675_1462199580.mp3
- Author: Not Found
- Website: https://www.freesfx.co.uk
- License: Royalty Free (https://www.freesfx.co.uk/Music.aspx)
- Opening Day:
- File: 17382_1461858477.mp3
- Author: Not found
- Website: https://www.freesfx.co.uk
- License: Royalty Free (https://www.freesfx.co.uk/Music.aspx)