Page 1 of 1

Angular climb

PostPosted: Sun Mar 04, 2012 10:11 pm
by phyzix5761
Has anyone had any success with angular climbs in platformer games? How would one go about making that work?

What I mean by angular climb is climbing the side of a hill. The angle is something like this: /

Thanks guys!

Re: Angular climb

PostPosted: Thu Mar 08, 2012 8:29 am
by phyzix5761
Maybe it can be done with an actor that has a very straight side?

Re: Angular climb

PostPosted: Thu Mar 08, 2012 6:40 pm
by SuperSonic
Do something like this:

player collision on sides of wall -> repeat -> script editor
Code: Select all
y -= 4;

:D

Re: Angular climb

PostPosted: Thu Mar 08, 2012 8:54 pm
by phyzix5761
Hey Sonic,

Thanks for your reply. I guess I didn't explain myself correctly. What I want to know is how to make the character slide off a steep hill with like a 90 degree angle. A platform that looks something like this: /\ and the character would slide off one of the sides. How do I do that? With a region for collision? A very straight animation for the mountain?

Any ideas would be greatly appreciated!

Re: Angular climb

PostPosted: Thu Mar 08, 2012 9:30 pm
by SuperSonic
Out of curiosity, why are you using a region? Wouldn't it just be easier to use pixel by pixel? :roll:

Re: Angular climb

PostPosted: Thu Mar 08, 2012 10:18 pm
by phyzix5761
The final image for the hill will be filled with leaves and rocks. Based on past experience I'm thinking that the pixels will block his ability to slide down.

EDIT: But what if I make a straight angle image and hide it behind the platform so he slides on that instead of on the stylized image? I think that should work.

Re: Angular climb

PostPosted: Fri Mar 09, 2012 5:41 pm
by SuperSonic
phyzix5761 wrote:EDIT: But what if I make a straight angle image and hide it behind the platform so he slides on that instead of on the stylized image? I think that should work.

Yeah, I was gonna suggest that haha ^^