Tomato Toss Arena banner

Tomato Toss Arena

5 devlogs
20h 50m 25s

a game where you fling tomatoes, eggs, watermelons and stones at waves of enemies. drag to aim, release to shoot, try not to miss or your combo dies. there's upgrades between waves which is lowkey the best part. hard mode is actually cooked rn ngl…

a game where you fling tomatoes, eggs, watermelons and stones at waves of enemies. drag to aim, release to shoot, try not to miss or your combo dies. there’s upgrades between waves which is lowkey the best part. hard mode is actually cooked rn ngl. small silly project but it’s been fun — more enemy types coming soon prolly.Share

This project uses AI

i used ai mostly for debugging the css and the html5 canvas stuff like the canvas collision detection and the physics for the projectiles was tricky to get right and ai helped me figure out what was going wrong also the css had this weird issue where the whole screen would shake after a round ended and i couldnt figure out why ai helped me trace it back to an animation class that wasnt being cleaned up properly basically anywhere the visual output was doing something unexpected i used ai to help me understand and fix it the actual game design and logic and how everything fits together was me i just used it as a debugging tool when things looked or behaved wrong

Demo Repository

Loading README...

pseudonerd20092007

Shipped this project!

Hours: 20.84
Cookies: 🍪 94
Multiplier: 4.53 cookies/hr

built a fruit-throwing cannon game in vanilla js. debugged some nasty canvas and css timing bugs. really happy with how it turned out

I learned:

how html5 canvas rendering actually works
physics simulation from scratch gravity velocity projectile arcs
managing game state without it turning into a mess
how css animations can bleed into places you dont expect

pseudonerd20092007

the game is finally completed!
Here’s the overview:
tomato toss arena is a browser game where you shoot stuff at walking targets using a cannon you drag and release to aim and fire there are 4 weapons tomato is your basic balanced one watermelon is big and heavy and hits nearby targets too egg is fast and light and goes through multiple enemies and stone just hits really hard every weapon feels different on hard mode enemies take way more hits so every shot actually matters targets walk across the screen and if they get past you lose a life you have ammo so you cant just spam forever you reload with r there are 5 waves and between each one you pick an upgrade like more ammo faster reload or more power enemies get tougher each wave normals fast ones armored guys and elite golden ones that take forever to kill hit targets in a row to build a combo and multiply your score wave ends you get bonus points for accuracy combo and surviving then it all resets slightly harder next wave beat all 5 waves you win

0
pseudonerd20092007

Added:
⚫ HP to targets
⚫ Target Types: normal, fast, armored & elite
⚫ Throwables: watermelon, egg & stone
⚫ Accuracy points
⚫ Progress Bar

Improved:
⚫ CSS and animations part
⚫ Game Logic

Working on:
⚫ fixing bugs
⚫ improving game logic

Attachment
Attachment
Attachment
Attachment
0
pseudonerd20092007

ui is clean!, game logic sucks a bit but will fix it, will add some good progession to it

0
pseudonerd20092007

completed css, now writing the game logic, the canvas isn’t visible due to some bugs, will fix it and complete the game logic, hopefully game should be bug free :)

Attachment
0
pseudonerd20092007

building the code structure and game logic, learning canvas on the side, designing how the game should look

Attachment
0