++++ This post is mirrored from here

This is an entry to Itch.io’s Weekly Game Jam #150.

Play on Github pages

This is the first gamejam I’ve decided to team up with someone random from the internet. Which was really cool for working in a team under a time crunch.

This fella is my teammate


The main theme of this gamejam was **You are the enemy** which was first very confusing and we had literally no idea what to even do. We were first planning on making a game where you have to kill yourself through a mirror, But it sounded very wrong so we decided to drop having living things in game.

Having material things to break and explode made it much more interesting so we thought of making a game where you play as a drone and try to shoot yourself by ricocheting off of walls. Being limited on time we decided to make it Top Down ( We already wasted 20+ hours on this brainstorming which also included some completly off theme ideas which were cool).

The final idea we decided was make a game where we should destroy the tank we're sitting in to pass the level.
Well the objective of ricochting bullets seems easy just use physics, but we wanted to have an aiming system which shows where the bullet is going, which turned out to be **SOO** simple but I was going the complete stupid way of computing it.

(Spoiler) This Sorcery!

What we had to do was to use the hit.gameObject.normal to get the surface normal of the object hit and just flip the hit vector.

After a very “fun” session of brainstorming and finally implementing bullet reflections using vector reflections and dot products.

We finally finished the game 20 minutes before the deadling.. (phew).In the end we had alot of fun coming up with the idea and making it.

Gallery

Image from Gyazo Image from Gyazo