Tag: Mega Drive

This is a list of all posts, games and tutorials tagged with the tag "Mega Drive".

Placing Tiles

| [Mega Drive] [SGDK] [Misc]

Learn how to fill the screen with tiles!

Scrolling Maps

| [Mega Drive] [SGDK] [Misc]

Learn how to draw and scroll big maps in SGDK!

Make a Text Crawl, Streets of Rage Style

| [Mega Drive] [SGDK] [Misc]

Make a Streets of Rage-style opening text crawl!

Megatiler 7 - Loading Levels

| [Mega Drive] [SGDK] [Megatiler]

Welcome back! This time we’ll add more levels to our game and learn how to load the next one once the player has reached the exit!

Megatiler 6 - HUD, Sound and Making an Exit

| [Mega Drive] [SGDK] [Megatiler]

We have coins now, but they don’t do anything. Let’s make them do things, like unlocking the level exit! And let’s also add some sound, because why not.

Megatiler 5 - Coins

| [Mega Drive] [SGDK] [Megatiler]

Welcome to part 5 of Megatiler! This time we’ll add some coins for players to collect, because it wouldn’t be an adventure game if you couldn’t find valuables scattered about everywhere, right?

Megatiler 4 - Tile Movement (Part 2)

| [Mega Drive] [SGDK] [Megatiler]

We’ve implemented a lot of movement code already, but so far it’s been not much more than a dry run. Let’s get to actually moving the player around this time!

Megatiler 3 - Tile Movement (Part 1)

| [Mega Drive] [SGDK] [Megatiler]

We’ve got our world and we’ve got our player. A world is boring if you can’t explore, so let’s use tile movement to get our player going!

Megatiler 2 - Spawning the Player

| [Mega Drive] [SGDK] [Megatiler]

A nice level is pointless if we can’t actually be in it. So this time we’ll spawn our player character and learn how to implement special function tiles in the process!

Megatiler 1 - Tiles

| [Mega Drive] [SGDK] [Megatiler]

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! If this is your first Mega Drive tutorial on this site, then I highly recommend going back and doing the previous tutorials, starting with Megapong.

HaxeFlixel Tutorials!

| [Ramblings] [Retro] [Mega Drive]

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.

Streets of Was

| [Ramblings] [Retro] [Mega Drive]

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.

Drawing Tiles From Code

| [Mega Drive] [SGDK] [Misc]

So far, when we wanted to have tiles in our games, we always created them in a graphics program and imported them (incidentally, I have a list of 4 programs you can use to create Mega Drive graphics). And I mean, that makes sense, right? If you need graphics then you draw graphics. And since SGDK can import and process regular .png files, that really is the best and most logical way to get tile graphics into your game.

But did you know that you can also skip a step and draw tiles directly from code? Yep, that’s a possibility! Let’s look at how you’d go about doing that.

Processing Resets

| [Mega Drive] [SGDK] [Misc]

Remember when consoles had reset buttons? Those were the days. No menus, no closing applications… just slam that button and the game resets. Simple and effective. But is it actually that simple? It turns out that when it comes to the Mega Drive, there’s a little feature that could turn into a trap if you’re not aware of it., I’m talking about the fact that there are two types of reset: A soft reset and a hard reset.

Converting VGZ to VGM

| [Mega Drive] [SGDK] [Misc]

It’s rather simple to import and play music in your game using SGDK, as I’ve explained previously. However, one of the things you have to keep in mind is that SGDK only supports files in the format of VGM, XGM or XGC. No problem, right? Well…when you look around the web you’ll see that many Mega Drive music files are actually in VGZ format. That’s a bit of an issue, because SGDK doesn’t know how to deal with those. But there’s a trick to convert VGZ to VGM files, which SGDK can process happily!

Playing Music in SGDK

| [Mega Drive] [SGDK] [Misc]

Playing music in SGDK might actually be a lot easier than you think. So let’s quickly look at how it works and create ourselves a little disco, what do you say? Create a new SGDK project and let’s go!

Changing The Text Color in SGDK

| [Mega Drive] [SGDK] [Misc]

SGDK makes it easy to put text on screen, using functions such as VDP_drawText(). By default this text is always rendered in white, but there is an easy (but also a bit tricky) way to change the text color in your Mega Drive game!

Creating a Simple Menu

| [Mega Drive] [SGDK] [Misc]

What would a game be without menus? Well it would still be a game, just with less options I suppose. But you know what I mean, menu screens are an important feature of pretty much every game, from platformers to RPGs. So I’d like to show you a simple way of creating menus for your Mega Drive game! Note that there are many ways to create menus and there is no single ‘correct’ one. This is simply the approach I thought would be the most simple for beginners. Let’s get into it!