# Trash Granny - micro\_RPG\_style\_game - P5js P5Play

**URL:** <https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419>\
**Category:** Gallery\
**Created:** [January 11, 2019, 2:09pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419 "2019-01-11T14:09:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![codnpix](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/codnpix/32/243_2.png) [@codnpix](https://discourse.processing.org/u/codnpix)\
**Post date:** [January 11, 2019, 2:09pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419/1 "2019-01-11T14:09:30Z")

</div>

Hi there !  
I share with you a little creation made at school :

“Help this little grandma taking her garbage bag to the local trash can and fighting the many threats on her way !”  
[http://51.75.126.56/trash-granny/index.html](http://51.75.126.56/trash-granny/index.html)

It’s developed in Javascript with P5js, p5.play.JS and some regular JS canvas API too.  
Here the source code repo : [GitHub - Codnpix/trash-granny: TP mini jeu-RPG style](https://github.com/Codnpix/trash-granny)

There is some little bugs with Windows users and Chrome browsers I already reported here :

> [@Problem camera when running on Windows](https://discourse.processing.org/t/problem-camera-when-running-on-windows/7417):
>
> Hello, I developed this little game at school with p5js and P5playJS libraries. The game works globally fine but I got many bug reports from people trying to running it with a Windows computer : The camera doesn’t follow the sprite. Each sprite is created normally and the images are displayed in the good location, but the camera initiate itself in a wrong location and stays static… I can’t figure out if there is something wrong in our code or if there is something to know at a library level. …

Globally it should be running fine. If it’s not, please tell us !

Thank you for your feedbacks :). Have fun !

---

<div class="post-metadata">

**Author:** ![Sky](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sky/32/3013_2.png) [@Sky](https://discourse.processing.org/u/Sky)\
**Post date:** [January 11, 2019, 2:48pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419/2 "2019-01-11T14:48:26Z")

</div>

Lol, funny game

![Cattura](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/9/925b298bc15563e3459e989e53cccd590cec1110.png)

(played in Windows 10, Opera browser)

---

<div class="post-metadata">

**Author:** ![RaGon](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@RaGon](https://discourse.processing.org/u/RaGon)\
**Post date:** [January 19, 2019, 5:19pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419/3 "2019-01-19T17:19:27Z")

</div>

Nice game indeed 😃

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [January 21, 2019, 9:53pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419/4 "2019-01-21T21:53:02Z")

</div>

> [@codnpix](#):
>
> There is some little bugs with Windows users and Chrome browsers I already reported here

I’m seeing that bug on Chrome on Mac, as well. The camera doesn’t follow the sprite, so the game cannot be played.

---

<div class="post-metadata">

**Author:** ![codnpix](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/codnpix/32/243_2.png) [@codnpix](https://discourse.processing.org/u/codnpix)\
**Post date:** [January 22, 2019, 7:14am UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419/5 "2019-01-22T07:14:42Z")

</div>

Yes I’m really sorry for that, I can’t figure out what’s going on with this…

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [January 22, 2019, 6:20pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419/6 "2019-01-22T18:20:20Z")

</div>

Just letting you know. It works in Firefox! Thanks again for sharing your game.
