(Solved) Floating Idle Animation

I’ve been trying to make an enemy that floats up and down in it’s idle state. Anybody have an idea how to do this? I’ve tried tweening it, but it just infinitely floats away (oh no, my balloon!)

I don’t know what was the problem, but I think tween is a good tool for this. may be you set up incorrect parameters for that. can you post a screenshot?

Here you go. It’s triggered when the Main Character is further than 200 pixels, and then it moves when it is under 200 pixels.

:slight_smile: yes. add a “trigger once” condition. or be sure somehow, this event executes only once. the parameters looks OK. may be you should fine-tune them when it works correctly.

Thanks! It works great!

1 Like