How do i fix this "Scroll to" issue

Get help using Construct 2

Post » Wed Apr 26, 2017 10:17 am

Hello everyone!

I’ve got a issue in a game with rotating layers. The game concept example is this one:

game: http://therealgeekgirl.com/prueba capx:
https://www.dropbox.com/s/24htkzg46cfxr4r/version_0.0.0.2.capx?dl=0

As you can see, the Behavior “scroll to: affect all the layers, cos is attached to the planet. Everything turns around the center, the planet in this case, except the “HUD” layer. So, in the next version is when the problem appears.:

game: http://therealgeekgirl.com/prueba2 capx:
https://www.dropbox.com/s/d09k2g70ommq6a6/version_0.0.0.6.capx?dl=0

Now the center is the player, cos I want the player just see the field in front of him. I changed the behavior “scroll to” from the planet (now a tree) to the player. Now that “scroll to” is not in the center of the screen, the layer “HUD” is turning around aswell, as you can see. I tried to use “ANCHOR” in those “HUD” elements, but still been affected for the rotation of lowers layers.

Can this be fixed? I mean, can I keep the “HUD” layer without movement?

Regards.
B
22
S
3
Posts: 77
Reputation: 1,137

Post » Wed Apr 26, 2017 10:37 am

Try to set the parallax in the Layer Properties to 0,0 of your HUD-Layer, that should fix it.
B
24
S
3
G
1
Posts: 454
Reputation: 2,171

Post » Wed Apr 26, 2017 10:43 am

Asmodean wrote:Try to set the parallax in the Layer Properties to 0,0 of your HUD-Layer, that should fix it.

OMG that was soooo easy, totally fixed

Lot of thanks
B
22
S
3
Posts: 77
Reputation: 1,137


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests