How do I keep objects of layout in movement???

Get help using Construct 2

Post » Mon Oct 12, 2015 10:53 pm

Hi!
I have a game that the player always move to right, and the hud layout also (score, lives etc). Now i create other layout for a pause menu, but i dont remember how can i to set that layout is in movement, because the menu dissapear whilethe player is in movement.

Image

Image

How can i do that?
Thanks!
B
4
Posts: 50
Reputation: 290

Post » Tue Oct 13, 2015 1:12 am

Hey Crynof,

If you click on your time object in the layout you will notice on the left hand properties section that it will have a different "layer" to your graphics. This layer is likely set to not scroll (unless you are setting the time to stay in the middle via events).

You have some options really, set it to (or set up) a layer that doesn't scroll. Give it the anchor behaviour via the behaviours or set it via events using maths with viewport calculations.

If that sounds confusing then check over Kyatrics FAQ as I am sure you will find your answer there with a helpful example cap.x
ImageImage
B
119
S
23
G
7
Posts: 1,070
Reputation: 12,989


Return to How do I....?

Who is online

Users browsing this forum: dop2000, lordsas, Matei511, nazim, tarek2 and 70 guests