This is a simple projectile shooting game. You can control a blue circle at the center of the screen and shoot projectiles at colorful enemies that appear from all side. The goal is to survive and score points by destroying enemies.
This is a simple projectile shooting game. You can control a blue circle at the center of the screen and shoot projectiles at colorful enemies that appear from all side. The goal is to survive and score points by destroying enemies.
I built a projectile shooting game where the player controls a blue circle in the middle of the screen and shoot projectiles at colorful enemies to get points. I learned how to use Canvas API, Tailwind CSS, HTML, GSAP and JavaScript to create a playable shooting game.
Log in to leave a comment
Added a start game button
Log in to leave a comment
So I added a score using the tailwind css library
When the player hits the enemy they get 100 points
When the player hits the player to the point that they are gone they get 250 points added to their score
Log in to leave a comment
Now I shrunk the enemies on hit with the gsap library and created particle explosion on hit
Log in to leave a comment
This time i got some color to the game such as changed the background color, changed the color of the player and enemies
Log in to leave a comment
Detect collision on enemy/projectile hit
Detect collision on enemy/player hit
Now every time the enemy hits the player the game stops
Log in to leave a comment
I have created enemies in different sizes and in all directions of the screen
Log in to leave a comment
This is shooting projectiles
Every time the screen gets clicked red dots appear
Log in to leave a comment
I created a player with the use of canvas
Log in to leave a comment