I made a game like Doodle Jump in p5js & Froobit


#1

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

Live demo here:

Any feedback is appreciated!


#2

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.


#3

Thanks :slight_smile:

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!


#4

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

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


#5

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

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!!!


#6

Thank you! :slight_smile:

Oh, I will update the link now!