Mutant Standard for PursuedPyBear
Project description
ppb-mutant
This library provides convenient support for the Mutant Standard emoji for games using the PusuedPyBear engine.
Setup
- Install the
ppb-mutant
package through your preferred package management system. (pip,requirements.txt
, pipenv, poetry, etc) - Run
python -m ppb_mutant.download
in your project to download the Mutant Standard assets (specifically, the 64px versions)
Usage
MutantSprite
You can replace the use of image
in your sprites with emoji
like so:
class SlimeSprite(ppb_mutant.MutantSprite):
emoji = 'people_animals/creatures/other/slime'
In addition, the formatting syntax with the variables morph
and skin
may be
used for Mutant's customization features:
class PunchRightSprite(ppb_mutant.MutantSprite):
emoji = 'expressions/hands/{morph}/fist_facing_right_{morph}_{skin}'
morph = 'clw'
tone = 'r2' # "colour"
See the modifier guide for details on these.
Copyright Notice
This library uses Mutant Standard emoji, which are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ppb-mutant-0.4.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for ppb_mutant-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b717e83081d37cc96310f16ef041c96f4d75f04cb55d54223e3b9b0dc09f1a3 |
|
MD5 | a6d3bdbed3be330e33504e9e3207ec09 |
|
BLAKE2b-256 | f1250add0a35b5b554ac9ca2f3ce5c877a813960174594b5f1028631600e8480 |