Oddinary Farm

OVERVIEW

// METRICS

Engine
Unity
My Roles
Associate Director,Gameplay Programmer,Sprite Artist
Platforms
PC

Oddinary Farm is an arcade-style co-op farming game built in Unity. The game combines classic farming mechanics with chaotic gameplay, blending casual building with tower defense. The game is made by Spring Rolls Studio, a small team made up of college graduates.

The lead programmer is Khoa Nguyen and I was the associate lead programmer. The game hosts peer-to-peer multiplayer utilizing Steamworks Facepunch and Unity's Netcode for GameObjects. The open playtest is out now on Steam!

TECHNICAL FEATURES

// Systems that I've contributed to

Steam Lobbies & Invites

Oddinary Farm is peer-to-peer co-op built on Unity Netcode for GameObjects and Facepunch Steamworks. One player hosts from their own PC, friends join through Steam, and all traffic runs over Steam Datagram Relay, so nobody forwards ports and players never see each other's IP addresses. On top of the team's networking layer, I built the lobby and invite flow that every player goes through to get into a game, in the open Steam playtest and at our events.

Lobby Hosting & Visibility

Players never type an IP address. They connect to a SteamID, and the Steam lobby is where they find it. Pressing Host creates a friends-only lobby sized to the 16-player cap and named after the host, and the menu waits for that lobby to exist before it starts Netcode. Whenever the game enters a lobby, as host or as guest, it points the transport at the lobby owner's SteamID. From the in-game lobby panel, the host can switch between friends-only, public and private, copy the lobby ID to share it, or open Steam's invite overlay.

// ConnectionManager
public async void CreateLobby()
{
    try
    {
        CurrentLobby = await SteamMatchmaking.CreateLobbyAsync(maxPlayer);
        if (!CurrentLobby.HasValue) return;

        var lobby = CurrentLobby.Value;
        lobby.SetFriendsOnly();   // default visibility
        lobby.SetJoinable(true);
        lobby.SetData(LOBBY_NAME_KEY, lobby.Owner.Name + "'s Lobby");
        lobby.SetData(LOBBY_VISIBILITY_KEY, ((int)LobbyVisibility.FriendsOnly).ToString());
    }
    catch (Exception e)
    {
        // ... log and return
    }
}

private void SetLobbyAndTransportTarget(Lobby lobby)
{
    CurrentLobby = lobby;
    facepunchTransport.targetSteamId = lobby.Owner.Id;
}

Joining From an Invite Mid-Match

Steam invites were broken, and the open playtest couldn't ship without them. Players can accept an invite, or click Join Game in their Steam friends list, at any moment, including in the middle of a match. Two problems made that hard:

  • Leaving cleanly: a player already in a match has to leave it completely first. The game leaves its lobby, shuts down the NetworkManager and waits until it has fully stopped before joining the new lobby.
  • Unreliable callbacks: joins could hang waiting on a second lobby callback that arrived late or never. JoinLobbyAsync has already confirmed membership, so I set the transport target straight from its result.

Together these fixed the invite bugs players had reported.

// ConnectionManager
private IEnumerator JoinLobbyFromInviteCoroutine(Lobby lobby)
{
    // If the player is already in a game, leave it first
    if (networkManager.IsServer || networkManager.IsClient)
    {
        // ... show the transition screen
        LeaveLobby();
        if (networkManager)
        {
            if (networkManager.IsListening && !networkManager.ShutdownInProgress)
                networkManager.Shutdown();
            yield return new WaitUntil(() => !networkManager.IsListening && !networkManager.ShutdownInProgress);
        }
        // ... load the main menu
    }

    var joinTask = SteamMatchmaking.JoinLobbyAsync(lobby.Id);
    yield return new WaitUntil(() => joinTask.IsCompleted);
    // ... show an error dialog if the join faulted or was canceled
    var joinedLobby = joinTask.Result;
    // ... show an error dialog if the lobby is invalid

    // JoinLobbyAsync has already confirmed membership. Set the target directly
    // instead of depending on a second callback that might be delayed or missed.
    SetLobbyAndTransportTarget(joinedLobby.Value);
    StartGameOnlineClient();
}

THOUGHTS & REFLECTION

Oddinary Farm reflection

What was my role in this project?

I joined this project in August 2025. A close friend of mine was the game's director and brought me on as associate director because of our prior experience making games together. As a director, I reviewed design documentation, created tasks for developers and artists, and oversaw changes to the codebase through Git.

On top of that, I programmed several systems myself, including networking, procedural generation, UI, and parts of the Steam lobby and invite flow.

I also helped pitch the game at the Kaedim Indie Showcase at GDC 2026, where it won Best Presentation.

What did I learn?

This was my first large-scale project with real stakes: an open playtest on Steam, 400+ wishlists, and a pitch at GDC. I took my role seriously, organizing design meetings and keeping developers supplied with clear tasks. My biggest takeaway was learning to do what was best for the game, not just what looked good to me. In practice, that meant prioritizing what players would actually feel, like fixing broken Steam invites before the open playtest, over whatever was most interesting to build.

This was also my first introduction to multiplayer programming, which has since become a core personal interest. Networking forces you to think about every system from more than one machine's point of view, whether that's who owns a mount or where the team's shared wallet lives, and I enjoyed that challenge more than I expected.

What would I change?

With more time and experience, I would have decoupled more of the multiplayer code from the core game code. Because the game is peer-to-peer with one player hosting, only the state other clients need to run their own simulation should be sent over the network. Everything else, like cosmetic effects and UI, can stay local.

World generation already worked this way: clients build the island from four synced seeds instead of receiving a quarter of a million tiles. Applying that same thinking to the rest of the game from the start would have cut down on network traffic and made each system easier to test on its own.