Enter, but don't exit
GamingtilDawn
Member Posts: 104
I'm not even sure how to do this. In my game I have invisible walls to prevent the actor from leaving the scene. However, I want the actor to spawn off screen and then come into view. Is there a way to allow it to go through the walls to enter but not be able to leave?
Comments
Just a few ideas:
Let the actor spawn the walls after it has entered the screen.
OR
Connect the collision with the position of the actors, something like
_if collision wall and actor.position.x > 10 and actor.position.x < 1014
endif_
Thank you @ThoPel those are great ideas.