top of page

Loop Game

My "Game Maker's Toolkit Game Jam 2025" submission

For my submission to the GMTK Game Jam 2025, I knew it would be my first entirely new game, and that I would need to create it from scratch. But I saw this less as a challenge and more like an opportunity to learn something new and make something fun.

Video demo of the final playable demo of the Loop Game

Concept:

I had a simple idea in my head of a little gear spinning around the inside of a big loop-shaped level, with spikes coming out of the walls that kill the gear.

Loop Game play mechanics.png

I started with the character controller, as I knew this had to be custom-made, and decided on an implementation of the player not actually moving through the level, but the level rotating based on the player's inputs.

 

I also implemented acceleration and deceleration to sell this illusion. And I added a jump as a sort of quick-escape, for scenarios where the player could get surrounded by spikes and needs to get to safety.

Sketch of the idea, establishing controls, hazards, and visual feedback
Code of the custom PlayerController, accelerating and rotating the level

Risk-reward:

I knew spikes would be the risk, but wanted a reward to motivate players to actually traverse the level. For this, I stuck to simple collectible coins that would spawn on the ground and in the air.

 

It was at this point that I realized the game consists of 3 layers: Ground, Aerial, and Bullseye. Ground is only accessible by moving, Bullseye is always traversed past when jumping, but Aerial combines the two by making jumps hit specific parts of this layer.

Loop Game dynamics2.png
Sketch of how I could make the jump going through different layers interesting depending on where objects spawn
LoopGameLevelManager.png

So next, I implemented a system that would spawn coins and spikes on each of the three layers. And after adding weighted chance (to spawn more spikes on the ground than in the air) and AnimationCurves (to determine how many spikes are allowed to spawn at specific scores), I was able to slightly control the randomness and increase the amount of risk the player needs to traverse to get a specific amount of reward.

On top of that, I implemented the concept of visible timers on coins and spikes, to allow players time to react or plan ahead, and I took heavy inspiration from LTOWVisibleTimersMod.

 

I tried to make the system just as flexible as I had in that mod, by making all its visuals and parameters editable and accessible from any feature I would attach it to. The timers also have UnityEvents upon starting its fill, reaching the peak fill, and depleting, to automate things like enabling or deleting coins and hazards.

LoopGameTimerWithEvents.png
The LevelManager script containing Serializable collections of prefabs to spawn with a weighted chance, and AnimationCurves to determine maximum parameters and cooldowns
The timer, with parameters and events to not need to custom-code every interactions
Video demo of timers' feedforward when and where they will appear and when they will disappear

Playtesting:

While making the game, I could foresee three possible problems: 1) constant tension could actually get disengaging, 2) switching from controls on the ground to controls on the ceiling could be disorienting, and 3) people would like more clarity on where spikes are going to spawn.

Issue 1 I addressed before playtesting, by adding a pinata that would spawn every few hundred points. The first times it spawns it will stop other hazards and coins from spawning, letting players freely wail on it to rack up points.

​

And in playtesting, this feature was quickly understood and very positively received.

Video demo of the party pinata creating moments of relief

Issues 2 and 3 were indeed confusing to people, as people died to spikes right after jumping to the ceiling or to spikes they couldn't see coming.

 

These could be easy fixes by adding an option to let players customize controls on the ceiling, and by using half-transparent materials instead of making spikes fully invisible before spawning, but decided to leave the project as-is to focus on college graduation.

Video of the old frame-rate dependent character controller

One other issue that arose was frame rate dependency in the controls: higher-end pc's moved the player faster.

​

At first I created a hotfix by limiting the game to 60 fps, the framerate is was tested and intended with. But, in the third version, I fixed this by applying Time.deltaTime to calculations that I missed in the first version.

​

However, from this I did learn about Unity's targetFrameRate and vSyncCount, and their effects.

Video of the new frame-rate independent character controller

If you would like to enjoy this little project too, you can download it through itch.io, following this link: Link to the page

GameLoopGame itch page 2025-10-25.png
The online listing to GMTK Jam 2025 - Loop Game as of 2025-10-25
bottom of page