climbing up to a corner

Non-platform specific questions.

climbing up to a corner

Postby j2graves » Sun Nov 20, 2011 1:56 pm

I have an actor climbing up a wall. I do this by making it so that it'll move toward the wall when I press and hold a key, and will ignore gravity while the key is pressed. how do I make it so that the actor, once it reaches the top of the wall, will move on top of it? The wall is tiled by the way.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: climbing up to a corner

Postby SuperSonic » Sun Nov 20, 2011 8:16 pm

You could put a filled region at the top of the wall and then add a collision event for your actor that makes him get on top of the wall when he hits the region :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


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest