Just curious, but what would be the best way to make a game scroll upwards whenever you move upwards, but be "locked" whenever you go downwards. So imagine a big vertical frame where you only see a little part of it and the camera allows for scrolling only when you move upwards and nothing else.
I'm not talking an engine akin to 1942, Tiger-Heli, or even NES Commando where the plane / helicopter / guy is always moving upwards so I don't need it to constantly scroll up.
EDIT: I guess this would also be the same thing as NES Super Mario Brother's only scroll to the right but locked to the left thing. Turned on its side of course!
Edited by Del Duio
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
make active object and make it invisible then rename it to "CAM"
then go to events :
> set position X of "CAM" to "player"
> set center window position in frame to x position of "CAM"
compare two global values:
Y position of "CAM" is lower than y position of "player" >
> set position Y of "CAM" to "player"
tada, it scrolls horizontaly but its locked when you are trying to move downwards.
hope this helped you ;p