How do I Change the window start position?

Get help using Construct 2

Post » Fri Dec 05, 2014 11:22 pm

Hi!
I have a big layout wich i want to use pallax in Y. The problem is that my "player" starts at the bottom of the layout and the dotted line for the window is at the top. So when i start the game and scroll to the player every layer parallax to just the wrong place. So in order to build my level i need to make the starting window thingy at the bottom of the layout so that what im building in the layout editor is what i'll see when the game starts and the parallax works from there. I hope i made myself clear. Thanks in advance.
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Sat Dec 06, 2014 5:30 pm

Nobody knows? Or is there another way of doing it. I'm pretty sure i am not the first one who bumps into this.
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Wed Dec 10, 2014 12:13 pm

I'm still looking for a solution for this...
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Wed Dec 10, 2014 6:59 pm

There's the option to show paralax in the editor

This way you can see if the layers align properly.
B
18
S
6
G
3
Posts: 30
Reputation: 4,198

Post » Wed Dec 10, 2014 7:41 pm

Thanks! But i whould hope there was a better way of doing it. Since i dont know how high my layout will be. So when i increase the layout size i will have to redo everything. Plus, it gets really messy in the level editor when parallax is on. But im guessing that is the only way to go.
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Sat May 14, 2016 5:16 am

Is there no solution for changing the window position? :O
B
13
S
2
Posts: 53
Reputation: 855

Post » Wed Jan 18, 2017 3:37 pm

What a pitty that there's still no answer, I have the same question...
B
12
S
3
G
1
Posts: 46
Reputation: 1,518

Post » Wed Jan 18, 2017 4:55 pm

Maschka wrote:What a pitty that there's still no answer, I have the same question...


Has the SCROLL TO function been implemented yet back in 2014?

Today you can assign a random sprite to have the SCROLL TO behavior and assign it to whatever position you want. You can stick it to the player or use a LERP to have implement an effect that looks like it's "catching up" to the player.
Image Image Image
B
31
S
11
G
27
Posts: 748
Reputation: 17,093

Post » Wed Jan 18, 2017 6:29 pm

Using different x&y / layer to fake a parallax is weird anyway. What i think. Besides that it makes things complicated.

In the real world it is something simple as this:
https://www.dropbox.com/s/xnhw2e2l3jky7 ... .capx?dl=0

(plane flying above ground)
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Jan 18, 2017 6:55 pm

@99Instances2Go wow, that looks amazing and it seems as if you haven't done much! Thanks for the file!
@MPPlantOfficial good idea with the scroll to function. I thought maybe there was some kind of "official" way to do it, I mean when you organize your layout and stuff before you even start designing the rest. But that solution is good!
B
12
S
3
G
1
Posts: 46
Reputation: 1,518


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests