How to Play:

Move your cursor to control the bounce pad.

Get the ball into the goal to complete the level.

Try to get it in as few bounces as possible!


Technical Details


Lecture Details

The main gameplay mechanic utilizes the dynamic Rigidbody2D of the Unity physics system. The ball has this component on it to make it conform to gravity. The bounce pad that the player uses has a bouncy physics2D material on it to make the ball bounce. The walls have a similar material with less bounce. The bounce pad will also keep track of every time the ball collides with it and add to the score. When the ball enters the trigger collider on the goal, the ball's velocity and gravity are set to zero. 


Design Details

Iteration

When I initially put the main mechanic together it worked but the player had very little control. If you hit the ball on the very corner of the bounce pad then it sends the ball to that side quickly. In testing I found myself always trying to pull this off in order to make the ball go a certain way. It felt good to get it right but very frustrating when it took a lot of tries. So to give the player some more control, I implemented a  feature to the bounce pad that applies a slight force in the direction it lands. So if the ball bounces on the left side, the ball will go slightly more left and if it bounces on the right side, slightly more right. 

Published 6 hours ago
StatusReleased
PlatformsHTML5
Authorromeosdaydream
GenrePuzzle
Made withUnity
Tags2D, Short

Comments

Log in with itch.io to leave a comment.

level 3 is my enemy