Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 20th Nov 2014 17:41
Hi.

already I create a topic for solve a Problem with climb ladder but don't solve it. Now I create new topic for solve this Problem.

in my previous topic fly ball I learn how use setvirtualresolution and fix fly ball with set SetphysicsGravity (x,y),and thanks all that help me with explanation and examples.

now I want create a part of Professor Fizzwizzle game for familiar with Physics and other things.

my Problem is when I climb the ladder and come to top ladder, if try move up again my player jump on top of ladder. now I need your helps for fix this Problem.

this is my code:

Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 22nd Nov 2014 08:36
can anyone help me?
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 22nd Nov 2014 09:04
I'll help once you make that code a bit more legible. Sorry for that, but I don't have time to restructure all of your code so that I can simply read it. Basically sounds like you just need to check to see if your character is at the top of the ladder (not colliding because that is touching).

Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 22nd Nov 2014 09:39
Can you provide the media files you're using? That way we could run your code and see what the problem is.

Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 22nd Nov 2014 20:29
Quote: "Can you provide the media files you're using? That way we could run your code and see what the problem is.
"


I attached my Project.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 11:32:29
Your offset time is: 2024-11-25 11:32:29