Starting out with SMD dev. Best compilers etc?

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
POLYGAMe
Very interested
Posts: 151
Joined: Sun Apr 14, 2013 1:19 am
Location: Auckland, New Zealand
Contact:

Starting out with SMD dev. Best compilers etc?

Post by POLYGAMe » Sun Apr 14, 2013 1:26 am

Hi everyone,

Obviously I'm a noob here and I'm wanting to get started on game dev for the Mega Drive (with the intention of producing physical carts, further down the line).

I have been developing games for a few years and really want to branch out into older hardware.

I haven't studied up on ASM at all but will probably endeavour to do that at some stage, but until then, what's the best way to go around designing games in C/C++? There seem to be a few options!

Basically whatever's easiest to set up and get running and has good documentation. I downloaded SGDK and have no idea how to install it... lol... any links on how to do this?

Or are there any "one stop" solutions? There are a couple of devkits for Commodore 64 that have sprite editors and music creators as well as code editors. Anything like that for SMD?

Any info greatly appreciated!!!

Cheers,

Karl.

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Re: Starting out with SMD dev. Best compilers etc?

Post by djcouchycouch » Sun Apr 14, 2013 2:43 am

POLYGAMe wrote:Hi everyone,

Obviously I'm a noob here and I'm wanting to get started on game dev for the Mega Drive (with the intention of producing physical carts, further down the line).

I have been developing games for a few years and really want to branch out into older hardware.

I haven't studied up on ASM at all but will probably endeavour to do that at some stage, but until then, what's the best way to go around designing games in C/C++? There seem to be a few options!

Basically whatever's easiest to set up and get running and has good documentation. I downloaded SGDK and have no idea how to install it... lol... any links on how to do this?

Or are there any "one stop" solutions? There are a couple of devkits for Commodore 64 that have sprite editors and music creators as well as code editors. Anything like that for SMD?

Any info greatly appreciated!!!

Cheers,

Karl.
There are no do-it-all devkits for Genesis. You'll have to work with parts.

I use SGDK for my projects. I code in Visual Studio as an IDE since I'm most familiar with it. Got some tools menu items setup to run batch files to do compilation.

Installing SGDK you can find on the SGDK page. http://code.google.com/p/sgdk/wiki/HowToUseSGDK

Graphics I do with Graphics Gale, in 16 color palettes.

Map editing I use Tiled http://www.mapeditor.org. You might have to write your own export plugin if the ones included aren't good enough for you. Plugins are C++ using QT.

Music/sound creation is a little iffy right now. The Echo sound engine is currently the best one available, but getting data into it is not straightforward. It's workable, though. You can find it and tools at https://github.com/sikthehedgehog/Echo

Last year I worked on a project called Goplanes. viewtopic.php?t=1090 You should browse it. I wrote a lot about the problems I encountered and solutions. Should be pretty useful.

If you want a leg up on an engine, I've also released a 8-way scrolling engine called Propeller, based on the Goplanes source. viewtopic.php?t=1373

That should get you started!

DJCC

POLYGAMe
Very interested
Posts: 151
Joined: Sun Apr 14, 2013 1:19 am
Location: Auckland, New Zealand
Contact:

Post by POLYGAMe » Sun Apr 14, 2013 3:50 am

Cool, thanks for the info!

I just set up SGDK after a lot of head scratching. I'm using Code:Blocks... actually quite nice. I'm used to VS but seems close enough... might try work out how to incorporate it into XCode, too, since I do most of my dev on the Mac.

Got my first "Hello World" app working, so I'll study up on GFX etc. Will check out those links.

Thanks heaps!

slobu
Very interested
Posts: 85
Joined: Tue Apr 03, 2012 6:02 pm

Post by slobu » Thu May 09, 2013 5:24 pm

POLYGAMe wrote:Cool, thanks for the info!

I just set up SGDK after a lot of head scratching. I'm using Code:Blocks... actually quite nice. I'm used to VS but seems close enough... might try work out how to incorporate it into XCode, too, since I do most of my dev on the Mac.

Got my first "Hello World" app working, so I'll study up on GFX etc. Will check out those links.

Thanks heaps!
When you feel you've got a good environment set up you may consider packaging it up for other newbs who were in your same position.

POLYGAMe
Very interested
Posts: 151
Joined: Sun Apr 14, 2013 1:19 am
Location: Auckland, New Zealand
Contact:

Post by POLYGAMe » Thu May 09, 2013 10:25 pm

slobu wrote:
POLYGAMe wrote:Cool, thanks for the info!

I just set up SGDK after a lot of head scratching. I'm using Code:Blocks... actually quite nice. I'm used to VS but seems close enough... might try work out how to incorporate it into XCode, too, since I do most of my dev on the Mac.

Got my first "Hello World" app working, so I'll study up on GFX etc. Will check out those links.

Thanks heaps!
When you feel you've got a good environment set up you may consider packaging it up for other newbs who were in your same position.
It's easy enough to set up, if you follow the instructions :) The head scratching was caused by me not reading properly ;)

kubilus1
Very interested
Posts: 237
Joined: Thu Aug 16, 2012 2:25 am
Contact:

Post by kubilus1 » Sat May 11, 2013 4:23 pm

From working on setting up a decent toolchain myself, it seems that everyone has a different set of tools they prefer. Personally I do my development on Linux and have setup a toolset based of instructions by ChillyWilly (https://code.google.com/p/gendev/)

For graphics I keep coming back to the GIMP. I have looked at Tiled for tile mapping and it looks good, but so far I just lay stuff out manually.

The SGDK has been a great resource for a general programming library on the Genesis.

For sound I've been using Deflemask and loading these as VGMs, though I still need to play with doing sound effects and music at the same time.

POLYGAMe
Very interested
Posts: 151
Joined: Sun Apr 14, 2013 1:19 am
Location: Auckland, New Zealand
Contact:

Post by POLYGAMe » Sun May 12, 2013 1:10 am

kubilus1 wrote:From working on setting up a decent toolchain myself, it seems that everyone has a different set of tools they prefer. Personally I do my development on Linux and have setup a toolset based of instructions by ChillyWilly (https://code.google.com/p/gendev/)

For graphics I keep coming back to the GIMP. I have looked at Tiled for tile mapping and it looks good, but so far I just lay stuff out manually.

The SGDK has been a great resource for a general programming library on the Genesis.

For sound I've been using Deflemask and loading these as VGMs, though I still need to play with doing sound effects and music at the same time.
Yeah, I'm using SGDK now. Also have deflemask. I'm gonna build all my levels by scanning in fom text files, rather than using external tools. Easy enough to set up.

I would like to go to Linux, I HATE Windows 8... Maybe I'll just "downgrade" to 7.

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Sun May 12, 2013 1:19 am

POLYGAMe wrote: Yeah, I'm using SGDK now. Also have deflemask. I'm gonna build all my levels by scanning in fom text files, rather than using external tools. Easy enough to set up.

I would like to go to Linux, I HATE Windows 8... Maybe I'll just "downgrade" to 7.
It doesn't cure everything, but I use Classic Shell on my Windows 8 machine at work. It adds a Start menu plus a million options.

http://www.classicshell.net

Okay, maybe not a million.

POLYGAMe
Very interested
Posts: 151
Joined: Sun Apr 14, 2013 1:19 am
Location: Auckland, New Zealand
Contact:

Post by POLYGAMe » Sun May 12, 2013 2:01 am

djcouchycouch wrote:
POLYGAMe wrote: Yeah, I'm using SGDK now. Also have deflemask. I'm gonna build all my levels by scanning in fom text files, rather than using external tools. Easy enough to set up.

I would like to go to Linux, I HATE Windows 8... Maybe I'll just "downgrade" to 7.
It doesn't cure everything, but I use Classic Shell on my Windows 8 machine at work. It adds a Start menu plus a million options.

http://www.classicshell.net

Okay, maybe not a million.
Cool, I'll check it out. I hate the whole touch screen crap interface and just want my normal desktop from go.

kubilus1
Very interested
Posts: 237
Joined: Thu Aug 16, 2012 2:25 am
Contact:

Post by kubilus1 » Sun May 12, 2013 3:34 am

Another very handy tool is Imagemagick. You can write scripts, or convert and manipulate images in all kinds of interesting ways. All the tools I've mentioned so far are cross platform and will run in Windows too, AFAIK.

That being said, if I was forced to use a Windows machine for development (It's probably been more than a decade since I used Windows for anything), I would install Cygwin. That way you can run for real shell scripts and other neat tools and stuff.

Post Reply