Camera zoom(Solved)

Get help using Construct 2

Post » Fri Mar 16, 2012 2:36 am

I have made my zoom using lerp(layoutscale,CameraZoom,0.5*dt) Works well, but I would like to create the same as lerp(layerscale,CameraZoom,0.5*dt)

In manual it says:
layerscale
Get the current scale of the layer, not including the overall layout scale.

I don't want to zoom my HUD. If I would set scalerate to 0 the HUD would look too big when viewed in mobile devices. Is there something i'm doing wrong in here or is the lack of layerscale command a bug?


Why is it always that I ask something in here and then solve it right after...

lerp(layerscale(0),CameraZoom,0.5*dt)
So I had to specify the layer with (0)nemo2012-03-16 02:45:26
B
40
S
5
G
5
Posts: 405
Reputation: 5,657

Post » Fri Mar 16, 2012 3:16 am

HAHA- That was easy...
B
192
S
6
G
7
Posts: 213
Reputation: 10,178


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt and 18 guests