Right now I have made different barrier sprites for every platform that change the direction of the enemies in collision. But if I continue this way the project will start becoming very chunky.
I also have tried using an enemy group with a variable to limit excess code, but when one enemy sprite reaches a border then the whole group starts moving towards the opposite direction.
Is there a way to create just 2 barriers that I can later use on all platforms?
And also maybe use an enemy group instead of adding every enemy one by one on the event?
Thanks!