Home Creators Posts Import Register Favorites Logout

Content

Hello my friends!

I hope everyone has been doing well! I’ve been doing great and have been keeping very busy these last several weeks. I’ve had such a great summer this year - went on a couple of camping trips with my family, made some hit videos on YouTube, then finished the summer by coding, designing, publishing, marketing and shipping my own game!

In this newsletter I’ll talk a little bit about the development of Flappy Mac, give you the latest news on the YouTube channels and let you know what’s coming up next.

Flappy Mac Development

Flappy Bird is kind of a staple for homebrew game development. Most retro systems have a Flappy Bird clone of some sort. I was waiting a long time for that to happen on classic Mac, and it never did. Nothing has ever really sparked when it comes to modern games for classic Mac. I figured that if a Flappy Bird game was to ever happen on classic Mac, I’d probably be the one to make it.

I’ve been planning on making this game for a long time now, but it wasn’t until recently that I had time to make it a reality. It was originally only supposed to take a week to develop, design, and market the game. I had a plan that was similar to the release of my other vintage Mac project MacGhost, where I would bust my ass to get everything done in a week or so.

If I would have known just exactly how much work would be involved in making this game a reality, I probably would have worked on this game over time, and not dedicated several weeks of my time all at once. It was actually stressful and took a bit of a toll on my mental health - I’ll talk more about this a bit below.

I finished the entire project in just 4 weeks. Was it difficult? Absolutely. Was it fun? Absolutely! Coding is challenging - there are so many ways to accomplish what you’re trying to do. I get lost deep in thought figuring out how I can design the program to run in a way that makes most sense to me.

Programming the Game

I’ve made a few games in the past, but never finished a complete game in C, so this was an accomplishment to me. I learned so much about Macintosh programming during the production of this game.

I am certainly not claiming to be a master programmer. I only took a couple C classes in college, but I know enough to make it happen. The Macintosh toolbox was interesting to learn about - I was constantly flipping between Apple’s Inside Macintosh developers manual, Think C reference, and my bookmarked pages in the book “Tricks of the Mac Game Programming Gurus”.

I designed the game to be as portable as possible. It does not rely on a preference file in the Macintosh System Folder, but rather saves all of the data to the game’s resource fork. The mindset behind this was that you can play the game from a floppy disk and bring it between your computers without losing your high score. I also took extra care as to when I would load and save data to the floppy disk, as it is not an instantaneous process and can slow down the game if it’s in progress.

I love to learn, and I absolutely found it enjoyable to learn all about classic Macintosh programming. I still have a lot to learn about it and I will most likely do another classic Mac game development project in the future.

Graphic Design

I did a lot of work designing and editing graphics using Affinity photo on Mac OS 11. I use a piece of software called Pixatool to convert my color photos into black and white.

I export my graphics as PNG files and bring them over to the classic Mac software Graphic Converter to convert them into bitmaps that classic Mac will understand. I did a lot of tweaking to the images using the icon editor in Apple’s ResEdit software.

The graphics were a mix of original creations, classic Mac icons, and classic Mac icons that I edited for use in the game. Each character had 3 sprites - jump sprite, fall sprite, crash sprite. The pipes were made up of sprites as well. Separate top and bottom pipe shaft sprites, as well as a top and bottom pipe sprite.

Sound Design

Some of the sound effects were created in jsfxr - an online port of sfxr by DrPetter. The Macintosh can generate these types of sounds natively, but I don’t know enough about working with waveforms on the Mac and didn’t have time to learn, so I decided to work completely with digital audio files.

I created, trimmed and shaped my audio files in the MacOS software WavePad, and exported my files as 22.050khz 8-bit samples so they would be compatible with all Macs. This lowers the quality of the file and can introduce significant hiss in the audio, so to help offset this I make sure to compress my audio as much as possible to balance the dynamics. (There are no real dynamics in the audio at this low of bit rate - it just gets scratchier the quieter the source…)I would export my audio as .aif files, then take those over to the classic Mac and open them up in a piece of software called Sound Edit 16 v2. I’d open the AIFF files in Sound Edit and save them as System 7 sound files. Then I would open the new System 7 sound files in ResEdit, and from there I could copy them to my resource file for my C project.

The sound effects were very easy to implement - the Sprite Animation Toolkit library I used has a function that controls the Sound Manager and lets you easily fire off sound effects. I only used 1 channel of audio for the game, so sound effects should not have any effect on the game performance.

Unhealthy Choices

The whole time I was actively developing the game, I was under the assumption that I was going to finish the entire game in just a week. It was all going well at first - I wrote the actual gameplay loop in just 3 days, then the rest of the 11 days of development was spent designing graphics, sound effects, and fixing bugs. 

I worked unhealthy hours to get this done in time. I kept thinking that I was going to get it done in a week, so I was crunching the entire time to make that happen. Every single day I was working on it I felt like it was taking too long. 

The deeper I got into development the more that I realized how much work would be involved… I almost scrapped the project at one point, but with careful organizing and by working from sun-up to sun-down I made it happen in just 14 days.

I had no idea just how much work is involved to put out a game on classic Mac. It was something I could have never known going into it, but I am thankful for the experience. I went through so many emotions during the development - the trials and tribulations were very real.

Marketing

So after the game was mostly finished I started planning the next steps. Creating the game was only half the battle. I then had to think of a way to market the game so that people will actually download and play it. Many lessons were learned in the development of MacGhost, where you can impress people with something, but getting them to go out and download it is another story.

This game will have limited appeal to the average gamer. I knew this going into the project, and I knew that I needed to create it specifically for Mac fans. I’m hoping Apple won’t mind me using their Happy Mac, Clarus the DogCow, and other intellectual property, but I am completely prepared and ready to take it down if they do. (I don’t think they will care)

I created 3 YouTube videos and 2 web pages to promote this, and I thank my lucky stars that some of the bigger Twitter personalities retweeted my announcement trailer post. 

Floppy Disk Release

This idea was fun to actualize - the goal was to put out a limited number of these homebrew floppy disk source code packages, just like so many shareware authors did back in the day.

There are not a lot of copies in existence, so they are both rare and easy enough for me to manage creating and shipping out by myself. And most importantly, I wouldn’t go into debt creating a physical release of the game.

I originally thought of it as being some kind of Merch I could have on my site and maybe every once in a while someone would buy one… To my surprise they all sold out within 4 hours of release. I had a glitch on the website which left 4 copies unsold, so the day after release I put those up along with a new video, and they instantly sold out too.

I only have a few more copies left to put up.

The disks were very special. I spent a lot of time designing the packaging, scoring and trimming the inserts. I got some new tools to make everything as professional as I could make here at home. The floppy disks were brand new sealed in the package. Thankfully I had these already, because they are the kind that do not have any branding on the metal shutter. You can still get new unbranded floppy disks, but they are getting expensive.

I was originally planning on releasing the game with just the floppy itself, but I found a source for some floppy disk cases online and everything sort of fell in place to put it out like I did. I made several prototypes of the case, and I really loved the one that I ended up with.

One of the major goals of the floppy release is to get people curious enough to set up the Think C compiler, and the Sprite Animation Toolkit library so they can compile the game themselves. At this point they will have everything they need to develop their own Mac games!

I spent hours going over every bit of code that I could talk about and explained everything in comments. I tried to make it as easy to understand as I could manage. I want to inspire others to create their own Mac games.

Final Thoughts on Flappy Mac

This was all just so crazy to me. It’s crazy that I was able to code this, crazy that I was able to sell software on floppy disk in 2021, crazy that people enjoyed the game. I’m very proud of it. 

It’s only been out for 4 days at this point, but I am already preparing for the next project, which will be a new video on my main YouTube channel. The last video I did on the main channel was a huge success, gaining over 85K views over the past few weeks.

So yes, this Flappy Mac project was very interesting. I stepped way out of my comfort zone, I learned a lot about programing the classic Mac, and I made a cool game that is fun and difficult. I really hope you guys enjoyed it.

Coming Up Next on Killgruz

I’ll have a new video within a couple of weeks. If the project I’m planning works out, I’ll have a new video about Super Mario Bros on the Commodore 64. If not, I’m sure it will be something else that is interesting.

Thanks so much for supporting Killgruz!

Jarrod

Files

Comments

Cameron MacGregor

Many, many kudos for the love and care you put into Flappy Mac. I like how you implemented high scores and saved settings in resource forks. It's such an elegant, old-school way of implementing it. 👍👍 Back in the day, I used to off-load lots of games onto floppies when I only had a small hard disk. This also allowed me to boot into earlier versions of the Mac System to accommodate games that were fussy about INITS running on my main System. Funny thing: Before now, I never had any version of Flappy Bird running on any of my devices (other than through web apps). When there was the whole (pardon the pun) "flap" about the original author pulling the game from the iOS App Store, I didn't rush out to find a hacked version just because it the was "it" game at the time. I suppose I should thank you (or curse you) for making such a tantalizing flavor so that I'd "drink the Kool-Aid" after all this time. 😉

Cameron MacGregor

Side note: Suddenly, Flappy Mac isn't running as well in Classic mode on MacOS X 10.4 Tiger on my PowerPC Mac. A short while in, the game stutters horrendously and it becomes virtually unplayable. I don't think it's your app. I think something about Classic mode is messing up. This is on a basically-pristine install of MacOS X, so I can't be bothered to reinstall it all again. (No worries, as this isn't really the environment you envisioned when you developed Flappy Mac.) I haven't hauled my old Mac SE out of storage to try Flappy Mac on it. (It'd run pretty slow.) Why bother when Flappy Mac runs like a dream in Mini vMac on my "daily driver" computer? It's so much more convenient. (I just worry that it'll motivate me to recreate my ENTIRE classic Mac experience in Mini vMac... just because I could.)

gruz

I'm still shocked that it runs at all in Classic mode! I've never had a great experience with it and would usually dual boot into OS9 when I needed it. (I didn't like early OS X so I needed it a lot) I also think Mini vMac is very convenient! It's actually my favorite recreational app on my modern Mac and I use it almost every day. I've recently been playing with the Macintosh II variation of Mini vMac and it works so well that I actually prefer using it to real hardware these days. The speed settings are so useful to avoid load times, and it is very nice to use on a 27" display with a modern mechanical keyboard and a comfy mouse! 😊