SONIC style Paths - coming soon
Posted: Sun Jun 22, 2008 7:26 am
SONIC STYLE PATHS
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..
attached is a quick demo.
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
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..
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..
attached is a quick demo.
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
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..