Learn how to make a top-down tile-based game for the Sega Mega Drive using SGDK!

Megatiler 1 - Tiles

Posted January 11, 2020

Welcome back to another Mega Drive project tutorial! This time around we’ll create a top-down game, where the goal is to collect enough coins and then reach the exit of the level. We’ll learn how to work with simple tilemaps, how to progress from one level to the next and other things!

images/megatiler.png
Boss Patrons on Patreon can access this content right now. It will unlock for everyone else on:
Jan 18 2021

Please enter the password you received to view this content.

9qoKw+cy1JEN+3sMIgsA/9yTaDNK04fzEoXMh2SMx7gBkU6dI3RtZnGFZ5zoh3WmwzzJmQgASLLcgjuY3WunYwnLDNxYpmJ6HgGVTAbXHQCprQdSfSPdZQyDyZj7oGuV4SBNBgpJaV2ddMK3VTdKdocPma+jXh3ZQji7UibqZDWKKp6bWlhiKVN6Eadz7CmE+MKvHObvHA7ph90HBqE7PCCyGtr1J7bR9VH4IL7E2ycdZfnDUVTDzSrliYNan9VTRbjt2heTJcPbzNC2lpzgALhLOwnWT3jhfhxS7wKfRgsneHWjJmFketK2vtqkFWPVvs7PKJzk9LHpDQvcygk6JShlPq6VUQGj213kudOIKUkE2Igyk5IWJb05OPyBR9EteqDEMUF38xTk3WTwk7oc5UcygOdRycEcVj6c/SYfSZSx3iz0943zGlmmyWHCXEZpFMNoQkGV2TQx1xmcSDCuaxeJQXagIlrUb6nQN+r88GQzwruFwFIpJzXeDsAFfQMMMtbGcdILuE5D96o+YiDnrAqfXMDtnxB1YUNehielP5qtHRkqk5tWrhM9CHoxkXbSH1BCW/N5dINYEW6f2QMuL+0Jt7AXcTZPqR1kQoazkH/LNcWxFiB2xp6siS1YG+89hR86F61x3zxVHXpqmZRMCSrMK96QL0FDMkbS3yVhQ1VzR7ZGDSAcsiEHAXl/g485yw+/kniEhIH9mOdK5/+fEpZhnt4ZoXqWxsBJ1KBDQxdYHwvk1+13DO4YJQXjLSI5y9jroR9RFjYBx4NGMYgnbu7INAQBj5ri/ux0oV2ktsZFo1qQVu48ofsIN15INcSzHIKUUbCA3QXVxd9XJpk+suUlr/du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aSfb+c4nj8l60rtMDp9nTFnoJSuoj0JEg5kLdDUQrAQDygyeVEXXOQt5pPzw2NzGff8p6OnA6al4omWdr42PDnpfVJ+1WEG0RQ6swLpVWX+VD9k3Hcb9qxMpzMi/rUF8BiaUfxMsyKD5YN3uLf8rhI/3S0ge9TPkc88IkuYjBclWhFbNXs8Ua25tjiM3IEflRjPpSkRyNZ68GEQQ3HLsOYRKT+1uH8YtqpXvj2MdjXrSTswLvNSbh9nRReaoI3w0JVmjIRjcLkklua0nwX1qDxPzQPS0IkL1uTqpXOPbK0gagzqSgrZ8JG0sY0JfA0ZRhzOXe3RAceD7AO+IhugOYZi23A90w5VZp+AFoCUlnJswcwv4BHiC/Y8EQCU4fQHAgM0sB2+6qC408d3uj2UoL3y2YArqo0YYorZILJz8InkIP8d5I2XXANe42al2CcgOacL9kjF6DnPJnKxzzH2yVPWNceS+iY5LfWhxF9bUpp+8UU4QzkQ3s+nGCq/RFbPx1WkhI4fOAre2/MMK63kKNgnh4QDfm09rYWI6vSIyriERPVzYD0FunC+ilLOyp+KWlUwAcWMsbM8Iim2OKw==

If you have any questions, comments or criticism, post them in the comments below or reach out to me on Twitter @ohsat_games! Special thanks to Stephane Dallongeville for creating SGDK and everyone in the SGDK Discord for their help and keeping the dream alive!

Download the source code

All patrons on Patreon get the complete source code for this tutorial, as well as other perks such as early access! Become a Patron!
Just Want to Buy Me a Coffee?
Get Words in Your Inbox!

Be oldschool and sign up for my newsletter to get updates! Just enter your email address, prove you're not part of Skynet and you're good to go!



Powered by CleverReach. I will not send you spam or sell/give your email address to someone else.  You can of course unsubscribe at any time. By clicking the subscribe button above, you confirm that you have read and agreed to our privacy policy.

By using the Disqus service you confirm that you have read and agreed to the privacy policy.

comments powered by Disqus

Related Posts

HaxeFlixel Tutorials!

If you’ve popped over to the tutorial section recently you might have noticed that I’ve added my very first HaxeFlixel tutorial! It shows how to implement a simple, pixel-perfect 2D water shader which I used for Go! Go! PogoGirl. But a few of you might be wondering what a HaxeFlixel is. Well, it’s a 2D game framework that is as powerful as it is underrated! It runs on the (also underrated) Haxe language, is extremely well documented, open source, and has built-in functions for almost anything you’d need.
Read More

Streets of Was

As I’m sure many of you will remember, the original Streets of Rage for the Mega Drive had multiple endings. The real canonical ending has you beat the crap out of Mr. X, thereby ending his reign of terror forever (yeah, right). However, if you confronted Mr. X with a buddy in tow, a new possible path unlocked. A quick refresher is in order. When you confront Mr. X he will ask you to join his organization.
Read More

Streets of Rage 2 Design Docs

A few years ago, Yuzo Koshiro posted a pile of old game design documents for Bare Knuckle 2 aka Streets of Rage 2 on the Ancient blog to commemorate the release of Streets of Rage 2 3D on the Nintendo 3DS. These documents gave a deep insight into the game’s inner workings, technical aspects, designs and even some cut content. They were an awesome resource for one of the most awesome games ever created.

Read More