Firstly, sorry if this is in the wrong forum, I didn't know where else to put it (except for maybe the Technical Forum).
Could someone please help me to script these actions?
1. When you press the Spacebar 1213 jumps forward, how would I script the animation for jumping forwards, because my character jumps back to his original position eg.Code: ags
2. For jumping up and grabbing onto ledges, how would you script that?
and 3. For falling down when you jump and theres no walkable areas underneath you?
any help would be appreciated, thanks in advance.
Could someone please help me to script these actions?
1. When you press the Spacebar 1213 jumps forward, how would I script the animation for jumping forwards, because my character jumps back to his original position eg.
if (keycode == 32) {
player.LockView(5);
player.Animate(player.Loop, 5);
player.UnlockView();
}
2. For jumping up and grabbing onto ledges, how would you script that?
and 3. For falling down when you jump and theres no walkable areas underneath you?
any help would be appreciated, thanks in advance.