Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Game Design Theory / Setup of a Sonic Game.....

Author
Message
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 17th Aug 2009 01:34
Ok. So, i've always wanted to code a sonic game, but google is giving me no luck

I cant find anything that'll give me an idea or a lead of how to start with the game, and i've tried twice to get one up myself.

Anyone out there have any idea how a game like that could be setup or coded(with gimmicks and such - you know - like the loops sonic's forever going around)......?

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )
Homey the Clown
22
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 17th Aug 2009 09:04
i think this might be a surprisingly difficult game to program...which sonic? the original? the original seems to be a bit more basic than the rest but not by too much. im not too sure. you might need a lot of sprite media for starters...


If at first you dont succeed, call it version 1.0.
Seppuku Arts
Moderator
21
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 17th Aug 2009 13:26 Edited at: 17th Aug 2009 13:41
When I first joined this forum there were a group of us who wanted to create a Sonic clone called 'Rush', it started off nicely, but it's one of those projects that just failed in the end.

Though the question is, are we talking 2D or 3D, for 2D then there's quite a bit on the internet, though nothing (as far as I am aware) in relation to DBP, but most if it is in relation to Game Make and The Games Factory/Multimedia Fusion. When I used TGF I made my own Sonic fan-game, though I don't have it anymore. There is a website called 'Sonic Fan Games HQ', it has ripped sprites on there, so I'm not sure if that's legal, but they have some tutorials you may wish to use. I'd link you, but again I am unsure of its legality.


Bear in mind that there are legal issues involving fan games, it's a grey area I think, though I believe it's okay to make them...though most 'sprites' and 'music' are ripped from the games, which I don't believe is legal...though somebody can correct me if I'm wrong on anything here.

Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 17th Aug 2009 17:16
Quote: "are we talking 2D or 3D"

well.............I'd kinnda want it 2d cuz i cant model worth crap, tho i would make it 3d if i could!

Quote: "There is a website called 'Sonic Fan Games HQ', it has ripped sprites on there, so I'm not sure if that's legal, but they have some tutorials you may wish to use. "


Will have to check that out, legal or not

Quote: "i think this might be a surprisingly difficult game to program"


I know it is, i've tried.

Quote: "which sonic? the original? the original seems to be a bit more basic than the rest but not by too much."


Well, yeah, i'm going for the old Sega genisis feel for this one!

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )
chwilly
17
Years of Service
User Offline
Joined: 23rd Feb 2009
Location:
Posted: 1st Oct 2009 08:14
Waypoints I think, lots and lots of waypoints.... maybe.
Profit
20
Years of Service
User Offline
Joined: 19th Feb 2006
Location: United States
Posted: 2nd Oct 2009 17:17
Quote: "When I first joined this forum there were a group of us who wanted to create a Sonic clone called 'Rush', it started off nicely, but it's one of those projects that just failed in the end."
You're talking about Strawberry Crush Team?


Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 3rd Oct 2009 03:11 Edited at: 3rd Oct 2009 03:13
I don't think it's waypoints. It's physics. Speed / Direction / Boundaries, friction. But I am not good at physics. I would probably look for some pre-made physics code.

Seppuku Arts
Moderator
21
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 8th Oct 2009 10:42
Quote: "Quote: "When I first joined this forum there were a group of us who wanted to create a Sonic clone called 'Rush', it started off nicely, but it's one of those projects that just failed in the end."
You're talking about Strawberry Crush Team?"


Yes.

Tom J
20
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 8th Oct 2009 12:17
With the actual loops part of the game, if you were able to find the collision normals of the player against the ground; and make gravity act in this direction for the player after a fixed speed, then you could theoretically get this part of the game working.

I'm not sure if you're still working on this but oh well
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 8th Oct 2009 16:50 Edited at: 8th Oct 2009 16:52
For collision I'd look at line, circle intersection - there's an example in the code snippets section.

Anyway, I'd have lines representing the edge of collisions, so a loop could be a circle. Because you'd use segments to make the circle you could have sections active and not active depending on what other lines the player was standing on. For instance if Sonic is scooting along and goes onto a loop, then the loop has to start when Sonic hits the bottom right, then let him follow it round and go over the loop section at the start again. So the part where Sonic would exit the loop has to be disabled for collision when Sonic is entering the loop, like let him in then close up again. This could be based on checking what lines are being stood on, and deciding if a line is collidable based on that. Would get pretty complex but it's an option, and would let you have practically any shape of level.

The main reason that I mention line collision though, is that there are several benefits that may not be apparent...

* Lines can easily provide extra info, like what angle they are pointing in. So responding to collision can be very neat, as that vector can be got.

* Lines could be moved, rotated, even linked to an object or sprite. For instance a big Pinball paddle. You would have to let the paddle take presedence over the player, like if Sonic is touching a paddles line when it flips, it would affect the player movement and speed accordingly.

* Line collision is as smooth and accurate as you could get in 2D - instead of 2D pixel collision, you have a smooth line, no worries with getting stuck on individual pixels - it's just a much better way to get curves and loops.

* Each line could have it's own properties - for instance a line could be bouncy!, or sticky, or deadly, or whatever you feel like coding.

* Line and Circle collision are like peas and carrots, they go great together - Sonic is practically a ball, the level can be represented in collision lines - add in a good collision response system and you'd have a very convincing and smooth platform engine.


What I would do is get some line-circle collision code and experiment with adding lots of lines and checking collision on them with a small sphere, work it over a few times till you have something your happy with. Then you'll need both a tile editor, and a collision editor - so you can design levels then draw the collision lines. These lines could be applied to individual blocks - like a loop image, with a file containing all the line information for it, then just place these things in an editor to design the level. Takes a bit of work to get started in this, but really it's the only way I'd tackle Sonic.

I would make a sonic *inspired* game though - you could spend years trying to perfect Sonic, but why bother when you can take it a different and ultimately more interesting route. If people want to play Sonic, they will go and play sonic on their DS, 360, or PC through emulation, or one of the standalone handhelds, or one of those TV plug-in things, or online in a website emulator, or on a Megadrive itself. The list of ways to play Sonic goes on and on and on - so I say people should re-imagine games rather than remake them. Most of the games I've made are re-imaginings, taking the origial game basics, what made it fun, why do I want to redo it, what would I change... With Sonic the gameplay is solid, and you could take that and make it your own - invent your own character and scenario and try and get all the best bits of Sonic games in there. Your not cloning something, your re-imagining a game you enjoyed as a kid, and have the chance to take out some of the stuff that frustrates you as well as opening the game up to people who might not be interested in playing an old game like Sonic.

Right now I'm finishing off a remake of Bruce Lee from the 8-bit era, a platforming-kung-fu-collect-em-up - and besides taking a lot longer than I thought it would, it's been a blast - I haven't felt once like I should remake Bruce Lee, it's too much fun to disregard all that convention and concentrate on making it enjoyable instead.

A good test engine is key, as I said, go nab the Line-circle collision stuff and get a circle rolling around. With that as a start, everything you add onto it makes it more and more fun, and interesting to develop. Consider what cool ideas you could bring to the table.

Hope that doesn't sound too much like a rant!, just wanted to post up my thoughts seeing as retro tends to dominate my projects. Personally I can't imagine myself ever doing a clinical remake, I'm far too arrogant for that ;D.


Health, Ammo, and bacon and eggs!

Login to post a reply

Server time is: 2026-06-12 05:22:10
Your offset time is: 2026-06-12 05:22:10