• Advertisement
Sign in to follow this  

Does unit scale matter?

This topic is 3676 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm working on a game with a 2d gameplay, meaning that the textures will be rendered on flat squares and rectangles and the objects are limited to movement along the x and y-axis(es). I've decided that each object is 1x1 units, my question is: does this scale matter? or could I use 10x10 objects instead, provided that i move the camera further back? Would the textures render differently? thanks for any help!

Share this post


Link to post
Share on other sites
Advertisement
Unless you decide to make your unit scale super huge or super small then it doesn't really matter as long as you scale the camera matrices, etc. appropriately.

Share this post


Link to post
Share on other sites
Most of the time it doesn't matter and you ought to concentrate on using a sensible scale, so 1x1 is fine, nothing wrong with 10x10 either.

If you use extreme scales then you run into problems with floating point accuracy or integer overflows. It's not likely to bother you unless you're simulating the solar system to a realistic scale, for example.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement