How to make Enemys Jump

Maniacus

  • Posts: 69
If i have a enemy moving at a x speed of 5. How would i make it jump like every few steps?

« Last Edit: April 08, 2015, 08:54:08 pm by Maniacus »

Osman2001

  • Posts: 19
I know how to make it jump all the time at your desired height but not with every few steps.

Basically, in the scene editor, you would put the enemy away from the floor (like 3 tiles higher than the floor you want the enemy to jump onto. In its actor editor, set the enemy's bounciness to 1. That would work but if it fall down, it will end up jumping to the height it had before jumping: far too high!

MadManAdam

  • Posts: 371
You could make it jump every second or few seconds, etc..  Or make it jump based on how far it has traveled in one direction.

Maniacus

  • Posts: 69
Yeah the every few seconds is what I needed. I was putting it under when updated. It has to be under when created. Thanks for the help.