I'm developing a small prototype, but I have a problem.
I want to create the lighthouse spotlight and make it moving horizontally in a loop (like it's looking for the player) and if this spotlight collisions with the player, the game ends.
I think the best way for the movement could be using the sine behavior, but the problem is to animate the png of the spotlight. I'm testing with the mesh tool and the timeline, but I'm not getting any results at all.
I don't know how to do it. I hope you can help me.