Angular climb

Game Editor comments and discussion.

Angular climb

Postby phyzix5761 » Sun Mar 04, 2012 10:11 pm

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!
phyzix5761
 
Posts: 261
Joined: Sun Feb 27, 2011 4:28 am
Score: 18 Give a positive score

Re: Angular climb

Postby phyzix5761 » Thu Mar 08, 2012 8:29 am

Maybe it can be done with an actor that has a very straight side?
phyzix5761
 
Posts: 261
Joined: Sun Feb 27, 2011 4:28 am
Score: 18 Give a positive score

Re: Angular climb

Postby SuperSonic » Thu Mar 08, 2012 6:40 pm

Do something like this:

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

:D
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Angular climb

Postby phyzix5761 » Thu Mar 08, 2012 8:54 pm

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!
phyzix5761
 
Posts: 261
Joined: Sun Feb 27, 2011 4:28 am
Score: 18 Give a positive score

Re: Angular climb

Postby SuperSonic » Thu Mar 08, 2012 9:30 pm

Out of curiosity, why are you using a region? Wouldn't it just be easier to use pixel by pixel? :roll:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Angular climb

Postby phyzix5761 » Thu Mar 08, 2012 10:18 pm

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.
phyzix5761
 
Posts: 261
Joined: Sun Feb 27, 2011 4:28 am
Score: 18 Give a positive score

Re: Angular climb

Postby SuperSonic » Fri Mar 09, 2012 5:41 pm

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 ^^
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest