Change Z Axis Scale at Runtime?

0 favourites
  • 3 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hello all! I'm making a 3D project and I'm toying around with using Orthographic projection.

    I use regular scaling when building levels to make the editors Z-scale match the X and Y axes, but using regular scaling with Orthographic projection doesn't allow me to zoom the camera in by changing the canvas size and it also doesn't seem to allow me to get both the front and bottom faces to have equal pixel sizes (Top and bottom respectively in regards to looking from a top down perspective)

    Using the Normalized scale however, I can get the front and top faces of my objects to look even, successfully mimicking a 2D appearance. Having to switch back and forth between Normalized and Regular in the Project Settings before testing is really annoying.

    Regular in Editor (Looks good):

    Regular when Testing (Looks really bad):

    Normalized in Editor (Looks horrendous and is impossible to work with):

    Normalized when Testing (Looks perfect!!!!):

    I want to continue using the Normalized scale when running the project, but I would like to be able to use the Regular scale in the editor and not have to switch between them every single time I change something. Is there any way to do this, either through an event action or a script?

    Thank you!!

    Tagged:

  • It may be not very nice solution, but have you tried playing with FOV value?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hmm. Playing with FOV and making it 1 degree gets me close I suppose, but the tops and sides are squished and I think that's due to the camera angle anyhow. I'm really trying to make it even to make it look like a 2D top down Zelda game but with the ability to have platforming and to move the camera, so I need to stick with Orthographic I think. I am going to continue switching back and forth between Normalized and Regular for the time being I think. Thank you for the response! I hope a way to switch at runtime is implemented! I love using Regular cause it makes it easier to do things like Physics calculations on the Z-Axis. But Orthographic just looks horrible in Regular, so it is what it is for the time being I suppose.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)