King of the Hill

Game overview:
A simple game that plays around the interaction between viewers and streamers

My contributions:
I was the single developer in the game side, the web side is done by other guy, so I’ve wrote and synced everything

Link:
https://earnonlive.com/games/koth


Overview

This was a simple project in terms of features, but the main challenge was setting up the connections between Unity-TikTok Live, and Unity-Server. Fortunately, the code for these integrations was open-source, which allowed us to troubleshoot and move forward through most of the issues we encountered.

Beyond the connection setup, a key technical challenge was implementing viewers-triggered abilities. Many of these abilities interacted with the Animator system—often simultaneously—which required careful coordination. Managing transitions between ragdoll physics and controllable states also proved tricky, but we solved it using state machines.

Finite State Machines (FSMs) were heavily used throughout the project, not just for gameplay logic like the player controller, but also for handling server and live-stream interactions. FSMs are a structure I particularly enjoy working with, and they are quite good in keeping the project organized and scalable.