Modified May 28, 2023 | 2 minute read

Triangle Ball

Project Overview (Link)


As described in A Mission To Spread Love?, soon after I learned about programming for the first time in grade 10, I got the idea for this 2D physics-based sports game where players would control triangles and try to score on each other.

At first, I didn't even know how to write a for-loop, but after a few years of working on-and-off, tens of thousands of lines of code, and a full restart from scratch later, I can safely say that this is the biggest project I have ever created.

Over the course of making Triangle Ball, I also completed the Unity Junior Programmer pathway (link to certification) and created many other projects. I learned so much throughout the entire process.

Bots

I am especially proud of the bots I programmed, as I used calculus that I was learning in first year so that the bots can predict exactly where and when they will get to the ball (see the picture above where the ball is about to bounce off the wall). 

Technologies

The game was created using Unity and C#.

Graphics

I also created all of the art for the game myself! I love to use a website called Photopea, which is basically Photoshop but free and can be used on a web browser.