Data-Oriented Architecture
The game's memory is structured into three main lifetimes: Global State (application-level), Game State (save file-level), and Screen State (transient).
More
This design is key to the game's exceptional stability.
Feb 1, 2025
Billy Basso
Animal Well developer Billy Basso discusses his seven-year solo development journey, explaining how he built a custom game engine from scratch using a simple C-style approach and data-driven design.
The game's memory is structured into three main lifetimes: Global State (application-level), Game State (save file-level), and Screen State (transient).
This design is key to the game's exceptional stability.
Billy Basso identifies hot-reloading game code as the single biggest win for a solo developer because it lets him iterate very quickly without complex editor tools.
▶ Watch at 29:23Billy Basso avoids over-engineering by doing the dumbest, most obvious thing first, only building complex systems when the simple version becomes a clear bottleneck.
▶ Watch at 59:17Billy Basso champions a simplified C++ style that avoids complex features like constructors and inheritance, using plain data structs and explicit functions for better clarity and control.
Billy Basso used a C preprocessor macro trick to list game entities, shaders, and strings in one place and automatically generate code for updating and drawing.
By redefining a macro, he could auto-generate code for various contexts (updating, drawing, etc.), streamlining content creation.
Billy Basso kept his momentum and finished the game by following a rule to live with systems after one or two revisions instead of endlessly perfecting them.
Billy Basso explains that Animal Well is intentionally mysterious and provides no tutorials or hand-holding, reacting against the slow starts of many modern games to encourage player-driven exploration.
“The biggest thing that has helped me keep the code organized is really having a solid understanding of... the lifetime of where data lives.”
“I was happy to make the dumb version first and just like see how far it took me, and then when it actually became an issue... I had to try harder and make something more complicated.”
“It's a way to almost get like code generation without actually needing to do anything difficult, you're just kind of abusing the C preprocessor.”
“I was getting kind of frustrated with a lot of modern games that... had a really slow start and they would... load you down with just like tutorials and... exposition.”
“He's like actually really shy and soft-spoken in real life and the opposite of what you would expect.”
Billy Basso spent seven years building his game, Animal Well, entirely by himself, and his secret to finishing it was to always do the dumbest, most obvious thing first. In this episode, which came out on February 1, 2025, Basso shares how a solo side project became a fully realized game built on a custom engine from scratch. By the end, you will learn his core technical philosophies for keeping code simple, stable, and fast to iterate on.
Why skipping tutorials makes a better game.
Basso was getting frustrated with modern games that have slow starts and load players down with tutorials and background story. In reaction to that, he designed Animal Well to be intentionally mysterious. By providing no tutorials or hand holding, the game respects the player's intelligence and encourages exploration driven entirely by the player.
How stripping down your programming language gives you more control.
Under the hood, Basso champions a simplified C plus plus approach that looks more like barebones C style programming. Instead of using complex language features like constructors or inheritance, he avoids them completely. He relies on plain data structures, which are simple bundles of information, and explicit functions that clearly state what they do, giving him much greater control and clarity.
That focus on plain data leads directly to how you can achieve exceptional stability by organizing memory around time.
Basso says the biggest thing that helped him keep his code organized was having a solid understanding of the lifetime of where data lives. Think of it like packing for a move by sorting items into what you need for the whole trip, what stays at the hotel, and what you only carry for an afternoon. He structured the game's memory into three main lifetimes: Global State for the whole application, Game State for the save file level, and Screen State for temporary moments. You can achieve a robust and stable architecture through this kind of simplicity by organizing your program data based on when it is needed.
Why doing the dumbest thing first saves you from over engineering.
When building features, Basso was happy to make the dumb version first and just see how far it took him. Rather than building complex systems right away, he only rewrote code or built something more complicated when the simple version became a clear bottleneck. In your own long projects, adopt this pragmatic approach of implementing the simplest thing first to avoid premature optimization and maintain your momentum.
The single biggest win for a solo developer.
Instead of spending time building complex visual editor menus, known as graphical user interfaces, Basso relied on hot reloading. This allowed him to iterate extremely quickly. When you are working on your own projects, prioritize rapid iteration over complex tools, because features like hot reloading can provide a massive productivity boost.
How abusing an old code feature can automate your content creation.
To handle data driven design, Basso used an unconventional trick called X Macros, which uses the C preprocessor. By defining lists of game entities, text strings, and shaders all in one place, he could redefine a single macro rule to automatically generate code for updating or drawing them. As he explains, it is a way to get automatic code generation without doing anything difficult. Do not be afraid to use simple, unconventional techniques like preprocessor macros to solve complex problems and streamline your work.
How to actually finish a seven year solo project.
Working alone for seven years carries a huge risk of getting trapped in an endless cycle of perfecting every piece of code. To maintain momentum and actually finish the game, Basso adopted a strict personal rule. After giving a system one or two revisions, he forced himself to simply live with it and move on.
The real secret to surviving a massive solo project is choosing simplicity and speed over perfection at every turn. When you are building something from scratch, do the dumbest, most obvious thing first, and only make it complicated when you have no other choice.
Wookash Podcast
Wookash Podcast
Wookash Podcast
Wookash Podcast
Wookash Podcast
Wookash Podcast
The Pragmatic Engineer
Changelog
Lenny's Podcast: Product | Career | Growth
Lenny's Podcast: Product | Career | Growth
The Dev Leader Podcast
Lenny's Podcast: Product | Career | Growth
Dimitri Bianco
How I AI