Want to start making games, no luck at all

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
danibus
Interested
Posts: 16
Joined: Sat Feb 03, 2018 12:41 pm

Want to start making games, no luck at all

Post by danibus » Thu Feb 07, 2019 2:00 pm

Hi there

I want to learn to make games for Megadrive/Genesis. I know C but before I tried to use Basic to start, remembering my Spectrum days long time ago.

First I tried to install BasiEgaXorz.
First example:

Code: Select all

	print "hello"
When compiling I get error:

Code: Select all

basic.s:1: *** Error:  Illegal opcode 'PRINT' ***
                        	print "hello"
Don't know what to do ( I put a space/tab before print), nothing in google.
Think print is not illegal but, how knows, something is wrong but I don't know what.

So I installed SecondBasic. Ok, it's updated, ok I change config as there are some wrong paths after install program, then I succesfully compile some examples.
But every example I make, always the same in the compiler, black screen and 2 zeros (please see attached).

Seems I have to forget about Basic and go to SGDK :oops:
Attachments
Captura.PNG
Captura.PNG (3.38 KiB) Viewed 170 times

Chilly Willy
Very interested
Posts: 2650
Joined: Fri Aug 17, 2007 9:33 pm

Re: Want to start making games, no luck at all

Post by Chilly Willy » Thu Feb 07, 2019 5:11 pm

SecondBasic has a rather particular way of implementing basic. You need to work from examples. Someone on the discord is doing a Mortal Kombat like fighter for the MD in SecondBasic, so it's pretty powerful - more than enough for many games.

That said, you probably want to learn C and used something like SGDK as it will let you get more from the MD in the long run. SGDK comes with a number of nice examples.

danibus
Interested
Posts: 16
Joined: Sat Feb 03, 2018 12:41 pm

Re: Want to start making games, no luck at all

Post by danibus » Thu Feb 07, 2019 9:20 pm

I think SGDK is used today, not sure about Basic scene for MD. I will try C instead.

Thanks Chilly Willy

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest