SONIC style Paths - coming soon

Talk about making games.

SONIC style Paths - coming soon

Postby feral » Sun Jun 22, 2008 7:26 am

SONIC STYLE PATHS
SONIC.jpg

it does not use arrays or paths, but instead auto-detects the ground tiles or ground sprites and "sticks" to them ! no further programming required.. 8)

attached is a quick demo.
SONIC.zip
windows exe
(1.34 MiB) Downloaded 166 times

I am currently fine-tuning, and rewriting it as a function (like GE's MoveTo) and will post as soon as possible
(it currently cuts some corners but i can fix that ..)

all you hedgehog nuts out there... get ready :lol: :D

feral

oh, and it also returns the angle you are at, in degrees, so you can draw the correctly rotated sprite(s)..
I couldn't find a rotating hedgehog sprite.. sorry.. :?
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: SONIC style Paths - coming soon

Postby Spidy » Sun Jun 22, 2008 9:07 am

very nice feral are can release this demo game data??
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 938
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: SONIC style Paths - coming soon

Postby stevenp » Sun Jun 22, 2008 9:32 am

thats cool,

i read thats how 3d games distinguesh what a "floor" is

they take the players z coordinates, and the floors coordinates, and say, make sure the distence between the floor, and player is always the same,

this makes sure that when you walk up and dwn stairs, you move up and down it,

altho jumping and crawling are exceptions
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: SONIC style Paths - coming soon

Postby Spidy » Sun Jun 22, 2008 9:47 am

stevenp wrote:thats cool,

i read thats how 3d games distinguesh what a "floor" is

they take the players z coordinates, and the floors coordinates, and say, make sure the distence between the floor, and player is always the same,

this makes sure that when you walk up and dwn stairs, you move up and down it,

altho jumping and crawling are exceptions


yeah maybe u are right stevenp
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 938
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Re: SONIC style Paths - coming soon

Postby feral » Sun Jun 22, 2008 10:22 am

Spidy wrote:very nice feral are can release this demo game data??



absolutely.. :D

i just want to clean it up a little more, and make it easier to use

will be coming soon..

cheers
feral

ps: i can't wait to see what people do with it :lol:
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: SONIC style Paths - coming soon

Postby feral » Sun Jun 22, 2008 10:36 am

stevenp wrote:thats cool,

i read thats how 3d games distinguesh what a "floor" is

they take the players z coordinates, and the floors coordinates, and say, make sure the distence between the floor, and player is always the same,

this makes sure that when you walk up and dwn stairs, you move up and down it,

altho jumping and crawling are exceptions



ummm...errhh

well..

this will work with jumping , crawling, and for example, say you want to run up a slope, but , then you don't have enough speed to fully run up it, you start to slide back down....

or if doing a loop like sonic does, if you don''t have enough speed by the time you get to the top of the loop you fall..


it will be something like
if angle>90 and velocity < climbspeed
{
speed =-speed // ie: go backwards until less then 90 degree slope
additional code
}

if fact it should let you do something like
http://armorgames.com/play/301/fancy-pants-adventures

which is what inspired me... thanks to jimmynewguy for pointing it out to me...

code coming soon ( i promise :twisted: )
feral
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: SONIC style Paths - coming soon

Postby sonicunleashed » Tue Jul 29, 2008 2:07 am

hey can some one teach me how to do homing attack in game editor :D :( :o :roll: :wink: :wink: :wink: :wink: :wink: :wink:
sonicunleashed
 
Posts: 19
Joined: Fri Jul 18, 2008 12:44 am
Score: 0 Give a positive score

Re: SONIC style Paths - coming soon

Postby Kalladdolf » Sat Jun 13, 2009 4:17 pm

Have you already released the source files for this advanced function? I'm not quite sure, I haven't found it anywhere.
User avatar
Kalladdolf
 
Posts: 2424
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 119 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: Bing [Bot] and 1 guest