fixed position for sprite on scroll

Get help using Construct 2

Post » Fri Mar 06, 2015 10:38 am

hi,
i've a big map where i scroll every tick to player.x but i want to make some icons, back arrow, highscore text, ... to be fixed!
i've already tried anchor behavior, set x to viewportleft("game") + 50 but the sprite is jerking.... also tried *dt

is there a better way to set a position or to ignore scroll for a sprite?

thanks
meTa
B
5
Posts: 42
Reputation: 313

Post » Fri Mar 06, 2015 4:48 pm

Yes, create a new layer above the game layer. Put all the sprites you want to stay still on this layer and set the layers parallax to 0.
Nothing goes unanswered!
B
22
S
5
G
1
Posts: 430
Reputation: 3,388

Post » Mon Mar 09, 2015 3:13 pm

thx! works perfect!

meTa
B
5
Posts: 42
Reputation: 313


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests