1
Ask a Question / Seamlessly connecting edges of scene with camera centered on actor
« on: August 18, 2017, 12:23:39 pm »
Super-smart Stencyl folks! I need your help.
I'm not sure if this is possible, but I can't seem to find exactly the info I'm looking for.
I know you can connect the edges (top-bottom or left-right) of a scene by doing something simple, like having your actor pop up on the opposite edge of a scene and snapping the camera.
I want to make it so as you approach the edge of a scene, your actor still stays centered and you just seamlessly scroll through to the opposite end of the scene. I have a fast-paced game and I want the level to be "infinite" but still want you to be able to see where you're headed without the camera jumping back as you teleport to the other edge.
The art I'm posting will show what I'm trying to describe. Imagine the little guy is jumping to the upper right platform on a small scene. Can I get the camera to follow him, centered and have all the tiles follow infinitely?
Thanks for the help, and please let me know if I should try to explain my problem better.
I'm not sure if this is possible, but I can't seem to find exactly the info I'm looking for.
I know you can connect the edges (top-bottom or left-right) of a scene by doing something simple, like having your actor pop up on the opposite edge of a scene and snapping the camera.
I want to make it so as you approach the edge of a scene, your actor still stays centered and you just seamlessly scroll through to the opposite end of the scene. I have a fast-paced game and I want the level to be "infinite" but still want you to be able to see where you're headed without the camera jumping back as you teleport to the other edge.
The art I'm posting will show what I'm trying to describe. Imagine the little guy is jumping to the upper right platform on a small scene. Can I get the camera to follow him, centered and have all the tiles follow infinitely?
Thanks for the help, and please let me know if I should try to explain my problem better.