Hi, as per the topic, I'm having problems understanding this command (and if I'm hitting a wall with this kind of simple command, I'm doomed). I'm messing around Scirra's Space Blaster template, and noticed the ship is "locked", unable to move beyond an area. In the code, this reads as:
[code]>Prevent the player flying ahead too far or going off the bottom of the screen.
Player : Y > Scroller.Y + 300
Player : Set Y to Scroller.Y + 300
Player : Y < Scroller.Y
Player : Set Y to Scroller.Y[/code]
My understanding is that the 300 value is basically the area that "locks" the ship, preventing it from going further (any value above increases the area vertically, trapping the ship if moving down; any value below it narrows the area). While I'd like to know how I can make a ship be able to reach the top of the layout screen (but now go further than that), I'd also very much like to understand the the uses of Scroller.Y.
I've also searched the forums and haven't found a concrete answer, though maybe it has to do with my search terms