Scirra / Construct-feature-requests

A place to submit feature requests and suggestions for Construct.
https://www.construct.net
11 stars 1 forks source link

(Layers/Layouts) Disable Rotations/Angle on Layers #90

Open SalmanShhh opened 8 months ago

SalmanShhh commented 8 months ago

Reviewed guidelines

Checked for duplicate suggestions

Summary

when playing with the camera angle for player feedback, it gets harder to keep UI elements from not flying around in the screen in addition to keep their positions on the screen.

Possible workarounds or alternatives

right now you can set the layer angle but it doesn't work consistently as would be liked.

Proposed solution

similar to how you can set the parallax and scale rate of a layer, a similar thing would be appreciated for layers in the layer properties or being able to disable it via events.

Why is this idea important?

this is to keep UI elements from flying off when doing things with the camera, for things related to 3D visuals which end up having more moments where the sense of momentum is applied thro chrome_SdHMamVna7 ugh rotations and other means.

Additional remarks

No response

AshleyScirra commented 8 months ago

Are you using "set layout angle" or 3D Camera? It's not clear what you're doing exactly.

If it's "set layout angle", why not just make a function that sets the angles of the gameplay layers? If it's 3D Camera, don't you want the UI to be on 2D layers where it won't be affected anyway?

SalmanShhh commented 8 months ago

Are you using "set layout angle" or 3D Camera? It's not clear what you're doing exactly.

If it's "set layout angle", why not just make a function that sets the angles of the gameplay layers? If it's 3D Camera, don't you want the UI to be on 2D layers where it won't be affected anyway?

I'm not using 3D camera + the UI layers set to 2D, im using set layout angle to set the angle.

It would be great to be able to disable rotations without needing to make a long chains of setting a layer angle every tick if there's an angle change.

It can get very tedious as projects can scale or keeps being overwritten by the engine since the set layer angle tends to not work as consistently as it should, be it at the top or bottom of the main event sheet.