From a4f4d3548af664b75c937310549420729ef2793d Mon Sep 17 00:00:00 2001 From: Jamie Bliss Date: Wed, 10 Jul 2019 19:21:47 -0400 Subject: [PATCH] Bump version (Also update readme) --- README.md | 8 ++++---- setup.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 79895d4..f293c23 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ppb-mutant This library provides convenient support for the [Mutant Standard emoji](https://mutant.tech) for games using the [PursuedPyBear engine](https://github.com/ppb/pursuedpybear). -This version is for PursuedPyBear v0.5 and Mutant Standard v0.4.0. +This version is for PursuedPyBear v0.6 and Mutant Standard v0.4.0. Setup @@ -28,7 +28,7 @@ You can replace the use of `image` in your sprites with `emoji` like so: ```python class SlimeSprite(ppb_mutant.MutantSprite): - emoji = 'people_animals/creatures/other/slime' + emoji = 'slime' ``` In addition, the formatting syntax with the variables `morph` and `skin` may be @@ -67,12 +67,12 @@ class CustomizeScene(SelectScene): emoji = 'tick' def on_button_pressed(self, mouse, signal): if self.contains(mouse.position) and mouse.button is ppb.buttons.Primary: - mouse.scene.running = False + signal(ppb.events.StopScene()) def __init__(self, *p, **kw): super().__init__(*p, **kw) left = self.main_camera.frame_left - self.add(self.BackSprite(pos=(left + 2.5, -1.5))) + self.add(self.BackSprite(pos=(left + 2.5, 1.5))) def do_update_morphtone(self): print(self.morph, self.tone) diff --git a/setup.py b/setup.py index a652aa5..aa93f3d 100644 --- a/setup.py +++ b/setup.py @@ -8,11 +8,11 @@ def readme(): setup( name='ppb-mutant', - version='0.7.2', + version='0.8.0', packages=['ppb_mutant'], package_data={'ppb_mutant': ['_assets/*.png', '_assets/*.txt']}, install_requires=[ - 'ppb~=0.5.0', + 'ppb~=0.6.0', ], url='https://github.com/astronouth7303/ppb-mutant', license='Artistic-2.0',