char*key=GetKeyState();
if(key[KEY_UP] == 1)
{
if(af == 0) {
af = 1;
ChangeAnimation("Event Actor", "UP", FORWARD
}
y -= 3;
}
af = 0;
char*key=GetKeyState();
if(key[KEY_UP] == 1)
{
if(af == 0) {
af = 1;
ChangeAnimation("Event Actor", "UP", FORWARD);
}
y -= 3;
}
char*key=GetKeyState();
CLIMB = 1;
if(key[KEY_UP] == 1)
{
if(af == 0) {
af = 1;
ChangeAnimation("Event Actor", "UP", FORWARD);
}
y -= 3;
}
if(CLIMB == 0)yvelocity += 1;
CLIMB = 0;
ShingingDB wrote:What do I do with the
CLIMB = 0;
collision event with ladder. Is it ladder colliding with the player, or is it the player colliding with the ladder.
ShingingDB wrote:Ok I just added the
CLIMB = 0; to the ladder.
And he still bounces!!!!! Ahh crud...
Edit: I took out my original gravity thing. Now when I press Up on the ladder, I climb yay! But then there's a problem..... There's no gravity. After you've climb to the top of the ladder, then jump, theres no gravity and takes you to space.....
ShingingDB wrote:Ok so I take out the gravity. But after I jump after I have climbed, I just float up.
Users browsing this forum: No registered users and 1 guest