Splash

An basketball shooting simulator. Created in Visual Studio Code using Crisp-Game-Lib and Javascript.

Playable Link

GitHub Source Code Link

 

Splash was created for a One-Button game prompt for school. I coded and designed the entire game.

  • Gameplay

    Idle Animation - Before each shot, the player sprite slowly dribbles up to take the shot. This was accomplished using multiple sprites and switching them after a certain amount of time using booleans. The logic is applied to after the shot when the player runs to the end of the screen.

    Shooting - When the player holds clicks and holds, an arrow will appear showing the player the angle at which the ball will launch. When the input is released, the ball will be launched at that angle.

    Scoring - If the ball hits the gold rim from the top, the player will either score 1 or 3 points. 1 point is scored if the ball hits the backboard, 3 points is scored if the ball hits the rim without hitting the backboard. A firework animation plays and a different sound plays for a 3 point shot.

  • Worked Well

    Simple running and dribbling animations looked good.

    Ball release mechanic functioned well.

    Game is easy to understand how to play.

    Gives a retro basketball vibe.

  • Potential Improvements

    Physics are not perfect. It doesn’t always bounce realistically or right 100% of the time.

    Difficulty does not scale over time, the only thing that changes is the height of the basket, which is randomized in a set range.

    Color scheme is limited in Crisp-Game-Lib, so I wasn’t able to use a realistic ball color like orange.

Previous
Previous

Field Goal

Next
Next

Junkyard Jubilee