Bounce the Ball — Browser game made with P5.js

It’s much easier on mobile.
Original Facebook soccer game. Ours is definitely more minimal.

Gameplay — It’s just soccer

P5.js Framework

Math and Physics — I’m out of my element

We never want the ball to be hit downwards so we just ignore hits that are too high.
The angle the ball is launched is determined by where it was clicked. If it was outside of our preferred range (e.g. the ball is to be launched straight left/right) then constrain it to be more upwards.

Game Design — No, we didn’t do anything actually innovative

I could totally score higher if I wasn’t demonstrating…

Closing Thoughts — What I learned

Minimal wiggle.

Potential Future Updates — Yes, we know you can cheat

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store