ppb-mutant

Mutant Standard for PursuedPyBear


Keywords
mutant-standard, pursuedpybear, python
License
Artistic-2.0
Install
pip install ppb-mutant==0.4.0

Documentation

ppb-mutant

This library provides convenient support for the Mutant Standard emoji for games using the PusuedPyBear engine.

Setup

  1. Install the ppb-mutant package through your preferred package management system. (pip, requirements.txt, pipenv, poetry, etc)
  2. 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 kind and skin may be used for Mutant's customization features:

class PunchRightSprite(ppb_mutant.MutantSprite):
    emoji = 'expressions/hands/{kind}/fist_facing_right_{kind}_{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.