Change Scene Sized based on Screen Height/Width

I was trying this out earlier today, but it wasn't working the way I wanted it to. I'll be back home later to try it out again but while I'm out, I figure I'd ask around the forums :)

I have a default scene size of 2048 x 2048
and a movable Actor that controls the Camera and moves around freely

I'm trying to make it so that at Scene Start it detects the Screen Size and resizes the Scene size to 1024 x 1024 when you're using Legacy. Unfortunately it wasn't working.

To check, I did 2 Display Texts.
- 1 to display the Scene Width and Scene Height (which shows proper values whenever you change the Screen Size)
- 1 to display the X and Y Coordinates of the moving Actor (which shows that even on Legacy, I can unfortunately still reach X:2048 Y:2048)

I was only using Creator Preview but I reckon results would be the same on the Viewer/Ad Hoc.

Anyone tried resizing their Scenes this way?
Perhaps I'm overlooking something? Possibly, that you can't change the Scene Size once the Scene has started running?

It's a complete game and I'm just adding this new feature into it. I'll try to create a stripped down version later and see if I have an Actor with a bad Rule that's contradicting this one.

Comments

Sign In or Register to comment.