Enemies moving outside of screen - how to stop them on (culled) tiles?

I now have included some test enemies in my TILED map, but when moving them around and they move outside the screen they can’t collide with tiles anymore because the tiles are getting culled.

What is the best approach to this kind of “problem”?

I want to make my enemies move outside of the screen, so they have some kind of “own life” moving around and the player can wait until they re-enter the screen from outside again.

How can I do this?

https://forums.coronalabs.com/topic/59635-dusks-tile-culling-and-moving-enemies/

@d.mach:

Aye, what @Painconfess posted is the accepted way to deal with this. I’ll PM you later with an alternative, though.

  • Caleb

https://forums.coronalabs.com/topic/59635-dusks-tile-culling-and-moving-enemies/

@d.mach:

Aye, what @Painconfess posted is the accepted way to deal with this. I’ll PM you later with an alternative, though.

  • Caleb