Two Hour Challenge
What is this?
I was on a discord call and had some time to kill so I challenged myself to make a game in 2 hours. I ended up finishing it with 2 minutes and 27 seconds to spare. This wasn't for a game jam or anything.
The rules were the following:
- Can't use pre-existing code I wrote before
- Can't use any sprites I drew before, only Unity shapes or freshly drawn sprites
- Can't look at documentation at all
For choosing the genre, I asked my friends for ideas and compiled it into a spinning wheel. It landed on trains, so I came up with an idea to have a shooty shooting game take place on a train.

Is it any good?
Well, it's playable. It probably won't crash. It also has a really big null reference exception that I didn't fix in time. You also don't have much survivability either, and when you die, you're forced to reload the entire game because I neglected to add a scene reloader on death.
Controls
Use A and D or LEFT and RIGHT arrow to move, press SPACE to jump, and LEFT CLICK to shoot.
When you die, you must refresh the entire page.
So why does this exist?
I recorded the entire process from start to finish but something went wrong with OBS while saving the final recording and it only ended up saving the first 46 minutes out of the 2 hours. I was going to post a link to the recording if it didn't fail, but now you'll just have to trust my word that I did this in 2 hours.
This was a really neat way to review some Unity concepts and basics. The code is very sloppy and not worth looking back on, but the time pressure really made me lock in and focus.
I have nothing else to say, other than that I had fun, and this challenge was an interesting way to spend a Friday night. Please enjoy this sprite of a lil guy I made while on call.
This challenge was completed from 8 PM to 10 PM on May 2, 2025
Leave a comment
Log in with itch.io to leave a comment.