'Jumping' for Enemies in GB Studio
At the time of posting, jump physics in GB Studio are only available for the player. This is a method of faking NPC/enemy jumping by rapidly changing actor positions in a roughly parabolic way.
No collision detection is involved (the floor need not be solid), and by default the actor will endlessly follow the player by moving in arcs of a specific length and height. This prefab includes a semi-convincing way to have an actor fall through a gap in the floor which needs to be modified on a case by case basis for actors in your scene. Play around with the Set Relative Position events to adjust the path of your actor.
Download
Download
Jumping.zip 572 kB
Comments
Log in with itch.io to leave a comment.
This works very well! It's not as smooth as other movement but the illusion is good enough that I'd use it in my game
Yeah, its essentially stop motion. Probably works best in areas where the enemy is positioned such that they couldn't be expected to change elevations. Longer falls look strange.
It's still a really genius solution. And until you pointed it out, I didn't notice that it was stop motion