Aspect Ratio

This forum is currently in read-only mode.
  • How about doing the same for a 16:10 monitor? (1440x900)

    Could you please add that to the .cap?

    I have faith that you could figure out how to do it

    Give it a try at least. Everything you need to know is right there in the .cap. It's just a matter of working out the math and fiddling around with things until it works right. The math is pretty simple, even for me (I totally suck at math).

  • Yeah you were right, I did found the correct numbers.

    And I have another question.

    This is a static thing, and the screen is centered to the red circle.

    How can you apply this to a game with a moving object?

    EDIT: I just tried setting the bars at the top-left of the layout with unbounded scrolling. Looks like that could work.

  • I totally nailed this

    Thanks for the nudge, deadeye.

    I added support for 4:3, 16:9 and 16:10

    Check this files out:

    Fixed ratio for a 640x480 application:

    http://www.fileshack.us/get_file.php?id ... ect640.cap

    Fixed ratio for a 800x600 application:

    http://www.fileshack.us/get_file.php?id ... ect800.cap

    The weird window resolution is to compensate for the borders of the window itself.

    Also the 1.25 screen ratio is for 1280x1024.

  • No problem, glad you got it all sorted out

    Putting the black bars on the top layer with no scrolling is a nice touch (though your bottom bar on the 800x600 version needs a little adjustment )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    Sorry to bump an older thread but I could really use those example files, (being new to construct) and all the links now appear tobe dead. Could someone repost an example file please?

  • Hi everyone,

    Sorry to bump an older thread but I could really use those example files, (being new to construct) and all the links now appear tobe dead. Could someone repost an example file please?

    Hey same thing here! i'm having the same problem and really could use those examples! The links are dead

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