It looks like you're new here. If you want to get involved, click one of these buttons!
Hello again! In a scrolling platform type game I'm trying to spawn some things always just outside the right side of the viewport (like clouds, birds, etc) so they enter the game from the right side of the screen, regardless of where the player is in the world. I've been parenting the spawner to the camera, setting UseParentSpace = true and setting the position just outside the viewport on the x axis and y axis is random within a range. This works well, except now I've added some water and my character can dive and swim down below the "ground" surface. (there will be other ways to go underground as well) Since my camera is parented to the character, the spawner follows along and clouds and birds spawn dutifully underground. What would be the orx way to limit the y positioning of these items to an absolute position, while keeping the x values relative to the player to keep it off the right side of the screen? I'm resisting writing my own logic for this so I can better learn how to use orx.
thanks for any help!