Hi everyone, I can't seem to find a thread about this, but when my character gets stuck behind an object, if the up button is continued to be pressed, the camera keeps moving upwards beyond the character and then the character is magically moved forward to the camera location, thus jumping over any of the obstacles it was meant to have to maneuver around. Is that a glitch just in the preview on a computer, or would that persist as a problem on mobile phones where the movement is touch-based? And how can I go about fixing it? Thanks.
It comes back because of screen deletion threshold set in World parameters. When blocking asset is removed from memory your characters jumps back to the screen. You can avoid it by killing your character once he touches the screen border (Game Frame settings) or you can try to build your objects with non perpendicular edges so character could slide on them instead of be blocked - where possible. Any other tips guys? And yes, it would be the same on device.
Okay, thank you. Is there a way, by any chance, to stop the camera from moving if the character gets stuck behind an obstacle (if the character is stuck then the camera stops moving?). Because my game frame is set exactly how I want it so if I could "freeze" the camera in place when the character gets stuck that would be perfect. Thank you!
Maybe try to play with Forced Movement of your World. This is the place where you control the 'camera'. If you put 0 to Min and Max the camera will move only with your character, not pushing it to move forward so you could be able to go back for instance.
Okay, I've figured it out! Here it is: https://www.dropbox.com/s/5px8rmwgvlvzz0p/For Forum.bbdoc?dl=0
I downloaded your file and as far as I know this is impossible but I may be wrong. If I'm right I would change the gameplay by rotating obstacles some degrees to be hard to get stuck behind it or change the lower Frame Border to kill the character.
I played around with this for a bit, but now the camera doesn't even move when the character goes above the screen and the character keeps moving above but out of site. Any suggestions?