My game: https://flowlab.io/game/play/1399849
I created a game where a frog runs around doing things(total idea unfinished) but I wanted a fence that it can jump over, while enemies are trapped inside the fence. However, I made the frog “jump” over the fence by using Enabled functions inside the fence.
With the enemy following the player, how should I make it so the enemy cannot leave the fence whenever the frog jumps? Is there an easier/better way to create the frog jumping?
Not without making a complex set up… the best way I can think of is to extract This X and This Y in the enemy and use a filter to stop if it passes the fences X or Y, then give it a new position to not pass the fence…