Page 1 of 1

SONIC style Paths - coming soon

PostPosted: Sun Jun 22, 2008 7:26 am
by feral
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 268 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.. :?

Re: SONIC style Paths - coming soon

PostPosted: Sun Jun 22, 2008 9:07 am
by Spidy
very nice feral are can release this demo game data??

Re: SONIC style Paths - coming soon

PostPosted: Sun Jun 22, 2008 9:32 am
by stevenp
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

Re: SONIC style Paths - coming soon

PostPosted: Sun Jun 22, 2008 9:47 am
by Spidy
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

Re: SONIC style Paths - coming soon

PostPosted: Sun Jun 22, 2008 10:22 am
by feral
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:

Re: SONIC style Paths - coming soon

PostPosted: Sun Jun 22, 2008 10:36 am
by feral
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

Re: SONIC style Paths - coming soon

PostPosted: Tue Jul 29, 2008 2:07 am
by sonicunleashed
hey can some one teach me how to do homing attack in game editor :D :( :o :roll: :wink: :wink: :wink: :wink: :wink: :wink:

Re: SONIC style Paths - coming soon

PostPosted: Sat Jun 13, 2009 4:17 pm
by Kalladdolf
Have you already released the source files for this advanced function? I'm not quite sure, I haven't found it anywhere.