Supported by Our Partners • Formation - Level up your career and compensation with Formation. • WorkOS - The modern identity platform for B2B SaaS • Vanta - Automate compliance and simplify security with Vanta. - In today’s episode of The Pragmatic Engineer, I’m joined by Jonas Tyroller, one of the developers behind Thronefall, a minimalist indie strategy game that blends tower defense and kingdom-building, now available on Steam. Jonas takes us through the journey of creating Thronefall from start to finish, offering insights into the world of indie game development. We explore: • Why indie developers often skip traditional testing and how they find bugs • The developer workflow using Unity, C# and Blender • The two types of prototypes game developers build • Why Jonas spent months building game prototypes in 1-2 days • How Jonas uses ChatGPT to build games • Jonas’s tips on making games that sell • And more! - Timestamps (00:00) Intro (02:07) Building in Unity (04:05) What the shader tool is used for (08:44) How a Unity build is structured (11:01) How game developers write and debug code (16:21) Jonas’s Unity workflow (18:13) Importing assets from Blender (21:06) The size of Thronefall and how it can be so small (24:04) Jonas’s thoughts on code review (26:42) Why practices like code review and source control might not be relevant for all contexts (30:40) How Jonas and Paul ensure the game is fun (32:25) How Jonas and Paul used beta testing feedback to improve their game (35:14) The mini-games in Thronefall and why they are so difficult (38:14) The struggle to find the right level of difficulty for the game (41:43) Porting to Nintendo Switch (45:11) The prototypes Jonas and Paul made to get to Thronefall (46:59) The challenge of finding something you want to build that will sell (47:20) Jonas’s ideation process and how they figure out what to build (49:35) How Thronefall evolved from a mini-game prototype (51:50) How long you spend on prototyping (52:30) A lesson in failing fast (53:50) The gameplay prototype vs. the art prototype (55:53) How Jonas and Paul distribute work (57:35) Next steps after having the play prototype and art prototype (59:36) How a launch on Steam works (1:01:18) Why pathfinding was the most challenging part of building Thronefall (1:08:40) Gen AI tools for building indie games (1:09:50) How Jonas uses ChatGPT for editing code and as a translator (1:13:25) The pros and cons of being an indie developer (1:15:32) Jonas’s advice for software engineers looking to get into indie game development (1:19:32) What to look for in a game design school (1:22:46) How luck figures into success and Jonas’s tips for building a game that sells (1:26:32) Rapid fire round - The Pragmatic Engineer deepdives relevant for this episode: • Game development basics https://newsletter.pragmaticengineer.com/p/game-development-basics • Building a simple game using Unity https://newsletter.pragmaticengineer.com/p/building-a-simple-game - See the transcript and other references from the episode at https://newsletter.pragmaticengineer.com/podcast - Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email podcast@pragmaticengineer.com. Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
The one challenge that you face a little bit is that you need to find a compromise between something that you want to make and something you think that will sell. First of all, finding something that will sell is already difficult, but then finding something that will sell that you also like to work on, that is fairly tricky. The way you approach it is usually you just make a lot of things that you can imagine working on that you're interested in, and then you are trying to measure or guess how well it would do on the market, and then you move forward with the ideas that you think are most promising. How exactly it looks like, I come here in the morning,
I sit down, I open Unity.
SPEAKER_0I'm like, "What do I want to make today?" I just come up with a random idea that I find interesting and I just make it. The thing that I think that is important to realize is that you can make games very, very quickly. If you just want to make a simple prototype without any fancy graphics or menus or whatever, you can get that up and running super, super quickly. What takes the most amount of time is just polishing it up and bringing it to production quality. But if you just want to try out a random little idea, you can mostly do that in one or two days.
SPEAKER_1Thronefall is a minimal strategy game. I bought the game, enjoyed playing with it, and I was surprised to discover that it has sold a million copies of the first year of its launch, and also that it's only been built by two developers. I figured would it not be nice to know how the game was built? For this episode, we have one of the two developers, Jonas Tyroller joining us and we're going to cover the structure of Thronefall as a game, how scenes, 3D models, C# code, and other parts make up the game. Why Jonas starts his game development process by building a new mini game each day that he then throws away and does this for a few months.
Why implementing Pathfinding with an A* algorithm was an interesting challenge building the game, tips on getting started as an indie game developer, especially if you know how to already code and many more fascinating details about indie game development. Whether you're thinking of one day perhaps building your own indie game or you're just interested how these games are built, this episode is for you. If you enjoy the show, please subscribe to the podcast in any podcast platform and on YouTube. So talking about the tech stack specifically, can you share what you use,
what language you use, what kind of dev machine, and can you maybe even share how your development environment looks like?
SPEAKER_0Yes. So if you want, I can open up Unity for this. These are just... Alrighty. We have Unity opened right now. So Unity is the program we used to make our games. Will You Snail? was made in GameMaker, so I'm familiar with a couple different engines. I've dabbled with Godot a bit as well, but Unity is our option of choice for this one. I don't know. What do you think what's interesting?
So would you mind sharing us what programming language did you use, what frameworks you're using, either open source or I'm not sure if you bought some things and then can you just give us an overview of what does the project structure of this game look like and what is that cool thing that we're seeing right in the middle?
SPEAKER_1It looks like the menu a little bit. No?
SPEAKER_0Exactly. This is the level select screens on the game. This will solve the [inaudible 00:03:07]
SPEAKER_1Yeah, I love that screen.
SPEAKER_0We can write around. Yeah, Unity uses C#, so all of this is written entirely in C# and of course we don't have to worry about any of the rendering stuff too much and all of that. That's all built into Unity. The shader we use here is something we bought from the Unity Asset Store. So Unity has its own marketplace where you can share resources relatively easily and we definitely bought a couple of things there. As a small indie team, if you can find a way to cut corners and save time,
you definitely do it. All of the 3D models you see here, we made ourselves in Blender, but like this Toon Shader is just something we downloaded from the asset store And then the shader, for those of us who are not game developers, what does that do? I know it's something to do with graphics and rendering, but can you explain for a software engineer who's not a game developer? So the shader is essentially what renders materials onto the screen or
shaders are the part of your game that runs on the graphics card, maybe would it be a different way to say it.
SPEAKER_0Because for the game logic, where do your units go and all that stuff? That is typically done on the CPU because you could do it probably on the GPU, but it's more difficult to optimize. So just for convenience, that runs on the CPU. And then the color of each individual pixel, that is calculated on the GPU and the way you calculate that is basically defined by the shader. So you can say, okay, if the light is coming from this direction,
then color this pixel bright.
SPEAKER_0If the light is coming from that direction, then color the pixel dark. Yeah, so shaders are highly optimized code for the graphics card that I usually use to render graphics, but you can also use them to do different things if you want to. This episode is brought to by Formation, a personalized interview prep program for experienced software engineers. Formation is built by ex-FAANG engineers who've conducted thousands of interviews collectively so they know what it takes.
SPEAKER_1In 2024, they helped engineers increase the comp by $110,000 on average. They help you understand exactly how you stack up and then get you ready to ace assistant design, coding and behavioral interviews, they assist in landing top tier roles and level up your composition through unlimited career coaching and technical mentorship, rigorously drill problems that align with your personal skill gaps. Get unlimited mentorship to get unblocked, do as many mocks as you need to ace the real thing. Stop wasting time trying to figure out what to prep, only to get to the interview and realize you had it wrong.
Formation helps put your interview prep on autopilot, ensuring you're always focusing on the right thing.
SPEAKER_1Apply today at fm.dev/pragmatic, that is fm.dev/pragmatic. This episode is brought to you by WorkOS. If you're building a SaaS app, at some point, your customers will start asking for enterprise features like sample authentication, skin provisioning, and fine-grained authorization. That's where WorkOS comes in, making it fast and painless to add enterprise features to your app. Their APIs are easy to understand and you can ship quickly and get back to building on your features. WorkOS also provides a free user management solution called AuthKit for up
to 1 million monthly active users.
SPEAKER_1It's a drop-in replacement for Auth0. Income standard would useful features like domain verification, rule-based access control, bot protection and MFA. It's powered by Radix components, which means zero compromises in design. You get limited customizations as well as modular templates designed for quick integrations. Today, hundreds of fast-growing startups are powered by WorkOS, including ones you probably know like Cursor, Vercel, and Perplexity. Check it out at workos.com to learn more. That is workos.com. And am I right to suspect that this is somewhat a commodity in the sense of it's
not going to make a huge difference for a game?
SPEAKER_1So you just bought one. I'm sure there's open source ones, but in the end it doesn't sound like especially for an indie gamer, it's worth building your own and spending so much time and sweat into it, right?
SPEAKER_0They are surprisingly easy to build depending on what you want to build. There are a couple of things that are pretty easy to build. There are a couple of things that are very difficult to build. In the case of a fully fledged-out Toon Shader with all of the features you want because this one also has shadow casting, it has outlines and all of that. If you want to code all of that in yourself, you're going to be busy for a while, but if you want to make something very simple, like I don't know, transparent particle or whatever,
you can do that within half an hour, especially with the help of ChatGPT or so and so.
SPEAKER_0There are some things you do yourself, faster to do yourself. There are some things where you try to use somebody else's work because it would just not be feasible to do it yourself. But you're right, it's very much a commodity. Although Unity comes with a lot of built-in shaders. So if you look here, there's a massive, massive list of shaders that already come with Unity. So yeah, also in 90%, 80% of the cases, you'll just use the built-in Unity shaders and that will be completely fine
as well. And what is the structure of this Unity project in terms of, again, I'm not familiar at all with how games are structured. If this was not a game, it will be like a series of modules and different things.
SPEAKER_1How does it look like in your case? How do you think of it? There are different resource types, so everything's just data blocks, right?
SPEAKER_0But the question is in which data blocks do you organize your game? Unity, the main organizational structure you put everything into is scenes. So scenes are essentially, I would say levels, so this is our level select area, but we also have scenes for other levels. This here is the second level rush time, which currently has art colors. Hold on.
SPEAKER_0Color miniature.
SPEAKER_1Oh, I remember this level.
SPEAKER_0Yeah, this is how it looks usually.
SPEAKER_1It's also one of the bonus levels when they keep coming up.
SPEAKER_0Yep. Where was it exactly? And then within scenes, you have a number of objects or I'm sorry, if I screw up the terminology a little bit there. I think maybe instances would be the correct way word, right? Instances of specific objects. Everything is organized into these game objects and then every game object can have scripts attached to it.
So for example, if we check out our castle center here, you can see that's a castle center game object and then it has a couple of C# scripts attached to it. And these C# scripts, they're all mono behaviors, so they inherit from the mono behavior class. And mono behaviors are essentially just the type of object that you can attach to game objects. And then that's where you define how it behaves,
states, those kind of things.
SPEAKER_0Yeah, I opened one up for example purposes here. We can see how one of those mono behaviors would look like. Don't judge our code too harshly. Maybe we'll talk about this a bit later on. Game developers tend to write very horrific spaghetti code at times. But yeah, this is roughly how it looks like. Just have logic in there.
SPEAKER_1But let's talk about this. So you consider this spaghetti, first of all, why? How would you critique your own code? Which actually the game works really well from the outside, right? We're looking in the inside right now. So before we started recording, I mentioned something of writing unit tests or whatever.
SPEAKER_0Indie developers, we don't do that at all. We debug our code with debug prints. It's just very much a mess sometimes. I would even say we are not even close to the worst offenders. I have opened game projects in the past. They were insane spaghetti. You can't even imagine. And the surprising thing, this often also happens with very popular and good games.
I don't want to throw anybody under the bus here, but I know a couple of games that are very, very popular indie games where I know for a fact that they also have pretty horrific spaghetti code under the hood.
SPEAKER_0But yeah, apparently it's not really stopping the success of games. So if it works, it works. That's sort of the philosophy here. Well that's the thing because the reason you cannot really get away of not having unit tests at inside or let's say a hundred person engineering team that is building a distributed system, let's say a large real website or mobile app or something like that.
SPEAKER_1It's because of maintainability. What would happen if you did that? I mean you can do it, but then people are going to make code changes and there's going to be bugs and customers will be upset because suddenly what they used to use does not work. So I'm kind of curious, if you're on unit test, will take you a bunch of time, what would it give you? What would it give you? Anything? Because if it doesn't give you anything, it's the right thing that you're doing, honestly, right now. You shouldn't apologize for it because in the end, I feel you're looking to meet your goals,
which is build a game that is fun and it works and it's great, those kind of things.
SPEAKER_0Yeah, I think you're right. I think it's very much a scale thing. I think stuff like unit test and so on, they become very important at a certain scale and I think most indie games, they operate under that threshold where you can get away with a lot of these messy things. The thing is also, as you keep scaling these indie games bigger and bigger, a lot of these things start biting you in the back more and more the further you go. But if you don't scale to a super large level,
it's kind of okay, you find workarounds and so on, workarounds for your own screw-ups. So this leads me to a pretty good question, which is the reason we even talk about tests and software engineering is, it's not about the test, right?
SPEAKER_1It's about wanting to avoid regressions. When you're making changes to the game, how do you test it? How did you make sure that when you released it, this actually worked as expected? And clearly the answer is not unit test. So I'm just really curious of and what did you need to test? Right? I feel a lot of things, especially in your game, it's kind of hard to test, right? Okay. There's obvious things which is the characters not colliding weirdly or I don't know. But there's also the thing of does it kind of work as you think it would?
SPEAKER_1Which sounds hard to test. Yeah, so I think one of the advantages that comes with modern game engines is that they also do a lot of the fixing on their end. So you can usually be relatively certain that if it works on your machine, it will likely also work on other machines.
SPEAKER_0So that is a luxury that we have nowadays. But then obviously there can also be issues and bugs in the stuff you write yourself. And the way to catch that is first of all to test it rigorously yourself, but you're not going to catch everything that way. So then before you release, you usually test it with a group of beta testers and they're going to catch even more, but also not everything. And then you fix the rest once it's released,
because then you essentially have thousands and thousands of real life testers. And honestly, that's the only way to find all of the bugs or at least all of the ones that matter. So going back to the coding environment and the development environment in Unity, I've seen a some of your videos where you actually share what your game development process looks like, which is really cool. We'll link it in the show notes below so viewers can also,
and listeners can also check it out.
SPEAKER_1How does your workflow look like? Because I've seen a lot of visual editing happening in Unity, then sometimes you switch to make some code changes with I guess what you've shown with mono objects and so on. Can you share how you jump in between these things? Are you more in the visual side of things in the UI or more of the code or can you even say how this splits?
SPEAKER_1Does it even make sense?
SPEAKER_0It depends what you're currently working on, right? If I'm building a new level, then I spend most of my time right here in the Unity editor view and I kind of move rocks around like so, I'm like, "Oh, herewillbeaniceplaceforanotherrock." Or if I make a new level, then I take these giant shapes here and kind of bend them into place. I'm like, okay, I want the level to maybe go this way, that way.
But then obviously, there are other times where for example, you work on enemy designs.
SPEAKER_0That is also something you can do in Unity. Let me bring up one of the enemies real quick. And you also have those big bosses that's in of some levels, not all of them. Exactly. This is called a prefab. So prefab is essentially like a blueprint for a foreign object you can put in your scenes. You always want all of the archers to be the same.
So if I edit my archer here, then it will update on all of the scenes, just pretty useful. And then there are other times where if you work on the visuals, then you would probably do so in Blender.
SPEAKER_0So Blender is very nicely integrated with Unity. If I update anything in the Blender...
SPEAKER_1So this is a Blender, it's the 3D editor, if I put it in a simple way.
SPEAKER_0Exactly. Blender is slowly becoming industry standard for everything around 3D modeling and so on, because Blender is very good. It's a massive, massive program. There are tons and tons of things you can do with Blender, but one of the things you can do with Blender is also just making simple 3D models and that's what we use it for. So you can see in this Blender file we have most of our 3D models from our towers and so on, so forth. So whenever I need a new model or when Paul needs a new model,
then we just go in here and make it different levels of buildings.
SPEAKER_0Here we can see parts of one of the bosses and then the parts of...
SPEAKER_1Is that lake boss?
SPEAKER_0Yeah, exactly. And you see it's not fully assembled because I only make every part of the boss here once, all of the teeth in the engine just route over together. And then you put it together with code later or in the editor you just use these parts. Exactly. I can see if I can find it maybe. Small spoilers ahead for everybody who hasn't played the game, but I think it should be fine.
SPEAKER_1I don't think it's that much spoilers. Just because you know how it looks, you're not going to know how it actually... That's a pretty nasty boss.
SPEAKER_0I can see it's...
SPEAKER_1And the behavior.
SPEAKER_0Sitting under the surface.
SPEAKER_1Oh, there it is. So throughout the whole game, it's rendered there just you don't see it because...
SPEAKER_0No, it's not rendered. Usually it's turned off and then once it appears, it turns on and yep, it's assembled in the editor. So it's not like you manually have to enter the coordinates of everybody, part or whatever. So you assemble it in the 3D view here, but this spot in particular has procedural animations. So this one is actually animated entirely with C#. There's also an animator, but this boss doesn't use it.
SPEAKER_0This has what you call procedural animations.
SPEAKER_1Nice. And then for the whole project, can you give a sense of the size of the project? Often it's not a good measurement, but when we talk about a back-end service, we would say, "Okay, here'showmanylinesofcodeitis." Just to give a sense because a million, it's hard to maintain a thousand line. That's pretty trivial. Do you have a sense of how big the game is in terms of number of assets, lines of code? How would you kind of quantify it when you talk with fellow indie game devs to
give them a sense of, okay, how complex this game is really? I think there's honestly no good measure that comes to mind because there are certainly pure data sizes is not that great of a measure because there are certain types of assets that disproportionately screw up that number. For example, textures and zones are very, very big, whereas 3D models and code is not big at all.
But then also lines of code is also not a perfect measurement because oftentimes it's not your own code.
SPEAKER_1True.
SPEAKER_0Oftentimes it's third-party tools and so on. That's very difficult. So if you want to know, I think the game itself, Thronefall itself is very, very small game. I think it's maybe a hundred, 200 megabytes at most.
SPEAKER_1So that's the download size, right?
SPEAKER_0That's the download size. And the reason for that is that we don't have a lot of textures. We basically have this flat shaded style. We have maybe a water texture and a little bit of a grainy ground texture to add a little bit of noise there. But that's pretty much it. And as mentioned, the 3D models, all of the 3D models are tiny, all of the C# code is pretty tiny, so that's why Thronefall isn't that big. The biggest thing in Thronefall is probably the music and the sound effects.
SPEAKER_1Did you also create that? Who created that? Or did you buy it or did you have someone help?
SPEAKER_0The music is something I made myself and the sound effects.
SPEAKER_1Really? Yeah, you have to wear a lot of hats as a game developer, but that's also what makes it fun. The music is really fun. Did you create music before or did you just do it just for this game?
SPEAKER_0I created music before. I also made the music for Will You Snail? as well. And I've been making music for a long time. It's one of my hobbies, my little side hobby, so I get to use that there.
SPEAKER_1Okay, so now I'm going to think of it a bit differently when I hear it. It's a boujee too. I like it.
SPEAKER_0So just to give you an idea of how big the assets folder. So the assets folder is basically where you put all of the things you need. That's 2.23 gigabytes. But as I mentioned, the final game is a lot smaller. So I think Unity, just everything that's not needed for the final build is scrapped. A lot of the things are compressed and so on. And in the assets folder, everything is basically in uncompressed format, so that's why it's quite a bit bigger.
I have an interesting question that I think as non-games developers would be interested in.
SPEAKER_1What do you use for source control and code review? Or do you do either? I'm sure you do some sort of source control, but I'm not sure about code review.
SPEAKER_0So code review, I'll give you the standard answer. What is code review? What do you mean? What are you talking about?
SPEAKER_1Standard game developer answer, right? Yeah, I'm sure most developers know what it is, but at indie scale, it's one of the things. Honestly, I think it would be very beneficial to do code review, although I think it's getting easier because you can basically copy paste your code into ChatGPT and then if you're at the very least at the dummy level of most game developers,
myself included, then usually you'll get some very good recommendations from that. We will probably make the project a lot easier to work with in the long run.
SPEAKER_0I agree. But for some reason, it's not something most developers are excited about. Most developers are excited about, "Iwantthisnewenemytofinallywork." So we hack it in as quickly as possible where we're not like, "Oh, let's review the code for this enemy to see if there are some more efficient waytodoit." That's just not the way we think at all.
SPEAKER_1But don't get me wrong, I'm not judging you at all. Seriously. You and Paul have built this awesome game. I love playing it and I'm more interested in how you're doing it. And when you're saying you're not doing something that larger teams would do or teams who are not building games would do, I don't really see that as a negative. I see it as like, look, this works for you and I think it's actually a great testament that there is no one practice that, I don't know, can help guarantee creating something great because objectively,
again, I don't know, I'll just from my perspective, this game is great and it is just cool to see how it was done. And I'm assuming if you would've taken some of these things, you might've slowed yourself down for no particular reason and maybe just got demotivated midway and get into fight and quit and not finish the game. Yeah, I guess the reason why I'm pointing all of this negative practices to just make it clear that we know it's not ideal. Because I know a lot of engineers who will be watching or listening to this and
I know especially on the engineer side of the spectrum, I would say there are sometimes some judgmental looks about some of the things we do.
SPEAKER_0Like for example, the next thing you asked is source control. And one of the next horrible things we do is we immediately just push everything to the main branch. We push everything to main. Sometimes I've seen people make a little shocked Pikachu face about that and I'm even like, "Oh, is that not normal? I thought everybody would do that." Apparently not. Maybe you can tell me how that is usually done on bigger projects.
SPEAKER_1Well, don't forget that. I think there's a huge difference between what you're doing, which is building a game that you and Paul are using it and at some point you push out a beta and what it means to push to main at a lot of, at a distributed system or at Uber for example. So if at Uber you push to main, that code will automatically get deployed. If it's a web service, it'll get deployed to a service and it will be used by every single user of Uber, whoever uses that service. If it's a tiny service that's, I don't know, running in Portugal in one city because we have services like that,
that's not a big deal but if it's running everywhere. So the reason it's frowned upon to just push to main without a review is you can break everything but you're not shipping your code.
SPEAKER_1When you push to main, it's not updating on Steam every single time. Because I feel this is a big difference between game development and more SaaS backend development, is you ship very infrequently, which means a lot of these practices you probably don't need, by the way. I think for any listeners listening, I think it's worth challenging. You're thinking what the context is. And I'll give you one more example of, I heard a team at Apple do this thing called post commit code reviews.
So they don't do code reviews, but then once someone commits, they're a larger team, they look at it and they give comments, but they can also do that because they ship once every six months. And also for any game developers listening, I think it's just worth thinking that these things that you hear, practices good or bad, it might not apply to your context. And this is one of the reasons I was so excited to talk to you is just to see how you built this and what worked for you. And we're not saying this is going to work for everyone, but I have a feeling if someone wants to build a successful game and with a
small team, it's worth paying attention to what you're doing because you clearly have found something that works for you.
SPEAKER_0Yeah, I see the point. I see the point. I think the game not being in a functional state pretty much all the time is something that can pretty annoying even in relatively small teams. I think in a team of two, it's still kind of fine, although we pay attention to keep the game in a functional state with every commit, but this is something that I think I resonate with and that can get a problem very quickly even in smaller teams is that if everybody just pushes everything to main and even pushes unfinished stuff and so on,
then it becomes very annoying because whenever you try to play and test the game, it's basically not in a functional state because some system is always work in progress are broken.
SPEAKER_0That is very annoying. I will say that. That is very, very annoying and that sort of stuff can happen sometimes when you work with, I don't know, less experienced people or people that you're not as much in the groove with. For Paul and I, I think this wasn't a big issue at the beginning stage. Of course sometimes the game wasn't in a functional state, but then once it's functional we pretty much always try to keep it functional so then that whenever the other person wants to test it or run something that it's always working and very runnable.
So one topic that I just wanted to touch on while you still have your editor open is the kind of fun aspect. One thing that struck me as something that I just didn't think about as a software engineer is the art, the fun. And clearly when I played with this game, and I played with this before we met, in fact I reached out to you after I played with the game and I realized it's a tiny team and I thought maybe we could get some behind the scenes, which I'm very happy we're doing.
SPEAKER_1Games need to be fun. I like this game and I tell people that it's a great use of my time because it's fun. Now you showed me that you're living your days, a lot of it inside Unity, inside the C#, but there's only two of you. How do you balance the... Who is kind of the chief fun officer who makes sure that whatever you build, it has that kind of fun jazz and feel to it? How do you balance with all this coding and design work, which doesn't seem like all that fun?
SPEAKER_0So once again, there are different phases. During the prototyping phase, I would say we were both equally responsible for that. As mentioned, Paul was for example, the one who came up with the initial concept and prototype. But then once the concept is set into stone, the way we split it for this project is that I was the one responsible of gameplay and Paul was like UI art and so on. So I was the one who tried to make everything fun and then Paul did basically
quality check my decisions and was like, "Yeah, thisisindeedfun." Or for example, in the beginning, I wanted to balance the economy a bit differently, make it a bit balanced, and a bit slower.
SPEAKER_0And Paul was like, "Yeah, this doesn't feel too great. I want more gold from my buildings and less gold from the enemy." So I rebalanced it a little bit according to his feedback. So essentially I worry about that first and then Paul checks it to make sure that I don't do some nonsense in that regard. And how important was feedback from the players, the beta testers, the early access testers? I'm trying to get to the point of I feel there's two thoughts of creating great
games or creating great products in general.
SPEAKER_1One is listen to your customers. They know what they want and take a lot of their feedback. Not all of it, but a lot of it. And the other one is like, nope, don't do any of that. Do Steve Jobs. Decide what you're going to do. It's going to be great, push through and then eventually people will come around. Do you sit in any of these ones? How do they deal with the feedback? What was the feedback even? Yeah, so the way we do it is we gradually increase the number of playtesters. So we started with a closed circle of handpicked people that we trust and we
got our first round of feedback from that. Then we expanded it to a little bit of a bigger circle with a couple more open testers. And then eventually once we were in early access, there was essentially a very big testing phase with lots, and basically everybody who bought the game is suddenly a tester.
SPEAKER_0And the feedback was very, very important. For example, at the very beginning when we started making the game, there were no building upgrades or no building choices at least. So for everybody who doesn't know the game, I'll quickly show some context here, if this starts up, come on.
SPEAKER_1Let's give it a little time. So oftentimes, when you build these buildings, you get to choose between different upgrades and this was something that was just not the case in the first version of the game.
SPEAKER_0And this was also something that we didn't plan for. This was not in our initial design. This was not something that we planned to do. But then because playtesters, the very early, the first round of playtesters reported back to us that it's a little bit too little choice and it doesn't really feel like you're building your own base or you're building everything on these predefined build slots anyway. In Thronefall, you can't build buildings for everyone. You have to build on these predefined slots.
And that combined with the fact that you can't even choose, you can't even customize the buildings, it felt a bit too rigid to people.
SPEAKER_0And we reacted to that feedback by implementing these upgrade choices. So now you have a lot more choice and a lot more options to customize your base. And then in the end, once your base is fully built out, even though the layout is predefined by us, it still feels like your own because you got to customize and choose a lot of different things here.
SPEAKER_1But then you do have some mini games. Interesting enough. After you complete the scenario, I played with all the... Because I completed all the quests on easier, and then there's the mini games. And in some mini games, you actually have this where you cannot choose, you can only build, you can choose if you build, it's a minor yay or nay, and then that's it. So did that come from keeping some of the mini games, some of the earlier versions? Honestly, the mini games is where I just go wild as a designer and I'm like,
you often have a lot of untapped potential in your game systems where it's like, I have all of these cool systems here.
SPEAKER_0There are 10 different games we could have built with these systems. You have the unit movement and the combat system and all of that. And often it's a little bit of a shame that you're not exploiting all of the possibilities you have. So the mini modes, like the little bonus modes for me, they're just a way to exploit a couple more of the possibilities we have with the systems that we've already built. So for example, there's also one mini mode where your character turns into a snowball.
SPEAKER_1I was about to say that. That was my favorite. I couldn't complete it. So I don't know how you do the difficulty settings, but I failed. I did the first, all the ways, but the last one I just cannot do it. It's just this tiny ugh. I'm sure if I could practice more, which is by the way, one more question to those of us who do not build games, but were wondering how you do, how do you tweak the difficulty to feel right? Again, I'm not a huge gamer, but I do play every now and then. It felt right to me. It was challenging.
SPEAKER_1I had to restart some levels, but I could finish it. And then some of the mini games, they're giving me grief, I just cannot finish them, which I guess is kind of fine, because I'm not that good of a gamer.
SPEAKER_0Yeah, the mini games, they are very hard. They're like, we...
SPEAKER_1You're making me feel better. Thank you.
SPEAKER_0They're very, very hard. In the beginning, we put the mini games right next to the levels where more people played them and yeah, people did not like them because of their difficulty. So we got demolished. So now we hit them away a little further. So not as many people play them anymore, and they're clearly identifiable as end game content, but you can obviously imagine people jumping into those mini modes before even finishing the game.
SPEAKER_1That's a bad idea.
SPEAKER_0Bad idea, bad idea. So arguably, they're a bit too difficult. But that's because the mini modes for me are an outlet to make some of the crazy things that I find fun. And that's one of the problems you also always have as a developer, is that you're usually quite a lot better than the average player who will play your game. So whenever I balance levels or whenever you balance levels,
you have to make it so they essentially feel stupid easy.
SPEAKER_0So most of the levels in Thronefall, they're so easy. The best players in Thronefall, they can finish most levels with only the king without building a single building.
SPEAKER_1Really?
SPEAKER_0Yeah. That should tell you...
SPEAKER_1Okay. Now you're making me feel bad. It doesn't work with every level, but in a lot of levels, certainly I think the first three or so, certainly the Ice Boss and zone you can beat with just the king.
SPEAKER_0No buildings.
SPEAKER_1Well, you can do that as a developer and pro gamers, yeah.
SPEAKER_0Yeah, I'm not sure I can do that. I've seen people do that. Going back to that question, as a developer, do you just get this feel of what a good difficulty is for a game that will actually be sold and people will enjoy it, people like me, people like the casual gamers who are people who are buying it, or do you get it from the feedback?
SPEAKER_1Because it feels like this is a really big difference, right? You're so much better, but yet you need to produce something that will, I don't know, I guess be fun and enjoyable for the general public.
SPEAKER_0Yeah. One thing that a lot of people forget about balancing is that first of all, you need to make a game that is balanceable and easy and somewhat reasonable to balance. The problem with strategy games like Thronefall is that they are very, very, very snowbally. And snowbally means that if you're ahead, you get further ahead. If you're behind, you get further behind. So that's why games like Thronefall and strategy games in general, they have a tendency to feel very frustrating very quickly because if you
fall behind a new economy, then it becomes exponentially more difficult.
SPEAKER_0You're never going to be able to catch up again. Whereas on the other side of the spectrum, if you get ahead and you get exponentially more and more money every round, then suddenly it's going to feel way too easy. And this was one of the main problems I had when balancing Thronefall is just this runaway dynamic of it all that either it feels way too easy or it feels way too difficult. And I didn't really find a perfect way to deal with it in Thronefall that one way I actually try to counteract this is by making enemies drop gold.
That was also something that wasn't always the case from the very beginning, but I very quickly realized that we need that because the economy you build yourself with all of these houses, there are too many runaway effects with it. So the enemies dropping gold basically smoothes that curve out a little bit and makes it so that I can predict a bit more how much gold you're going to have at which point in time. So you're saying that you made it that the enemies might drop more gold when you're sensing you're actually doing some smart calculations or no?
SPEAKER_0There's no shenanigans going on like that, but it's just math. If the enemies in wave 10 drop 50 gold, then I just know you're going to have at least 50 gold and that makes it...
SPEAKER_1Got it, got it, got it, got it. Makes it easier to balance than trying to predict how many houses you're going to have and so on, so that. Oh, I understand.
SPEAKER_0Yeah.
SPEAKER_1So after you build this game, you've now ported it to Nintendo Switch. What did that porting look like from a technical perspective? Did you do the porting? Did someone else do the porting? We outsourced the porting to Warp Digital, and that's all of the three games I made so far are available on Switch.
SPEAKER_0Islanders was ported by CodeSync. Will You Snail? was ported by No Gravity Games and this one was now ported by Warp Digital. So this is the typical way I go about it. I just give it to somebody else and I'm like, "Please port this." And the typical standard deal you do for these kind of things is you get a revenue share. And other than that, you basically don't have to do anything. They take care of all of the publishing, they take care of the porting. It's like completely hands-off and very free,
which is why if you have a successful game on Steam already, it's pretty much a no-brainer to just give your game to one of these companies because they're like, "Okay, we'll take care of everything and we'll just get a revenue share of what we make." I'm assuming they're used to taking, especially if it's Unity C#, running on this code base, they'll take it, they'll know how to change it, they'll know all the performance issues, etc.
SPEAKER_1The testing, you said.
SPEAKER_0Yeah. That sounds a pretty sweet deal as a... Well, it's kind of a positive thing if you do make it to a successful... And I guess, am I wrong to assume that this makes it a bit more tempting as an indie developer to start on Steam? Because if you do well on Steam again, it's kind of easy enough to find someone who you can strike a deal with this way. Yeah. Obviously Steam is the go-to place for indie developers anyway. There's pretty much,
if you want to make indie games, there's almost no way you're getting around Steam. In most cases, even if you have other platforms, Steam will still be 90% of the revenue. So anything you sell on Switch and especially on other consoles is more like a little bonus on top what you're making on Steam.
SPEAKER_0Steam is, I think by far the biggest market for indie games.
SPEAKER_1Trust isn't just earned. It's demanded, whether you're a starter founder navigating your first audit or seasoned security professional skill in your governance risk and compliance program, proving your commitment to security has never been more critical or more complex. That's where Vanta comes in. Vanta can help you start or scale your security program by connecting with auditors and experts to conduct your audit and set up your security program quickly. Plus, with automation and AI throughout the platform, Vanta gives your time back so you can focus on building your company.
Businesses use Vanta to establish trust by automating compliance needs across over 35 frameworks like SOC 2 and ISO 27001. With Vanta, they centralized security workflows complete questionnaires up five times faster and proactively manage vendor risk. Join over 9,000 global companies to manage risk and improve security in real time. For a limited time, my listeners get $1,000 off Vanta at vanta.com/pragmatic.
SPEAKER_1That is vanta.com/pragmatic for $1,000 off. You've been building games for a while. A lot of us listening have not built games, but we probably played games. I played Thronefall. I actually love the game. It's just a great way to expend in 10 minutes, 20, and then it turned into a few hours. How did you get started with this, starting from the idea and then what were the actual first steps and talking
about both yourself, but you also had a co-founder or a co-developer? Yeah, Thronefall, we made in a team of two, and what I just talked about is a perfect gateway to how we started making Thronefall because what we do in the very beginning is very much opening up our search space very wide.
SPEAKER_0We try out a lot of different ideas. So this is what typically you call the prototyping phase where you make a lot of different, essentially mini games or prototypes where you try out different ideas and that way, you're basically making a bunch of measurements in the search space and just looking which direction you find most promising and then you keep searching in that direction. So that is pretty much exactly what we did for Thronefall. We made a bunch of different prototypes in Unity,
just one or two days working on little mini games. So we had one prototype about spreading flowers, we had a climbing prototype, we had a card game and all sorts of different things. And then after exploring some of these ideas a little deeper, some of them we scrapped instantly. We slowly honed in on what we wanted to make and it just turned out to be Thronefall.
SPEAKER_0I don't know how exactly we arrived there just in this specific case. And when you say you're exploring them, is it just you kind of building this mini prototype game and then just playing around with it, seeing how it feels, showing it to your friend who's also working on it and just bouncing ideas?
SPEAKER_1Is that kind of how it is? Or can you help us imagine, how does this phase look like? So the one challenge that you face a little bit is that you need to find a compromise between something that you want to make and something you think that will sell, and that's one of the main challenges. First of all, finding something that will sell is already difficult enough by itself, but then finding something that will sell that you also like to work on, that is fairly tricky.
So the way you approach it is usually you just make a lot of things that you can imagine working on that you're kind of interested in, and then you are trying to measure or guess how well it would do on the market. And then you move forward with the ideas that you think are most promising.
SPEAKER_0How exactly it looks like. I come here in the morning, I sit down, I open Unity, I'm like, "WhatdoIwanttomaketoday?" I just come up with a random idea that I find interesting and I just make it. The thing that I think that is important to realize is that you can make games very, very quickly. If you just want to make a simple prototype without any fancy graphics or menus or whatever, you can get that up and running super, super quickly.
What takes the most amount of time is just polishing it up and bringing it to production quality. But if you just want to try out a random little idea, you can mostly do that in one or two days.
SPEAKER_0So that's what you just do repeatedly for let's say two months or so. Both I and Paul pumped out a bunch of prototypes. We show them to each other. We played each other's prototype. We talked about them of course, because through talking about them, we try to figure out, "Hey, whichofthesecouldactuallydowellonthemarket?" And also, in a team you have... That makes it even more important because you have another circle, like what do I like working on? What does Paul like working on? So we have to find the overlap between all of those things.
SPEAKER_0So that's why obviously talking about these prototypes is pretty crucial. And usually what you do is you do specifically gameplay prototypes. So you start with gameplay and then only once you're sure what the gameplay is going to be, then you move on to visual prototypes where you basically repeat the entire process that you did for gameplay for the visuals. So you try out a bunch of different visual styles and see what you like working on, what's efficient to make, what do you think will do well in the market.
SPEAKER_0That's really... So specifically with Thronefall, you said, okay, you had the prototypes and then you figured it out, you're going to make Thronefall, but what did that look like? You kind of knew the concept that it will be this tower defense game with... I'm putting it like that based on how I played with it, or was it a lot more vague at that point still? So you go through different phases. When we started, we were very open. We have no idea what we want to make. We'll just throw anything out there.
As mentioned, there were some completely wild things like a game where we're golfing flowers, like a golf ball essentially.
SPEAKER_0So some wild ideas. And then at some point we narrowed down our search a bit further and we were like, okay, we want to make a minimalist game about building a kingdom. We're like, "Okay, the search is getting out of hand. There are too many options, decision paralysis. Let's focus down a bit more." And then we made a bunch of prototypes that specifically had to do with managing tiny kingdoms.
I made a turn-based game and I made a Plants vs. Zombies-like game where there are hordes coming from the side and you shoot them all down. And Paul at some point, just had this little mini game where you had a castle in the center and you had a little figure that you could control around it, and there were enemies going towards your castle, and all you were trying to do is basically defend your castle by smashing on the enemies.
SPEAKER_0And it had a very nice rhythm to it. There was the day phase where you could build new towers and mills that would give you more coins, and there was the night phase where you would defend your castle against these enemies approaching. It was a very simple top-down 2D prototype. And yeah, when you see it, you see it. I don't know. It was like we both immediately agreed that this was going to be the game we were going to make because it was just ways ahead of all of the other
prototypes we've made so far. So based on the kind of feeling and your understanding of like, okay, what could work actually.
SPEAKER_0Yep.
SPEAKER_1How long did it take to get here? You say you did every few days you did a prototype. So we're talking a few months into the prototyping phase-ish. So I would say it depends on how big of a game you want to make, but your prototyping phase should just scale proportionally. So for example, if you want to make a game in two years, then maybe spend two months on prototyping. If you want to make a game in a month, then obviously only maybe spend two days or something.
SPEAKER_0So yeah, you have to scale that proportionally. And for us, it took a little bit longer because we went into one debt and with a card game. We thought our kingdom management game is going to be a card game. Then after about a month of development and me over-engineering a cool system, we realized that's not it, and we just scrapped it. And then when this happens, you've put in a bunch of work already,
months of work, you just throw away the code or archive it and boom, that's it?
SPEAKER_0Yeah. So honestly, I was grateful that we noticed it all because in the worst case, you develop the entire game. You spend two years and then you notice that doesn't work. So whenever I notice relatively early that something doesn't work, it's not like, "Ah, whatashame." It's more like, "Phew. We dodged a bullet there." It's more that feeling. So it's more a feeling of relief than anything else. And then once you, okay,
figure it out, this is a concept, this is a game that we're going to go.
SPEAKER_1We're happy with the prototype and let's continue on. How do things look like from there? Because I assume that that's when things change, right? Did you start to do some sort of planning? Is it just more kind of keep building? I'm kind of poking to, at some point, did you feel that you need to bring in more structure? You're still just two people. You've already built two games, so you kind of know what you're doing here.
SPEAKER_0Yeah, exactly. So as mentioned after the gameplay prototype, we had another phase for the visual prototype because the visuals are also very important, and you repeat the entire process. You basically have the gameplay already done, and what you do is you...
SPEAKER_1Sorry. Can you just help me understand for the gameplay prototype, what can we imagine? Is it squares and circles moving around or super low fidelity versus the visual?
SPEAKER_0Exactly. The gameplay prototype is essentially what we call programmer art, which is just a bunch of squares, sand boxes with colors. And for the art prototype, what we do, this is our process, is we scrap all of the gameplay once again. So it's not like we delete it, but we start on an empty project without any gameplay whatsoever, and we just build a scene without any logic. We just open my game engine and try to create a nice looking scene. It doesn't have any motion, doesn't have any logic.
SPEAKER_0We just try to make it look nice. And if you decouple the gameplay from the visuals, you can move a lot faster in your visual prototype. If you try to bring it all together immediately, then you're not prototyping anymore, you're just building the game. So you open an empty project and you start messing around how things should look like. You put little 3D models in there. You experiment with different camera scales, with different zoom levels.
And then we had a massive mirror board with tons and tons and tons of screenshots, like hundreds of screenshots of different experiments we made. And then you look at all of them next to each other and once again, try to assess which of them look the best or the most attractive.
SPEAKER_0And yeah, once we found something, we're happy there. Then we move into production. And you're right, that's exactly the point where you have to start getting a bit more organized. In a team of two, it's sort of fine. It's not like there's insane management overhead. You only have to manage communication between two people, which is fairly manageable, I would say. So we just have to agree who works on what.
SPEAKER_0So I usually do gameplay programming and content creation and balancing. So I write most of the gameplay logic. And then Paul is very good at basically user experience design. So he writes a lot of the UI systems, which is a surprising amount of work. The UI system and all of that, it's probably 40 to 50% of the work goes into that.
SPEAKER_1But the UI, what is the difference between the UI and the gameplay? So the UI is basically all of the overlays that you can click with your mouse, like the settings menu and all of the different things that can pop up. And then for the UI, you have to make sure you can control it with the keyboard, you have to make sure you can control it with the mouse, you have to make sure you can control it with a gamepad, it has to also look nice and so on and so forth.
SPEAKER_0So it's a fairly, fairly massive task. But we shared gameplay programming, I would say 50-50. And then Paul did most of the UI stuff.
SPEAKER_1Nice. And then what was the point where you actually had a more traditional schedule in place of like, okay, we now know what we're doing. We need to build the core engine, the levels, the different structures. I'm just throwing out stuff. I don't know if this is how you actually structured it, but I'd just be interested. How did it look like when you're like, okay, we know roughly how this is going to go, and obviously at what point could you even announce dates? Because I just look back on the history and I saw when people were very excited
when they saw the first demos, and of course what they asked is, "When is it ready?
SPEAKER_1When will it be out?" So basically when you have the two prototypes, if you have the gameplay prototype and the visual prototype, then you know very precisely what you're going to make already.
SPEAKER_0And then there are a couple of more questions that you have to answer. So when we build the first level, then we still have to answer questions of how do the actual enemies, not the prototyping enemies, how do the actual enemies look like? How do the actual units look like? How do they actually interact with each other? Which upgrades are there? So the search process definitely continues. You have to keep trying out different ideas. But basically I would say the amount of communication between Paul and I that was required gradually goes down over time.
In the beginning, you have to communicate a lot and you have to organize a lot. And then as you know more and more about what you're building, you have to communicate less and less. And then essentially by the end of the project, we talk maybe once a week and both of us just know what we need to work on.
SPEAKER_1And so Paul and you, are you both were in the same city, same country?
SPEAKER_0We are both in Germany and we studied game design together at university. So Paul is also one of the people I made Islanders with at university, and we just teamed up again for Thronefall here.
SPEAKER_1Nice. And then, so you've now gone through the development phase and you've been developing this thing for closer to I guess two, three years. I'm curious, what does a launch look like for an indie game? You launched it on Steam, right? Was it only Steam or did it launch elsewhere on launch day?
SPEAKER_0On launch day, it was only on Steam. Now it's also available on Nintendo Switch. How does a launch look like? It's surprisingly anticlimactic. So there's a button in the Steam backend where you're just like launch the game and you click it. And then they have a couple of things that pop up where they're like, "Are you really sure you want to launch the game? Are you really, really sure?" And then you click, "Yeah, yeah, yeah, yeah, sure. Launch the thing." And then it's just launch and you sit there and you're kind of like,
"Okay." You have to pick your launch date somewhat carefully, but also because everybody tries to pick their launch date carefully.
SPEAKER_0It also kind of doesn't matter. It's a little bit like trying to outsmart the market when you're buying stocks or something. Everybody tries to be smarter than you. So in the end, it doesn't really matter when you launch because the good spots are already very crowded and then the spots that are not so good are less crowded. So it kind of all makes up for itself. It doesn't really matter too much when you launch, I think. In theory, it does, but the market dynamics make it so that it doesn't matter too much.
SPEAKER_1Yeah. Well, I guess beyond some of the common wisdom of software people will not pay too much attention. But yeah, I guess it's nice to hear that the things that people think matter don't matter that much. One more topic on the development itself. What were some challenges that you would say were more challenging with this game? I'm just throwing in some ideas, may that be performance, binary size, structure, whatnot. What made this one more challenging than the other ones that you built?
So the main challenge for this one, for me personally, was everything related to pathfinding.
SPEAKER_1Oh, interesting. Tell me more.
SPEAKER_0I'm not sure if you're aware of algorithms like A* and so on.
SPEAKER_1Very much. You'd be surprised. On some interviews, if you interviewed to Google, Facebook, et cetera, you are well suited to study these things because they might ask it. So even though we don't really use it, and this is a common thing with engineering, that's actually not true. In some of the things, there's pathfinding and like nodes, computers, where to go. A typical interview question will be how does Google Search search between all these things? So in theory we do it, but you actually are using it.
SPEAKER_0Yep. So the way this works in Thronefall is you see there's basically this blue overlay grid here on the ground, and every triangle here is essentially a node and they're all connected. And whenever a unit has to go somewhere, it just basically performs A* pathfinding on these nodes. And this is a ready-made system. This A* system is something we pulled from the asset store. We did not make this ourselves.
But of course you still have to customize it to a certain degree to your own needs. But hold on, just so I understand, the units definitely don't move on those paths, do they?
SPEAKER_1That doesn't look like the path that the units take to me, or they do. Maybe I'm just misunderstanding it.
SPEAKER_0They do. They do move on... If you want to perform A* pathfinding, then first of all, you need a node graph. Right?
SPEAKER_1A node graph, yes, yes, yes.
SPEAKER_0So this is the graph.
SPEAKER_1Yeah. Also, that's a graph. Yeah.
SPEAKER_0That's not the path the units takes.
SPEAKER_1That's a graph that they perform to search.
SPEAKER_0Exactly. And this graph is also dynamically updated. For example, when I build a castle center here.
SPEAKER_1It's a node. You know it doesn't actually...
SPEAKER_0Then you see there's a hole in the graph now where the castle center was.
SPEAKER_1And it's now connected that way.
SPEAKER_0Exactly. And this is all automatically updated and done by the plugin we purchased from the asset store. So you can see here, we can define these shapes, which kind of shapes should be cut into the graph and so on and so forth. But then actually making the units behave properly and take the correct path, it's such a nightmare because you also have walls that certain units can go through and other units cannot, and then the default path finding doesn't support all of those features.
SPEAKER_0So then you have to find workarounds. Then those workarounds cause new problems.
SPEAKER_1Did you need to worry about unit collision or... I don't think so. Right? In this game, they can go through each other.
SPEAKER_0No, they do collide. So there's...
SPEAKER_1Okay, so you need to worry about that as well.
SPEAKER_0Yes. It's partially taken care of by, once again, by the plugin we purchased. So it has what's called local avoidance. For example, if I write through them, you can see the...
SPEAKER_1That's local avoidance. And so plugin does that.
SPEAKER_0That is all luckily handled by the plugin.
SPEAKER_1Just a quick question. From a tech perspective, is that property, would that be code that is executed on each of the units, like a mono behavior for example? Or is it some more global thing? So in this case, it's executed locally, and that's because our game is not very well optimized.
SPEAKER_0It's kind of similar for most strategy games. Like most strategy games, if you've played any, oftentimes they have a unit limit of 200 or so. And the reason for that is usually not for gameplay reasons, but for performance reasons. Because you're more than 200 units, then at some point you're going to burn out your CPU. So yeah, this is all handled on the objects individually, and it's not very well optimized to be quite frank.
SPEAKER_1I mean it works and we have pretty powerful CPUs.
SPEAKER_0Yeah, exactly. And then of course, you also have the things that they're not exactly moving on the nodes. So you basically also have to do some post-processing on those paths so that if they can go straight through a node, then they should take the straight part. And if they're cutting around corners, they need to go in the corners here. And at the beginning, there were all kinds of problems,
like they're getting stuck on corners and so on.
SPEAKER_1Okay.
SPEAKER_0Yeah. But also the walls cause a lot of problems because you can see my units, they can go through the walls, but the enemy units, they cannot go through the walls. So now what should they do here? Should they try to go through this store? Should they try to go around? And it was a bit of a nightmare. And there are still some issues with it, but yeah.
SPEAKER_1Well, now the enemy meetings are mostly just attack the walls often.
SPEAKER_0Yeah, indeed they do. They basically pretend like they can walk through it and they don't know that they can't. They're confused. Why can I not go through that wall? See, but I feel these are the things that as a developer, you're probably a little bit pulling your hair about it or unhappy, but until we talked about this, I never noticed it as someone who played the game. So there's this joint of like, oh, you think it's a problem, but the customer or the user doesn't really.
Yeah, but that's also why you need different node graphs here, for example, there's also one node graph specifically for enemy units. And you can see the enemy unit node graph has sort of a hole in the node graph here where the gate is. And then the player units, they don't have a hole here, they have a thing that they can go through.
SPEAKER_0And then there's also a separate node graph for the flying units.
SPEAKER_1Oh, yeah. Oh, yeah.
SPEAKER_0So to answer your question, what was the biggest hassle? I think for me personally, the pathfinding was the biggest hassle from a technical perspective. And then from a design perspective, I would say probably the difficulty balancing was also a very big challenge due to the snowbally nature. We've already talked about that. And also one of the ways we counteract that a little bit is with the mutator system. So all of the base levels are usually a little more on the easier side, and then if you want to make it more difficult,
you can just play it with a couple of extra mutators.
SPEAKER_0And I feel like, in the end it worked out all okay. But there were challenges for sure. Yeah.
SPEAKER_1Yeah. Gen AI, it's everywhere now. There's like tools, etc. And I'm just curious, do you use any tools that are LLMs either for help or development? You did mention ChatGPT and also do you see any indie developers using any tools or stuff that makes your work easier? And is it making your work easier or faster at all? It does make my work significantly easier, and I think for most people,
most indie developers who say ChatGPT is not helpful for them, in my opinion, they have not mastered that tool yet. Because it has a bit of a learning curve and you need to learn what it can do, what it cannot do. But once you know what it can and what it cannot do, it is incredibly powerful, especially for beginner level questions on any subject, it's also incredibly reliable. So when we talk about Gen AI and Gen AI tools you use, is it ChatGPT mostly for you?
Yeah, I bounce back and forth a bit between ChatGPT and Claude, but currently I'm back at ChatGPT.
SPEAKER_0I think the o1, the o series is pretty good at coding.
SPEAKER_1And what kind of stuff did you do with it or do you do with it?
SPEAKER_0So one very common thing I like to do is I like to write skeleton code. So I essentially write an entire script, just a skeleton code. So there are the functions in there, but in the functions, there's just a to do write this function or something like this. And if you have a skeleton code like this, ChatGPT is incredibly good at filling that in for you. So that's just a little speed hack that I drew.
I come up with the architecture, I define exactly what I want to happen, but I don't implement it myself. I'm just like to do implement this function and from the inputs and the context, ChatGPT can figure out what I want the function to do. And this doesn't work for everything, but for boilerplate stuff that you just can't be bothered with, it works incredibly well. And then also sometimes there are subjects that you just don't know that much about.
SPEAKER_0For example, shader coding is entirely different. Discipline and shader code looks very complicated. It's very difficult to read if you're not familiar with it. So I feel like ChatGPT can also act a bit like a translator there where you copy in a bit of shader code and ask, "Hey, what does this do? Where should I implement this and that?" And it's just pointing you in the right direction because it's not perfect at everything, but it knows enough about everything that can help you with those weird
disciplines that you don't maybe know enough about to deal with yourself. And instead of having to learn shader code and spending months on that, I can just basically ask ChatGPT and it makes it so much easier and everybody who's like, "Yeah, butithallucinatedonetimeandIhadtorewriteit."
SPEAKER_0Yeah, sorry, but that's your fault. You didn't use it very well. That's I guess my take, yeah. And do you use GitHub Copilot at all, or no, you just use ChatGPT because what you mentioned of doing the to dos cetera, Copilot might be able to do that.
SPEAKER_1Did you try it or not? It didn't stick.
SPEAKER_0I actually haven't tried it. I probably should try it sometime, but I haven't tried it so far. And I'm also a little afraid of what it might do to my workflow because I wanted to be intentional when I use it. I don't want it to be constantly running in the background and doing things, at the very least not yet. So I'm fairly happy with my workflow there at the moment. Honestly, if you have a workflow that works, that's one complaint that I have heard and people have turned it off.
SPEAKER_1It's not just Copilot, but there's a lot of things where they prompt you. It does just show you, and after a while it can be annoying and it can get in the way of deep work.
SPEAKER_0I want to use it intentionally and when I want to use it. And I also don't want to get in the habit of using it when I shouldn't. So as mentioned, I think there are very specific cases when you should use it, and there are also specific cases where I should deliberately not use it, and I want to be able to make that call. And I am sure you can do that with Copilot. You can probably turn it off and stuff. But yeah. This just works for me at the moment. Talking about indie game development as a broader picture,
what are some things that you wish you knew before getting into indie development? Because so far we've talked about what I feel is more of the engineering part and a little bit of the art, which is the code, the design, those things. But I'm going to suspect that there's a lot of other things going outside.
SPEAKER_1I know you do, for example, the YouTube videos. You mentioned you do music. What were all these other things that oh, turns out they're kind of part of building a game with a small team?
SPEAKER_0The one thing I hate most is bureaucracy.
SPEAKER_1Really. What kind of bureaucracy?
SPEAKER_0Taxes, filling out forms for Steam.
SPEAKER_1Oh, accounting.
SPEAKER_0Accounting. That's the one thing nobody tells you about. Dealing with legal documents, creating all of these deals, writing back and forth with lawyers. It's like I just can't be bothered. Luckily, it's not a super big portion of the work I do, but it's just the most annoying part by far that nobody really talks about.
SPEAKER_1Nope.
SPEAKER_0Yeah. But other than that, I think what's pleasant about being a game developer for me personally is that you get to wear a lot of different hats. So you get to make graphics, you get to make music, you get to write code, you 3D model, you texture, you do sound design, you come up with cool systems and write cool tech, and this is a little bit of everything. And I think that's exactly what makes it awesome and fun.
And the one thing, as mentioned, this is also oftentimes underestimated is the UI coding, all of the overlay menus and so on, very annoying and super happy, I have Paul who's actually good at that and does it with a bit of joy as well.
SPEAKER_0That's a huge relief. Speaking with some other indie developers that you know, if several listeners are software engineers who know how to code very well, but they might be thinking of getting into indie development, what advice would you have for these people in starting to build their own games and publishing them? First of all, resist the urge to build your own engine, unless that's specifically what you want to do and get joy out of. If I just want to enjoy building my own stuff, sure, go ahead.
But if all you want to do is make a successful indie game, don't write your own engine.
SPEAKER_0That's step number one. Just use either Unity, Godot, GameMaker, Unreal. There are lots of good options to choose from. Pick one of those because as mentioned, it does make a lot of it a lot faster. And one of the main things you need as an indie game developer is speed, because it really is. If you're making games alone or in a tiny team of two or three people, you need insane speed to even be able to finish your game. And even if you are fast,
you still need to purposefully pick a very small game that's going to be manageable for you to make. The main thing that people, or that new developers I think should know is that games don't automatically sell better if they're bigger.
SPEAKER_0That's not the case. So you need a good payoff to effort ratio. That's what you're really after. So you want as much bang for your buck, and if you spend twice as long, then your game needs to make twice as much money to make up for it. And that is often not that easy to achieve because the bigger your project gets, the more technical depth you build up and the slower everything gets. So the bigger your project is,
the harder it is to make that return on investment. So actually smaller games are much, much easier to make successful because if you make a game in half a year, then it has much lower requirements to be successful.
SPEAKER_0And also people actually do like small games, believe it or not. People really do small focused experiences. I've seen it a lot for the games I build, for some of my friends build. There is a market for small and focused experiences, so that's 100%. Well, I'm going to go on a stretch in a little bit, but I'm an example, and I think a lot of software engineers who have day jobs working eight to 10 hours a day at a company, going home, potentially having other things to do,
you just don't have as much time. And a lot of us, we were able to afford the indie game of 10, 20, 30, 40 euros, and sometimes I personally feel it's a better use of my time to pay for a game that is shorter, but very enjoyable because I do not have time to go through the $70 game.
SPEAKER_1I just won't be able to finish it. And when I see that it's like 80 hours or 160 hours to finish, I'm like, no, it's a no go for me. So there's that part which is, this is one of the reasons I love indie games. You can finish it and feel that it's kind of complete. Okay, there's a little bit of many things, but I'm kind of happy with that personally.
SPEAKER_0That's exactly it. And you're not alone with that. A lot of people have day jobs. That's a very normal thing and people don't have endless time to play video games anymore. So that's why in the indie game market in particular, small games are completely fine and quality is way more important than quantity. So first of all, if you want to go from engineering to game design, then don't write your own engine. And also not only that,
you also, I think you have to resist that urge to build technical systems right away. Even an engine, I think a lot of people who come from an engineering direction, they have the urge to build their MMO system before they even test it if it's fun or not. So take your time, take it slow, approach it from more of a design perspective where you do care about the user experience first and only once you figured that out, then you can start worrying about how you want to engineer the system behind it,
but figure out the experience first and then go into the engineering part of it.
SPEAKER_0I think that's very important.
SPEAKER_1Thank you. In terms of learning how games are built, again, coming from a background where you do know coding, so that's not a problem, but the frameworks are different, the tools are different. What kind of resources did you use to learn? And also you did something that a lot of listeners will have not done. You've actually done a degree in game design. I'm curious on how much that actually helped you become a better game developer, and would you recommend a more focused course like this,
which is not just a watch a YouTube tutorial kind of thing, but actually spending a bit more focused effort and how that worked for you? I think it's completely possible to be 100% self-taught when it comes to game development.
SPEAKER_0There are enough resources out there to learn it yourself. I think the main thing university did for me is that it connected me to a lot of great people. I really have to give a big shout-out to my game school for that. I studied game design at HTW Berlin, the bachelor game design degree, and it was very, very valuable. I just want to make the very clear, it was super valuable for me.
They did have great coaching, they did have great courses and so on, but all of that stuff you can teach yourself. Maybe it's a little more efficient if you do this in a specific way or something, but you can 100% teach that to yourself. But one thing that was just immensely, immensely, immensely valuable was just the people I met there because they basically curated a list of really awesome people, and that was incredibly valuable as it turned out,
because I went on to start a company with some of them. And I guess part of the reason is that they have an application process where obviously they only select a portion of the people who apply. If you go to a different game school where the only requirement is that you pay them a lot of money, then you won't have such a nicely curated list probably. So if you want to go to a game school, honestly, that's one of the main things I would look for is how they curate the list of
people there. Because honestly, the more difficult it is to get in, the more awesome the people you will likely meet there.
SPEAKER_1I like that. Yeah.
SPEAKER_0Other than that, don't be worried. You can be self-taught. It's not a problem. How do you see success as an indie developer for those who want to get serious about it? You are reasonably successful, if I'm kind of under rating it, but you've had two big hits already, and even the third game is I think what a lot of developers would dream of. What do you think helped your success and when other indie developers ask you for advice, what did you tell them? Well,
the honest answers, you have to get lucky to a certain degree, but the luck isn't in what happens after you press the launch button. The luck is in where you are born and which people you meet along the way.
SPEAKER_0I feel like especially extremely lucky with the people I met. Paul is just such a fantastic person to work with, really happy about that, and there was a lot of luck that we got to connect like that. Then besides that, I think the main thing you need to do if you really want to succeed with making indie games is you need to find the correct overlap of something you want to work on and something that also has a chance to do well in the market and figuring out what can do well in the market.
That is a little bit of a science by itself, and we could probably fill an entire podcast episode about my theory crafting about that. But if I had to sum it up very quickly, it needs to be appealing, it needs to be fun, it needs to be a good game.
SPEAKER_0So the super short summary would be just make a great game. But the problem with that is it also needs to be the right game. So a metaphor that somebody on X recently helped me refine a little bit is imagine you're selling ice cream. It's not enough to sell the perfect ice cream. All there needs to be the correct kind of ice cream because if you're making perfect garlic ice cream, everybody's like, "Yeah, sure, it's perfect garlic ice cream,
butIdon'twantgarlicicecream." So you need to make great ice cream and also needs to be a flavor that people actually want, and don't open your ice cream stand next to a bunch of other people who are already selling the same kind of ice cream.
SPEAKER_0Like a pretty decent analogy. So you need to...
SPEAKER_1Well, yeah. I guess you need to be aware of the actual what is happening in the world, because right now, if you start to sell Dubai chocolate ice cream, it will be popular because the past few months, it's actually been a trend. But if you did that a year before or a year after, probably not. Those kind of things as well. Short-term trend chasing doesn't work very well with game development because it's such a lengthy process, and by the time your game comes out, the trends have already moved on. So you're really looking for those long-term trends and what really does
well in the long run. You have to have a finger on what people really crave and figuring that out is I think one of the main challenges. And then also accepting that you're not making just your own dream game, but that you have to make a game for others. That is the other half of the challenge that some people struggle with, where they're like, "Yeah, butIreallywanttomakethisandthiskindofgame." And if you tell them, "Yeah, sure, you can make that game, but I'm not sure if it's going to sell all that well," then they're just like,
"La, la, la." If you want to make whatever you want to make, more power to you, that's obviously perfectly fine. But if you want to succeed, then you also have to think a little bit about what is likely to succeed. And it's not as pure, it's not as idealistic as just make great games, just follow your passion, but you need to strike some compromise.
SPEAKER_1Yeah. For sure. Yeah. Thanks for that. So with that, we'll close it up with some rapid questions. If you're okay with that, I'll just ask and then you fire back.
SPEAKER_0I'll see how rapid I can make it. Well, I'll try my best.
SPEAKER_1Yeah. What is the game that you enjoy playing and would recommend? And obviously you cannot say any of the games that you made.
SPEAKER_0Specifically to engineers, I would recommend Opus Magnum. If you haven't played, it's a great puzzle game. You should play it. And just in general, I would recommend everybody should play Outer Wilds. It's a bit more tricky to get into, but give it some time. Play Outer Wilds. Thank me later.
SPEAKER_1I'm going to give it a go and I'll see if I'll thank you for it. What is your favorite programming language and why?
SPEAKER_0Depends on the use case.
SPEAKER_1Oh, haven't heard this before. Very practical. Okay, tell me. Yeah, I think both game engines as well as programming languages, they have different pros and cons, and depending on what you're trying to do, you can use different tools like pick a tool that is appropriate for the job that you're trying to get done.
SPEAKER_0Yeah.
SPEAKER_1Spoken like a true game designer. I think maybe, I don't know enough programming languages to really make a great judgment call about this.
SPEAKER_0I know C#.
SPEAKER_1That's fair. Software engineers are often biased towards one language or the other, the strengths or the weaknesses, but I like the practical aspect of this. What are two books that you'd recommend reading? If you want to get into game development, I would recommend 10 Steps to Making Your First Game Successful by Wlad Marhulets.
SPEAKER_0I hope I didn't screw up that name, but I can show the book real quick. Tada. The reason I like this book is because it's a fairly easy read, very, very big font. You can go through this relatively quickly and it essentially touches on everything you need to know about making a full on video game. It's a bit surface level, but it tells you a bit about everything. So I think it's a very, very good starting point.
SPEAKER_1Awesome. Any other book or one book also works. There's another one you should at least know about when you want to make games, and that is Flow by Mihaly Csikszentmihalyi. I'm not sure you necessarily have to read that book, because this one is certainly not an easy read. It's a bit exhausting to read, honestly, but maybe you can read a summary about it or something. Awesome. Well, thank you very much for sharing all of these proper behind the scenes of how a game is truly made.
SPEAKER_1I've had a really good time just taking it all in. Thank you. Thank you for Jonas for taking us to behind the scenes of building of the indie game, Thronefall. The game is available on Steam and on Nintendo Switch. Jonas also documents his indie game development journey on his YouTube channel. Check it out. It's linked in the show notes below. For a deep dive of how to build a simple game using Unity and for the basics on game development, see The Pragmatic Engineer Deep Dives, also linked in the show notes below. If you've enjoyed this podcast, please do subscribe on your favorite podcast platform and on YouTube.
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. • Entire - The Git forge for agent-human collaboration. Built for the scale and...
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. • Linear - the product development system for teams and agents. • WorkOS -...
Brought to You By: • Antithesis - verify your system’s correctness without human review or traditional integration tests - and avoid bugs or outages. • turbopuffer - a vector and full-text search engine built on object...
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable • Linear - the product development system for teams and agents • WorkOS -...
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. • Entire - Git hosting, rebuilt for the agentic era. Every agent session, prompt...