Results 1 to 3 of 3

Thread: What's the real resolution?

  1. #1
    Squire
    Join Date
    Mar 2011
    Location
    South Korea
    Posts
    14

    Default What's the real resolution?

    I've done some testing about video mode.
    I put a same size sprite on same position in each video mode
    ex)
    "iPhone", 320, 480
    "iPad", 768, 1024
    "iPhone4", 640, 960
    Results are identical but not scale.
    Proton's resoultion difference is just scaling...right?
    I think, real resolution is (320, 480)..

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Proton can work both ways - scaling everything to fit a screen, or using the native resolution of the current screen.

    It sounds like the "fake primary screen size" feature is enabled so no matter what you do, it's 320X480 internally and scaling to fit the device screen which isn't what you want.

    The RTBareBones example comes with this disabled.

    The RTSimpleApp example comes with this enabled.

    To fix RTSimpleApp to not scale, remove the following line from its App.cpp:

    Code:
    SetupFakePrimaryScreenSize(320,480); //game will think its this size, and will be scaled up
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Squire
    Join Date
    Mar 2011
    Location
    South Korea
    Posts
    14

    Default

    Thanks, Seth

Similar Threads

  1. Outline Collision Resolution Mayhem!
    By Dincu in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 07-24-2009, 11:18 PM
  2. Real bug to do with entities
    By Uhfgood in forum Novashell Game Creation System
    Replies: 9
    Last Post: 07-17-2008, 03:49 AM
  3. High precision/resolution time, multicore issues
    By z42 in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 03-17-2008, 07:34 PM
  4. resolution, mouse cursor, etc
    By Uhfgood in forum Novashell Game Creation System
    Replies: 1
    Last Post: 09-06-2007, 12:40 AM
  5. Resolution Independent Drawing
    By glorified_ameba in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 03-28-2007, 05:33 PM

Bookmarks

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
  •