benswinden's Forum Posts

  • 5 posts
  • Hi Everyone,

    My application is using letterbox scaling, it works fine if you are scaling the window at to something close to the correct aspect ratio, or scaling horizontally, the letter box works as expected.

    However, if you scale the window vertically, making it short but keeping it very wide, the game doesnt scale.

    Is there any way to make the game scale properly under these circumstances?

    thanks!

  • So the problem definitely has to do with the total number of image memory in the project, even if those images are never used in a layout. Maybe my attempted solution was naive of me?

    For reference, on an iPad 2, the application crashes when switching to a layout from the loader layout if there is somewhere between 650-700 mb of image memory being used. Seems to load pretty consistently when its <= 600mb

    I know basically nothing about the specifics of whats going on here so if anyone could shed some light on it, it would be much appreciated.

  • Hi everyone!

    I have a game that when being played in browser on mobile, loads one layout and when on desktop loads a different layout. The mobile layout uses about 25mb of image memory, which as far as I know should be ok (correct me if i'm wrong). The layouts are loaded from my loader layout.

    The desktop layout uses significantly more and would definitely crash on mobile if loaded.

    The problem is, it's still crashing on mobile! Is construct loading images from the heavy layout, even if that layout isn't used on mobile? Any other ideas as to what could be causing the crash would be appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm working on a project that is starting to get pretty heavy on images and animations. Loading the game for testing and exporting builds is starting to take longer and longer. I was wondering if there is an easy way to test and export build while only including certain assets layouts so i don't have to load the whole project every time? thanks!

  • I'm very new to this stuff. If i'm sending multiple requests, do i need to first do a get token and wait for that to complete for each request i want to make or can i use the last data from the last request?

  • 5 posts