I grabbed some samples from here and I'm trying to add more functionality to it. Here's what I have in mind:
Here is the CAPX ? https://dl.dropbox.com/u/89812940/construct2/climbing2.capx
If you have time to help, thanks in advance.
The main problem I'm finding here is that I can't pick the nearest object to set the position X. Someone?
How about using the "Pick nearest" system condition?
Develop games in your browser. Powerful, performant & highly capable.
I just made some changes to the code.
Here is the new CAPX � https://dl.dropbox.com/u/89812940/construct2/climbing3.capx
Now I need to improve the code when he hits the platform when he comes down the ladder.
Another thing I was trying to do is verify if the player is close to the center of the ladder in order to go up or down
I played around with the example uploaded here and this is what I came up with:
https://dl.dropbox.com/u/98471899/Scirra/ladderX.capx
One thing I don't like is the way he bounces on top of the ladder if you keep pressing up.
Plowman
You helped a lot. The "Platform is on floor" saved me a lot of time and variables :)
thanks
Solved