How do I prevent scale of a single layer(HUD)?

Get help using Construct 2

Post » Thu Jun 16, 2016 1:54 am

I am aware of parallax and the anchor function, the problem is using scale for zoom.

I am just wanting to be able to keep text in the same spot on the screen when I zoom in and back out.
Example would be 5,5 from the top left corner of the viewport and have it ignore scale.

As of right now I have four layers. Three need to be zoomed in/out while the 4th(Hud) needs to ignore scale. Is there a way to scale all layers at once excluding one or am I going to have to scale three layers one by one with events. Will this cause a visual issue when zooming, like a small lag between layer scaling?

Perhaps there is another way of making text stay in a specific spot on the viewport that ignores scale?
I have never actually used anchor for an object before, I assume it won't ignore scale. Is there a way to make it ignore scale? Will that just be a layer problem like the text?
B
68
S
37
G
13
Posts: 242
Reputation: 12,787

Post » Thu Jun 16, 2016 2:19 am

Scale rate
Change the rate at which the layer zooms if scaling is applied to the layer or layout, a bit like parallax but for zoom. A scale rate of 0 means the layer will always stay at 100% scale regardless of the scaling applied. A scale rate of 100 means it will scale normally.
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Thu Jun 16, 2016 2:27 am

Oh wow.. Can't believe I didn't see that in Layer properties... :| :cry: Thanks.
B
68
S
37
G
13
Posts: 242
Reputation: 12,787


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests