Code

Basketball HTML5 game

Basketball HTML5 game

Basketball HTML5 game

This game is a frontend browser game built with JavaScript, Phaser, and Canvas.

Features

- Ball is shot in a direction based on the cursor’s movement
– Ball changes size to make experience 3D like
– Sound effects make experience like REAL LIFE!
– Ball collides with and bounces on/off rim
– Motion tweens of happy or sad emojis appear based on success of the shot
– Besides the first shot, ball spawns in random locations

by
by
by
by
by
by