by NUTINC » Thu Jun 12, 2008 2:02 am
I tried to do a jump ability in one of my games (wasn't isometric, but did follow same rules). You need a few variables like the basic canJump and such. I had two actors, the player and playerfoot, when a user pressed a key, it was playerfoot that moved and player followed. When a player pressed jump, player used velocity and timer codes to go up and down, while playerfoot stayed on the ground. For platforms, I had two objects, the walls of the platform and the base itself. The wall would only let player and playerfoot pass when canJump said he couldn't jump anymore. That was where I quit and gave up because the gameplay had changed and jumping wasn't needed. For platforms your character would need a variable like playerheight or something to prevent jumping onto big platforms from the ground and a few other variables to move playerfoot and player around to the right heights.
in short: OH THE PAIN! OH THE PAIN!
To those of you out there, I am not dead. I am a ghost! There is a difference!
Currently Working on: Parts, A self-assembling adventure