Chilly14 wrote: ↑Thu Aug 01, 2019 12:15 pm
I meant that when the player(s) goes through the level, the spawn zones "follow" them. Can you show me an example code?
Spawn them relative to the camera coordinates? When spawning you specify X and Y coordinates, and the player's camera (global variable "camera") has x and y coordinates, as well as width and height.
http://wohlsoft.ru/pgewiki/Camera_(class)