I'm trying to adapt my game to be suitable for multiple screen sizes, but I'm having trouble with 2 things.
1) I want the player to be bound to the viewable screen, but I can't make the player solid because of game mechanics and I can no longer use the "Bound to layout" behavior because I'm using "Scale Outer" and I don't know what the width of the screen will be. No matter what I set the width of the layout to be, it won't be right for every device.
2) I have enemies spawning on the right side of the layout, but now that the screen can be wider than the layout, they might spawn near the middle of the screen on some devices. I'd like for them to spawn out of view.
The event I'm using for spawning enemies is this...
System - Every 2.0 seconds
Create object "enemy" on layer "enemyLayer" at (800,random(0,600))
The current layout is 800x600. Any help would be appreciated. Thanks!