sprite draw distance

This forum is currently in read-only mode.
From the Asset Store
You need this package if you want to program a Street Fighter or battle game.
  • Is there a way to increase the draw distance of sprites?

    I've been working on a 3d terrain mesh. It's pretty spiffy, but distorted sprites stop getting drawn as soon as there actual location go's off screen.

  • Objects are only drawn if their bounding box is on the screen, and the bounding box is always at a ZElevation of zero.

    You ca design your game so that the ZElevation of objects (and distort points) never go lower than 0, just shift them higher. You can also increase the project property "eye distance" if they are getting clipped by being close.

  • well.. its not actually "3D". I'm not using the z 3d distortion of the sprite, so the view distance does nothing, I'm just distorting the .y of a point

    Is there a way to increase the screen size of drawing objects, but not the actual resolution.

    In construct it self, or even in python?

    OR can I edit the bounding box of a sprite, but not there actual height/width?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I got it backward, keep the ZElevation and Z distort less than 0 so that the object is mostly contained in it's bounding box. Another approach would be to always position the object at the middle of the screen and use "absolute displacement".

    s there a way to increase the screen size of drawing objects, but not the actual resolution.

    In construct it self, or even in python?

    OR can I edit the bounding box of a sprite, but not there actual height/width?

    No, you can only design around it.

  • I think kinda what your thinking along the lines of center then absolute displacement could work.

    I'm going to try making the sprite 2 or 3 times its size, then relatively displace the sprite to half its size, since displace doesn't actually change the size or position of an objects bounding box this should work.

    In terms of were there actually placed, they would be overlapping each-other significantly.

    but all my terrain collision will be based off of an array, so It shouldn't matter.

    I'll let you know what happens.

  • works like a charm, thanks so much for your help. <img src="smileys/smiley1.gif" border="0" align="middle" />

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