# I made a game like Doodle Jump in p5js & Froobit

**URL:** <https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659>\
**Category:** Gallery\
**Created:** [December 16, 2018, 6:03pm UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659 "2018-12-16T18:03:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![r4nd0m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/r4nd0m/32/9477_2.png) [@r4nd0m](https://discourse.processing.org/u/r4nd0m)\
**Post date:** [December 16, 2018, 6:03pm UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659/1 "2018-12-16T18:03:10Z")

</div>

Hi,  
I just made a small game similar to Doodle Jump game using p5js & Froobit framework.

 ![download](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/de0754194ebf1c7e189e2b9aff4ddd4ee26fa8fa.png)

Live demo here:

> **[WinterBird Game by r4nd0m7](https://r4nd0m7.itch.io/winterbird)**
>
> A simple HTML5/Javascript game made with Froobit Game Framework

Any feedback is appreciated!

---

<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:** [December 18, 2018, 10:39pm UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659/2 "2018-12-18T22:39:38Z")

</div>

Fun!

You could have it detect when the character has entered freefall and, if so, start over. For example, by comparing to the height of the lowest platform, or by checking the velocity is more than -x.

This would also enable you to add features like “previous top score” as the game web page doesn’t need to be reloaded every play.

---

<div class="post-metadata">

**Author:** ![r4nd0m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/r4nd0m/32/9477_2.png) [@r4nd0m](https://discourse.processing.org/u/r4nd0m)\
**Post date:** [December 19, 2018, 6:12pm UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659/3 "2018-12-19T18:12:42Z")

</div>

Thanks 🙂

Yeah, good advices. I will have to add a game over check and perform a restart of the game.  
Since I don’t keep the state of each platform, I think I will go with velocity check approach!

---

<div class="post-metadata">

**Author:** ![r4nd0m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/r4nd0m/32/9477_2.png) [@r4nd0m](https://discourse.processing.org/u/r4nd0m)\
**Post date:** [December 20, 2018, 9:06pm UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659/4 "2018-12-20T21:06:48Z")

</div>

I completed the basic features and game is now available here:  
[http://owom.io/froobit/winterbird/](http://owom.io/froobit/winterbird/)

![](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/295a99ef5a272e0692e461ddadf8a1e83219208f.png)

It very much serves as an example project for getting started with Froobit JS, but is also fun to play 🙂  
Code is available on Github: [https://github.com/ognjenvucko/winter-bird-game](https://github.com/ognjenvucko/winter-bird-game)

---

<div class="post-metadata">

**Author:** ![dan850](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dan850](https://discourse.processing.org/u/dan850)\
**Post date:** [December 21, 2018, 2:13am UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659/5 "2018-12-21T02:13:09Z")

</div>

This is pretty addicting! I wish i could give this more likes! ❤❤❤❤❤❤❤❤❤❤

one minor thing, you might want to edit your previous link for the live demo because there is a 404 error when clicked: -)

Great work!!!

---

<div class="post-metadata">

**Author:** ![r4nd0m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/r4nd0m/32/9477_2.png) [@r4nd0m](https://discourse.processing.org/u/r4nd0m)\
**Post date:** [December 21, 2018, 5:42pm UTC](https://discourse.processing.org/t/i-made-a-game-like-doodle-jump-in-p5js-froobit/6659/6 "2018-12-21T17:42:12Z")

</div>

Thank you! 🙂

Oh, I will update the link now!
