d3d_set_perspective(enable)

Note: All 3D functions are restricted to registered users only.

 

enable = True / False

 

This sounds like that when it is disabled, you will get an orthographic projection (no vanishing point, parallel lines keep the same distance apart) however this is not the purpose of this function. Normally in a 2d game, the depth will not affect the size of the image, just the order in which they are drawn. When this is turned on however, the depth does affect the size of the image. A larger depth will result in a smaller (ie further away) image.

 

Example

d3d_set_perspective(true);

 

monkey dude - Revision #1