Sonic and Sega Retro Message Board: Sonic Engine help - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

Sonic Engine help

#1 User is offline Neoblast 

  Posted 16 November 2008 - 09:58 AM

  • Posts: 175
  • Joined: 19-February 08
Hello there, I started a sonic game project on Dreamcast ( using C/C++ and SDL ) a few months ago, I have nearly all subsystems ready, vmu saving and loading, storyline and even some artwork of it. Point is I don't know much about sonic engines as there are not a lot of info on the net. Could anyone help me finding a basic sonic engine in C/C++ or help me build the basics of it?

Thanks in advance

PS: all sonic games I've found aren't open source so it's a bit difficult, I've looked everyhwere
This post has been edited by Neoblast: 16 November 2008 - 10:01 AM

#2 User is offline Shibunoa 

Posted 16 November 2008 - 12:43 PM

  • Posts: 329
  • Joined: 19-July 08
  • Gender:Male
  • Location:Italy
  • Wiki edits:28
I can't help you building a Sonic engine (I dunno how to do it), but I searched for the same thing as you (open source Sonic-like engine) some months ago, only to fail miserably. You're better off writing it yourself.
Starting points, you'd want? The collision arrays of Sonic 1 and 2, will get a good idea in your head when it comes to collision.

It's nice that you're trying to do a Sonic game for the Dreamcast. I'm actually trying to port Sonic 1 to the PSX.
This post has been edited by Shibunoa: 16 November 2008 - 12:44 PM

#3 User is offline Sik 

Posted 16 November 2008 - 12:58 PM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
Maybe this can help?

#4 User is offline GIHunter 

Posted 16 November 2008 - 01:44 PM

  • Posts: 65
  • Joined: 08-November 08
  • Gender:Male
  • Location:Arkansas
Here is a good Sonic engine for Game Maker, made by Dekoldrick.

#5 User is offline Neoblast 

Posted 16 November 2008 - 04:51 PM

  • Posts: 175
  • Joined: 19-February 08
Thing is I don't use game maker nor multimedia fusion. I'm talking about a full fledge game made in SDL and C++.
Hmm anyone can help?

#6 User is offline Cinossu 

Posted 16 November 2008 - 10:17 PM

  • inverted with love~
  • Posts: 2718
  • Joined: 21-June 04
  • Gender:Male
  • Location:London, UK
  • Project:Sonic the Hedgehog Extended Edition
  • Wiki edits:474
180
If you're looking for a simple copy&paste job, no. If you want to do things properly, go look at a disassembly and work your way through it chunk by chunk.

#7 User is offline Stealth 

Posted 16 November 2008 - 10:21 PM

  • Posts: 546
  • Joined: 31-July 05
  • Gender:Male
  • Project:HCGE, Project HC, Sonic Megamix, SonED2, [...]
  • Wiki edits:19
Ugh. You don't want "help", you want someone to do it for you. I got both of your PMs, and that's exactly why I never responded to either of them. Your first was in May, for god's sake, and you haven't got ANYWHERE?

Listen, it's not hard to follow the code in the current disassemblies, and there have been several threads on this forum touching on how different parts of it work. If you need something straightforward, there do exist other alternatives, such as the highly commented Project Mettrix scripts I built for E02, based heavily on the functionality of the original games. Also, I haven't personally had a look at any of these "opensource" TGF/GM/etc engines, but there are many, and regardless of the level of commentation in each one, they at least provide a different perspective on the same methods, and to someone who wasn't just looking to grab some pre-made code that they could slap directly onto their target system, could possibly be helpful in determining just exactly what is going on

Also, for future reference, I'm not tempted by promises of "ports". I'll do my own, thanks, and I'm pretty sick of people thinking it's an easy way to grab at my code, because you're far from the first to try. If all you're interested in is strictly a port of my software to a different system that I don't personally have the resources for, then I would appreciate very much if you provided or helped to provide me with those resources. Otherwise, no thanks.

#8 User is offline Sik 

Posted 17 November 2008 - 06:59 AM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11

View PostCinossu, on Nov 17 2008, 01:17 AM, said:

If you're looking for a simple copy&paste job, no. If you want to do things properly, go look at a disassembly and work your way through it chunk by chunk.

Wouldn't porting the code straight from a disassembly be sorta kind of copy and paste too? I mean, with your criteria, to do things properly he should figure out how to do the entire engine himself without looking at anything already made at all >_>

#9 User is offline Shibunoa 

Posted 17 November 2008 - 09:02 AM

  • Posts: 329
  • Joined: 19-July 08
  • Gender:Male
  • Location:Italy
  • Wiki edits:28
I wouldn't look at a disassembly. It taints my code if I even wanted to use it for something else than a sonic fangame.
Also, it isn't very hard to figure how something is done, I had no idea how to make a tetris game and yet I made one by seeing how stuff acted.
This post has been edited by Shibunoa: 17 November 2008 - 09:04 AM

#10 User is offline Sik 

Posted 17 November 2008 - 09:27 AM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
Programming a Tetris engine doesn't require you knowing trigonometry, you know...

#11 User is offline Cinossu 

Posted 17 November 2008 - 01:00 PM

  • inverted with love~
  • Posts: 2718
  • Joined: 21-June 04
  • Gender:Male
  • Location:London, UK
  • Project:Sonic the Hedgehog Extended Edition
  • Wiki edits:474
180

View PostSik, on Nov 17 2008, 11:59 AM, said:

View PostCinossu, on Nov 17 2008, 01:17 AM, said:

If you're looking for a simple copy&paste job, no. If you want to do things properly, go look at a disassembly and work your way through it chunk by chunk.

Wouldn't porting the code straight from a disassembly be sorta kind of copy and paste too? I mean, with your criteria, to do things properly he should figure out how to do the entire engine himself without looking at anything already made at all >_>

Let me rephrase: literal copy&paste job. :P

#12 User is offline Krigo 

Posted 17 November 2008 - 01:42 PM

  • MOTIVATION
  • Posts: 2098
  • Joined: 09-December 06
  • Gender:Male
  • Location:Alberta, Canada
  • Wiki edits:30

View PostNeoblast, on Nov 16 2008, 02:58 PM, said:

Hello there, I started a sonic game project on Dreamcast ( using C/C++ and SDL ) a few months ago, I have nearly all subsystems ready, vmu saving and loading, storyline and even some artwork of it. Point is I don't know much about sonic engines as there are not a lot of info on the net. Could anyone help me finding a basic sonic engine in C/C++ or help me build the basics of it?

Thanks in advance

PS: all sonic games I've found aren't open source so it's a bit difficult, I've looked everyhwere

Didn't reply to this because I thought no one else was going to, but now people are I've remembered what I was going to say.

Your wanting people to do the main core of the engine for you? Sure, having a storyline and artwork is fine but if you let other people do the work you're not going to go ANYWHERE.

EDIT: I just realized who this is, I haven't spoke to you for ages :P

I think reading the disassembly and going from there will be the best idea.
This post has been edited by Krigo: 17 November 2008 - 01:45 PM

#13 User is offline Neoblast 

Posted 18 November 2008 - 04:44 PM

  • Posts: 175
  • Joined: 19-February 08
Where could I get the dissasembly then?

Thanks for NOT replying Stealth but I do not want anyone to do the work for me at all, if that's the impression I gave then I expressed myself wrong. I just want some help with the physics. I do not want ANY line of code written by someone else just a few tips. The idea for the project started on may but it was cancelled due to personal issues. I also mentioned that porting could be a chance but in case you didnt want to I said if you could help me get the BASICS of all the physics. I have some stuff but I want to make things properly and it's missing a lot of things.

Could you at least tell me where to find those Mettrix scripts you made for E02?
This post has been edited by Neoblast: 18 November 2008 - 04:48 PM

#14 User is offline Polygon Jim 

Posted 18 November 2008 - 05:01 PM

  • Posts: 3071
  • Joined: 29-March 08
  • Gender:Male
  • Location:across town from Hinchy
  • Project:All the bitches.
  • Wiki edits:582
Disassemblies are in the big sticky right above here....
http://forums.sonicr...?showtopic=9742

#15 User is offline Stealth 

Posted 18 November 2008 - 08:33 PM

  • Posts: 546
  • Joined: 31-July 05
  • Gender:Male
  • Project:HCGE, Project HC, Sonic Megamix, SonED2, [...]
  • Wiki edits:19

View PostNeoblast, on Nov 18 2008, 01:44 PM, said:

Could you at least tell me where to find those Mettrix scripts you made for E02?

http://stealth.emulationzone.org/Games/E02...trix-SAGE08.rar

I know what I was asked, and this thread was pretty suspect. Maybe you didn't know what you were asking for?
Anyway, this is all more than most of the rest of us had to go by, so you should be able to get something decent out of it. Don't forget to credit the authors of your resource materials

  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users