Results 1 to 10 of 21

Thread: Resolution and Aspect Ration Independent 2D Game Engine Design

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    On topic of aspect ratio, not sure how much of this is said already, but many games let user himself choose how he wants to scale the UI. Most 3D games support this now. For example imagine someone with imaginary 2400x1800 resolution. You can't know how big or small he wants the UI to look. Maybe he is used to look small things possibly because his display is huge. So just because resolution is big, it's not *always* the right choice to scale things up. Depends on what you're drawing...

    Also as i mentioned OpenGL earlier, even if it's 2D game its all vector graphics (polygons). Texture size doesn't matter (well, low/med/high settings for performance can be good always), bi-linear filtering is smooth to look at. They can also be drawn pixel-perfect without scaling. Vector graphics have speed benefit where you don't have or need your own doublebuffer, to get effect of "stretching" graphics.

  2. #2
    Quote Originally Posted by User137 View Post
    Also as i mentioned OpenGL earlier, even if it's 2D game its all vector graphics (polygons). Texture size doesn't matter (well, low/med/high settings for performance can be good always), bi-linear filtering is smooth to look at. They can also be drawn pixel-perfect without scaling. Vector graphics have speed benefit where you don't have or need your own doublebuffer, to get effect of "stretching" graphics.
    Offcourse the texture size matters. Polyon is actualy just an surface on witch the texture is being drawn. So if you have small texture and larg polygon you will have to upscale the texture so it can be drawn on whole polygon (just like increasing picture size). If you have big texture and small polygon on other hand the texture itself would be scaled down so that it could be properly drawn on the polygon (just as if you would reduce the picture size).
    The only difference is that when using polygons the texture scaling is done by the graphic card itself. And since most graphics cards have hardware support for textre scaling there is a considerable performance boost.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •