Z not rendering when zoomed?

This forum is currently in read-only mode.
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • The Z sprites only seem to render in the top left quarter of the screen when I'm zoomed in?

    http://dl.dropbox.com/u/1024727/disapear.cap

  • bump

  • I played about with the settings, works with zoom at 180(zoom)

    Also had to reposition and resize the sprites slightly

    + System: Start of layout

    -> System: Set Zoom to (180, 180)

    -> Sprite: Set Z elevation to 0

    -> Sprite2: Set Z elevation to 0

    http://dl.dropbox.com/u/22173473/dissapearwork.cap

  • Thats the whole point, everything works at elevation 0 but when you add the Z dimension to sprites the rendering stops working correctly (when zoomed).

    It almost seems like its being offset or something? like this (where the black is the screen, and red is the Z rendered screen):

    <img src="http://dl.dropbox.com/u/1024727/thanksforthereply.PNG">

    <img src="http://dl.dropbox.com/u/1024727/zoomedthing.PNG">

    but i could be wrong, lol.

  • Looks like you've ran into what amounts to an unimplemented feature using 3d.

    Since the Z is based on the camera view, what your essentially doing when you change the zoom is altering the eye distance. If they ever change events to allow changing the eye distance during runtime that should be fixable.

  • This cap might help.

    http://dl.dropbox.com/u/22173473/Zelevation.cap

    The initial zoom is set to zero, use left and right mouse to Zoom in and out.

    Use the up and down arrow keys to change the sprites Z elevation.

    <img src="http://dl.dropbox.com/u/22173473/ze.png">

    The flag image is added behind.

  • Didn't have time to read through all the responses, but if you mean how zooming messes up 3d display, this bug is a pet peeve of mine. I started working on it, but schedule got nuts so I can't promise a next version fix. If r0j0 reads this though he might fix it, he has a tendency to do awesome fixes when they appear in posts. It just amounts to an incorrect calculation of what needs to be drawn on screen

  • Thanks for letting me know that its fixable at least.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for letting me know that its fixable at least.

    Re: Z not rendering when zoomed?

    I thought my example illustrated that you can zoom, and the sprites still render?

  • I haven't looked at your example, but I know there are several circumstances where z zooming messes up rendering. you just can't distort freely in the z, or move sprites into the z and move freely without problems. Maybe your example is a special case where it works, or your pc in an exception, because in most cases, its a mess

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