Syntax Video
I made a Game Boy game in 2026
- 0:00 intro
- 1:24 the plan
- 2:36 ways to build a GBC game
- 3:26 i've built retro games before
- 3:56 just get it working first
- 5:17 GBC sd card flash cart
- 5:58 GBC emulators
- 7:04 GBC Rom Format Testing
- 7:46 GBC mods: shell swap and backlight screen
- 9:16 build build build
- 9:47 creating pixel art with pixelorama
- 10:28 how game boy color graphics work
- 12:55 scoping down the plan, fixing bugs
- 14:34 story dialogue
- 15:36 polish and clean up
- 16:15 GBC music format
- 17:31 attract mode
- 18:24 syntax error retro ad
- 18:41 we did it (and what's next)
- 20:18 call for artists
- 20:36 thanks
intro
In the year 2026, I built a Game Boy game. It's called Syntax Error. It's themed after syntax. It's a platformer game that also has puzzles in between. You can play as Scott Weser CJ. And I built this whole thing in 4 days. So, every year, Sentry hosts Hackw Week where you can work on whatever you want. I decided to build a Game Boy game. So, in this video, I'm going to show you how I did it. I'll tell you all the tools that I used. I also modded this Game Boy Color. So, this is a custom shell and has a backlight screen that also allows you to like change the color palette.
I'll show you how I did that and tell you how I used AI because I would not have been able to make this game in 4 days if I didn't have access to AI. So, I'll show you the the setup that I used. Essentially, AI could actually play the game. And um we also used Tiled to lay out all of the levels and all of the pixel art is created from scratch. Um but yeah, it was super fun to work on.
In this video, I'm going to tell you all about it and tell you how you can buy the game. So, one of the fun aspects of making a physical game in in this modern era of everything being digital is you can you can have it you can hold it in your hands. And so, in about a month, we're going to release the physical game with packaging and and a manual and all the stuff you would expect for a physical game in the Syntax shop. We're like sourcing everything right now. So, keep an eye out for that as well. So, if all that sounds good, let's dive right in. My name is CJ. Welcome to Syntax.
the plan
So, you want to build a game. The first step is to plan. What kind of game are you going to build? What's the story? Who are the characters? And so, I spent half of the first day just figuring all of this out. And ultimately settled on theming it after the syntax team. So, we have myself, Scott, and Wes. and we are all sucked into a computer where we have to fix the code and battle the final boss. But yeah, half of the first day was just figuring out what am I going to build and how am I going to build it.
And ultimately the the mechanic is it's a platformer. So your character has to go through these platforms very similar to Mario and defeat enemies and then at the end of every hallway is a terminal you have to interact with to then play a puzzle. And the puzzles in the game are modeled after Dr. Mario, Bust a Bug, and also Sooan. And the idea is each level will be one of these different puzzle types, and the difficulty of that puzzle increases as you make it through each hallway. So, it's a fun mishmash of of nostalgic things we're used to from like the world of Game Boy and Nintendo, uh, but all in a syntax game. So, that's the idea that we settled it on. Now, I had to figure out how to actually build it.
ways to build a GBC game
And there's a couple of different ways to actually build a Game Boy game in this modern era. GB Studio is really popular and really easy. They actually give you kind of like an interactive editor very similar to like Unity that you might be used to if you if you've built games before and it lets you lay out your tiles and your maps and it has like a physics engine and and everything else like that. So, if you want to get up and going really quickly, GB Studio is definitely the way to go. Personally, I wanted to write low-level code or at least wanted AI to write low-level code and build all of this up from scratch.
So, I found the GBDK 2020. And so, this is an SDK where you can write CC code to create retro games. And it supports more than just Game Boy. You can also do Analog Pocket, the Sega Master System, Mega Duck, or NES. You can use this SDK for all of those. Now, I am not new to developing retro games. That syntax logo you see back there is actually running on a Sega Genesis. So a year ago I built a Sega game, but I did not get as far. We basically had one level with platforms and it took me 4 days to figure out all of that. Uh but we also wrote it in a low-level way and then flashed it to like an actual cartridge. And then after all of that, I created this nice little animating thing so it's in my background all the time. So I have experience working with these lower level SDKs.
i've built retro games before
just get it working first
Now, when you only have 4 days to build a game, you kind of want to take some shortcuts. So, part of the first day of building was also just doing a lot of research in terms of what open- source games exist out there that maybe we could base our game off of and also like what assets exist out there because one of the biggest parts of bitmaking a game is all of the assets. You've got the pixel art for the characters, the bosses, the tile maps. All of that is hard work if you're doing it from scratch. So part of my initial research was looking at some of these open source games that people have created using the GBDK 2020 and just seeing what do they have that I could potentially use. And there were a couple of things. So if you look in the examples for GBDK 2020, they actually have a platformer example. So they show you how you can control a character on screen using like the D-pad and and B for jump, that kind of thing.
And then there were a couple of other example projects that had things like enemies moving around. So ultimately my goal for day one of this challenge was to just get something onto the Game Boy itself. Like if I could prove that I could actually run a build of GB GBDK 2020 and have an actual game on a physical cartridge, that would be a huge success for day one. So that's exactly what I did. I had AI look at all of the examples, pick and choose which ones would be closest to what we were trying to build, and it put together an example ROM that I then was able to play on my Game Boy. So the way that I'm doing this is actually with a flash card. So, these you can get for like 30 or 40 bucks on Amazon, and they take an SD card. Now, a lot of people use these to play ROMs.
GBC sd card flash cart
Essentially, you can put any ROM you want on here. And this actually shipped with like a,000 Game Boy and Game Boy Color ROMs. And so, you can put your ROM that you create on here, load it up, and see if it actually works. And so, this is a super easy way to just do like local development on a physical device. Eventually, if you actually want to sell your game, you'll need to flash it to an actual card, which we'll talk about later. But for development and just testing, and if you're the only one that's going to be playing your game on an actual Game Boy hardware, one of these cards is all that you need.
GBC emulators
Now, if AI was going to be doing all of this development and then handing it off to me, it needed some way to be able to test and play the ROM itself. And that's where Pi Boy came in. And so PIBO is a Python project that allows you to use Python to control a Game Boy. So essentially AI set up all of its test scripts where it could build the app using the CC code and GBDK 2020. And then when it was time to actually test, it would fire up Pi Boy and have preconfigured scripts of all of the button combinations that would need to be entered to actually interact with the game. It would then also take screenshots of the game as it was playing it. And then it would inspect those screenshots to decide if things were working or not. And then finally, once it was ready for me to actually play, I could take the ROM that it had already tested it itself and then play inside of an emulator because it would be really cumbersome if I needed to plug in this and transfer it to the SD card every single time I wanted to actually test the game. So, that's where emulators come into play. And for this, I used an emulator called SameBoy. It's open source, it's crossplatform, and
allows you to load up any ROM and actually try it out. Now, there are several different formats of Game Boy Color ROM. There's like GBC 4, GBC 5. They store data and are formatted in in different ways. And one thing we needed to figure out is what is the format that would actually be supported by this cartridge here. So, AI actually created a b essentially a debug ROM that I could plug into a physical device and it would read out all of the save locations and it would say whether or not saving was working and also like what format would be supported. And so before we got any further in terms of like actual platformer or menus or anything else like that, that test really let us know what we were working with and if we could continue using this particular format.
GBC Rom Format Testing
GBC mods: shell swap and backlight screen
Now, after that initial test to make sure that hardware was good, everything was building in the right way, AI was off to the races. It was going to start building out level one and all of the initial menus. And while AI was working on that, I needed something to do. So that's when I modded this Game Boy. Now, the screen built into a Game Boy Color is not amazing. You essentially need to be in a well-lit room, otherwise you can't really see the screen at all. And so, there are a few things you can get, like there's actually this little worm light you can plug in, and uh I had one of those as a kid, so I could play in the dark. Um, there's also like attachments. I remember having one that was like a magnifying glass that had a light behind it that would allow you to actually play the screen at night. But, in this modern age, we have back lit screens. So, I bought this kit that includes the backlight screen as well as the ability to like change the color palette like I showed at the beginning of the video. And it's a completely solderless kit. So, essentially all you need is a special screwdriver that can tap into the screws that are on a Game Boy Color. And then also a pair of tweezers makes things easier when you're like unplugging and replugging the screen cable. And the kit that I bought
didn't come with very good instructions. And there's a bunch of like random kits online. So, with trial and error and looking back and forth at a lot of the images, I was able to figure out like the actual right way to install it. And it took me probably an hour to get it all going. But I'll link in the description the kit that I bought as well as some of the videos I found that made it a little bit easier to install.
But at the end of that hour, I had a beautiful working Game Boy with a backlight so I could actually play it in the dark. After that, I checked in on my AI and it had made some good progress and day one was over. So, with 25% of my total time to build down, I only had 3 days left, but I felt like I was in a good spot, right? We we we were able to build custom games. I have a modded Game Boy.
build build build
We have a whole tool chain where AI can actually build the ROM and test it itself. So, things were set up that really now all we have to do is just build the rest of the game. So day two was all about pixel art. Now like I mentioned, I did some initial research to figure out like what assets maybe we could reuse from some of these other example games ultimately decided that we weren't going to use any of them. But as I was actually working on the pixel art myself, AI could keep building with placeholder art. So that's basically how we treated this stuff. AI was building using placeholders and then I would gradually create the pixel art myself in a program called Pixelorama.
creating pixel art with pixelorama
It's open source. It's very similar to a sprite if you've ever heard of that. But it's a basically a program where you can draw one pixel at a time. And that's how I created the art for all of the characters and tiles in the game. There are some limiting factors when you're creating graphics for Game Boy. So, first let's break down what colors are supported and how the Game Boy actually renders all of this stuff out.
how game boy color graphics work
So, a Game Boy screen is 160x 144 pixels. And there's no responsive design here. Like every Game Boy Color has the exact same screen size. And so that's what we're actually building for. Now everything we display on the screen has to be broken down into tiles. Those tiles are 8 pixels by 8 pixels and everything. So the characters themselves need to be broken down into 8x 8. The background tiles, the text, everything is 8x8. Now, Game Boy Color actually supports 32,768 possible colors, but you realistically can only have about 56 colors on the screen at any given time. So, when you're planning out your tile maps, your levels, your characters, you need to take all of that into account. And any given tile can only have four colors max. So that's actually part of the charm of building an old school game like this is you're so limited in what you can actually do that you have to get really creative if you want things to to look interesting. Now the other aspect
of this is there are layers. So there is a background layer of tiles and this is scrollable. That's essentially how we can take the level map. We basically lay it out as 8 by8 tiles with our tile set for all of the possible blocks and everything that should appear and that can be scrolled. You then have a window layer on top and that's how we have like the heads-up display and and the text at the bottom that always stays there regardless of where you're scrolling.
And the other aspect of that is there's no built-in text on the Game Boy. If you want text, you need to create a font out of 8x8 tiles. And so that's essentially what we've done. I found a compact font on it.io that was free to use as long as I credit them. And then we modified it slightly to give it more of a a syntax flavor. Now, another aspect is 8 by8 pixels is not a lot to work with if you want to get any sort of detail in your actual characters. So, what I ended up doing is creating our characters. So, the CJ, Scott, and Wes, all of the hero characters are actually three tiles high. So, that's 24 pixels and two tiles wide. So, that's 16 pixels. So, 24 by 16. And that gave me enough room to like make it clear that my character has a mustache. It doesn't like just look like a dot. and the characters actually take up a lot more room of the screen when they're jumping around. So, that was one way I was able to get more detail in the actual car in the actual design of the characters.
scoping down the plan, fixing bugs
Now, by the end of day two, I had a decent amount of assets and a playable platformer that was kind of ugly, but at least worked. But being halfway through this 4-day limit, I knew I had to rep prioritize. So day three was all about taking this giant plan that I had and scoping it down so that I could actually deliver by the deadline. And so essentially instead of having three giant levels with three puzzles each and then a boss battle, I shortened it so that you have one hallway which leads to the first puzzle syntax doctor, another hallway which leads to another puzzle bust a bug and then one last hallway which leads to the puzzle so then finally the boss battle. So, I essentially took my plan of multiple hallways and multiple different levels of difficulty for every puzzle and just scoped it down to the core pieces of the game itself. Now, day three was also really just working through a lot of the bugs that were popping up. I would get weird glitching colors. Sometimes the sprites wouldn't be the right color, and it really comes down to managing memory.
Now, I didn't write any of the C code. AI was doing all of that. And so as I was prompting with it back and forth, it would determine, oh, I loaded some sprites colors into memory, but forgot to pull those out before loading the other sprite, which means now the other sprite was drawn with the wrong colors. And so there's a lot of back and forth for that. And every now and then there would also be like a lot of glitchiness where like the screen would be uh essentially like blinking in between frame updates. And so it did a lot of optimization to make sure that it was wasn't doing too much in between frame draws. and a lot of stuff that I didn't get into the details of but was able to prompt AI to fix from a high level.
story dialogue
Now, the other aspect of this game is there's essentially a story involved with it. So, Scott West and I are recording a podcast when we actually get sucked into the computer to code and and build and deploy. And uh for a game, you want title sequences. And so, that's essentially what we have when the game is launched. There's a scene that has a series of titles that kind of describe what the player is getting into. And this is really standard if you've ever played like Pokemon or anything like that. Essentially, it's walking you through the the story of the game. And so that's what we build out for the first scene. And we also built out the mechanics where a player can fast forward through the text if they don't want to see it all appear letter by letter. And then finally, they get to the character select screen. So on day three, we built this out as well.
Essentially, you have the the different descriptions of the characters and um also their powerups. So, Wes can throw hot tips. TJ throws his seedling. That's me. I live in the coding garden. And Scott can actually take his hat off and throw it at the enemies. So, you choose your character and then you play the game as that character. So, by the end of day three, we had a working main menu saves, we had the initial title sequence, we had the level one, we had syntax doctor, and we had level two and bust a bug. Day four was going to be all about polish. I essentially just needed a good-looking game with all of these aspects that I could show for Hackw week. So day four was really just all about cleanup, making everything look nice, getting the rest of the assets built and integrated, and then finally building out a simple version of the final level and a simple version of the final puzzle and final boss.
polish and clean up
GBC music format
One of the final things you need for a game is music and sound effects. And I actually shipped the game in four days with no music or sound effects, which is totally fine for a demo because nobody had to know that it didn't have music or sound effects. But for the final game that actually makes it into the syntax shop that you're going to be able to buy, I am working on music as well. And so the formats that is ingested by the GBDK 2020 is called UG. And there are several different apps that allow you to create music in that particular format.
And essentially, the Game Boy Color hardware has noise generators of different types. And you can tweak the settings of those noise generators to make them sound like melodies or make them sound like drum beats. And then you can use a sequencer that says according to certain time which sounds should be playing. And you essentially have up to four sounds playing at the same time. So I found a few free songs on it.io IO and I've taken those as a base and I've started to modify them to be more custom for the syntax error game itself. And I still have some work to do to get these fully done. I essentially want different music for every single level, for every puzzle. The menu will have different music as well. So have I still have some work to do there.
attract mode
Now, one more thing you really need if you're going to have a game just sitting on a Game Boy like this is what's called a track mode. And so this actually shows you game play before you get into the main menu. So this is showing uh for instance the bust a bug and then now it's showing the player playing level one. And these are actually like precoded movements and the the level itself is actually being loaded for each of these things. But we essentially have a sequence of steps and a sequence of button presses that make it look like somebody's actually playing. And so you've probably seen this on a lot of games where like if you don't go into the menu immediately, you kind of see a preview of of what you're getting into.
And so that's what we built. And then finally, if you press A, that takes you to the main menu. So that was one of the last things I built because I wanted to get a lot of B-roll of this game being played on multiple GameBoys. And then used all of that to build out a commercial that would play at the beginning of my hack week video. Game Boy Color. Wes, Scott, and CJ just got sucked inside the code. Blast through bugs, crack the puzzle, survive death, build, and deploy. It's syntax error for Game Boy Color. powered by Sentry Game Boy Color. Get into it.
syntax error retro ad
we did it (and what's next)
So, in 4 days, I did it. I had a working game. I had a demo video. I was able to mod my Game Boy. I'm very happy with what I was able to accomplish in just 4 days. But now, I want this game to be good enough to be able to sell it in a store and and have it be worth your money. So, the past few weeks since hack week, I've actually been finishing the game according to my original plan. So, now we have multiple difficulties of every puzzle. The the levels I doubled the size of. So, there's more platforms and more enemies to get through before getting to each of the puzzles. So, the game is getting its finishing touches.
I'm doing some play testing, working out all the final bugs, and now it's time to turn it into an actual physical game. So, I actually prototyped some art for the box. You can see this is the art that I created for Hackw week and it's fine, but it's not really the style I was looking for. And so I prompted with AI quite a bit and then turned it into this. And so this is much closer to what I expect the final box to look like. But I don't want to print AI generated art on hundreds of copies of a physical game. So right now I am reaching out to several different artists. Um it's hard out there. If you've ever tried to commission art, especially in the age of AI, you just get inundated with bots um trying to sell you art, but I've been interacting with a few real humans. Um some of them haven't gotten back to me.
Some of them have stopped responding. So, art is in the works, but you best believe that the final version that ships in the store is going to have human created art on the cover. Um and also, if you know of any artists that uh can can potentially do this style or something like it, please let me know down in the comments. You can also reach me at cjs syntax.fm if you'd like to uh be paid to create the artwork for the physical copy. Just let me know. It's it's been hard trying to find somebody to actually create the art. So that's it. I built a game. Hopefully you enjoyed this. If you have any questions about the build process or tools that I used or anything else like that, let me know down in the comments. I'll be sure to help you out. Um and if you've built games yourself, I'd love to know. Let us know down in the comments as well. All right, that's it. Hopefully you'll see this in the syntax store very soon.
call for artists
thanks
Quote it with credit and a link. Quoting Syntax