🐱🏍 — the first pygame 2 community game. Starting now! Are you in?
"My first cat was named Speedy. Because when he went into one of those crazy dashes across the house, he'd run all along the backrest of the couch, like one of those motorcycle stuntperson. On a near-vertical surface."
- github repo: https://github.com/pygame/stuntcat
This was originally an experiment in having the whole pygame community being invited to take part. In making this one game. In 4 days. More info here It was meant to help drive pygame 2 development, making a game with pygame 2. Since then a few people have improved things. It's still meant to be used to develop pygame features and be an example game.
See the stuntcat release notes for details on what has changed.
Get started
For development you can start like this:
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.dev.txt
python run_game.py
For playing you could install it with python3 -m pip install stuntcat, or download an executable from the stuntcat releases page.
The team:
-
@illume - "fixes to pygame 2, any general thing that needs doing.""
-
TJWhale - "Hey, I'm interested in helping with this community game if I can :) I've got some experience with pygame, I actually lanched a game on steam with it"
-
@nachomonkey - "This update focuses primarily on fixing bugs and adding sounds."
-
@MyreMylar - "Investigating this issue here, I thought I'd start by clearing the pylint output of as much as I could."
-
bitcraft - "I hope I can contribute, but my work schedule is awful". pyscroll, pytmx libraries.
-
Bottersnake - snäke library. "In fact, I have a a load of frees today so I'll probably whip up all the boilerplate needed to make everything else quicker to write."
-
@dirk0 - "Unfortunately I am terribly busy right now, but I could contribute music and Mac OSX compilation/testing, if needed."
-
M - "¡Gatito!" music, sound effects, game design, and graphics.
-
@xeno - "I tried drawing a cat, it looks weird."
-
@kleinesfilmroellchen
Awesome libraries
Apart from pygame 2 we are going to try using some awesome libraries.
- pyscroll - scrolling map
- pytmx - tilemap
- thorpy - gui
- pymunk - physics
- snäke - cleaner api
- pyinstaller
- pytest - our game will have some tests.
- ... other?
pygame compatibility
This game works with pygame 1.9.4+ and pygame 2
Running tests
Tests can be found in the tests/ folder.
Type pytest.
Or run python -m tox
Tests are run on Mac, Linux, Windows when there is a pull request made.
Releasing
Releasing is tested with python3.7 (not python2 or any other version).
To the python package index (PyPI).
rm -rf dist/*
python setup.py sdist bdist_wheel
twine upload dist/*
On Windows:
python setup.py bdist_msi
dir build/*.msi
On Mac:
python setup.py bdist_dmg
ls build/*.dmg
Recording gif animations
Run the game with the argument -g:
python run_game.py -g
Press G to start recording two seconds of footage.
Requires imagemagick. Tested on OSX and Linux.
Licenses
Code license
License for code will be the same as the pygame license (LGPL, but you can keep your parts of course!)
Art assets
https://creativecommons.org/licenses/by-sa/4.0/legalcode https://creativecommons.org/2015/10/08/cc-by-sa-4-0-now-one-way-compatible-with-gplv3/
- @AokiAhishatsu stuntcat/data/images/
- M. other stuntcat/data/sounds/
Other assets
- stuntcat/data/sound/boo.ogg: Crowd booing sound, licensed under CC BY 3.0
So technically anyone should be able to distribute the game following those licenses (and even sell it).
Metadata
Release files for stuntcat 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stuntcat-0.2.4.tar.gz | 5.5 MB | Without provenance | Details for stuntcat-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stuntcat-0.2.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for stuntcat-0.2.4-py2.py3-none-any.whl |
Total release size: 11.1 MB
Release files / stuntcat-0.2.4.tar.gz
| Download URL | stuntcat-0.2.4.tar.gz |
|---|---|
| Size | 5.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be11c5d998c7de61d13dcab225586b115ed0d6301dd27fc76e17bf8fb0641a26
|
|
BLAKE2b-256 checksum How to use checksums |
68718a9f9298507f2dd4098f7ca9774e8ca52edba16c46a23c6d63c0ea0f6f65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / stuntcat-0.2.4-py2.py3-none-any.whl
| Download URL | stuntcat-0.2.4-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b3e4c31cd7778cace8a89f81ff61fd9adb694231b02c8a8b4656c7a570560b53
|
|
BLAKE2b-256 checksum How to use checksums |
ea150b5dcea4ad760ae3085160b595fd26d74d06da29f02fa6d5c93e4c7d6bee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for stuntcat 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.