Hello,
Its my first post and I'm new with Construct2!
I have followed the tutorial about making a plataform game, but i'm having a problem with "scroll to" behavior.
I have 800x600 for window size and 2040x480 for layout size.
So I assume that layout size is the size of our entire game, and window size is the size of what player see. (correct me if I'm wrong).
I have separate layers for, background, objects in the world and player. (3 in total so far)
I used a playerbox like tutorial said and put the "Scroll To" behavior.
Also i have the Layout Property Unbounded Screen set to "Yes".
And, Parallax Property on background layer set to 50.
Aparently, when player moves i see the background moving, but only till he hits the limits of the window screen, and since windows size is 800 and layout more than that, i dont see the all the layout. I thought the player would walk till he reaches the length of the layout not the window size.
My objective is to make the camera follow the player, and of course i want the player to move along the layout. Also i found another problem, since my player starts at position X:20, of course the camera can't center him, otherwise it would appear white background cause layout is out of the screen.
How can I do that? I think I'm doing something wrong but can't think on the solution.
Help me out, thanks :)