How do I set fullscreen scaling to crop mode?

0 favourites
  • 3 posts
From the Asset Store
10 Beautiful Pokemon-like Building Pixel Art Sprite Sets
  • For Construct 2 I designed most things with crop mode in mind but I can't find the option to set it in C3.

    If I kept using C3 would I have to choose between supporting lower resolutions or allowing players to make use of a higher resolution to hide less stuff behind submenus and such?

  • I also want crop scaling. I added it to the suggestions site. https://construct3.ideas.aha.io/ideas/C3-I-303

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had the same issue when I moved to C3. To solve this problem I did this:

    1. Set Fullscreen-Scale to (OFF)

    2. Insert (Browser)

    3. Create an event on Browser Resize

    4. Create an Action (Browser > Execute Javascript) set global variables to height/width as seen below.

    Then, in the index.html I added this tiny function

    <script type="text/javascript">
    var browser_h = 0;
    var browser_w = 0;
    
    function browser_s() {
        browser_w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
        browser_h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
    }
    
    browser_s()
    </script>[/code:3rnf890w]
    
    You now have, fullscreen that is cropped.
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)