Endless Buttoine

This was made during the 1-Button Jam in 2018. I entered this all by myself and used the Free Platformer Pack from Quaternius.

It’s made in C# and Unity.

My GameJam entry can be found here.

Gameplay

The goal of this GameJam was to create a game you could play with a single button.

This game is a platformer where you have to mash your spacebar to charge up points which you can spend by holding down the spacebar. Depending on the amount of points you have you perform a different action.

Reflection

This is the first game where I have used Scriptable Objects, which were an interesting way to create a game. I mostly used it to create Scriptable Events with the Unity ScriptableObjects Game Events library based on this Unity Unite Austin 2017 talk.

Code

The code I used in this project was pretty simple, which was the result of using Scriptable Objects. Thanks to the Scriptable Objects I could simply call OnKeyPressedEvent.Invoke() and I could just bind methods to this call in Unity. This helped a lot in keeping the code organized and decoupled from stuff a class shouldn’t have to use at all.

Input Classs