I'm creating a game with two different minigames inside that have inverted controls, and one of them is closed to being finished while the other is, but I haven't bordered either. I would prefer it if both are bordered because the cars in one of them go through the screen to stop people from cheating and you can move, and I dislike things outside of the given area, excluding ideas.
But I don't want the character to get stuck or getting sent back to X 500, Y 100 by just being close or trying to go on a lilypad or log, and in the other game, I would like it to have free roam but not touch the outside and have the screen edge act like an iPad edge where you can't go any further and slide around on the edge.
The character in this game has it's X controlled by Y and Y controlled by X, which is the reason I didn't make the games fullscreen, as X goes up to 1024 while Y only about 800, and it bothers me when the other isn't the same for the screen.
I already have a rule when character is not touching the screen for cheating, but it doesn't apply to when the character is touching the outside. Do any of you have any ideas or functional ones for the edge screen and borders?
The unfinished game is here: https://c.gethopscotch.com/p/xlka41bcf