Memory consumption question

Not favoritedFavorited Favorited 0 favourites
  • 5 posts
From the Asset Store
Test and challenge your memory in this amazing Christmas themed memory game!
  • How do I see the memory consumption of each sprite? In the debug screen I can only see the total memory consumption.

    Another question, I know there's a recommended maximum pixel size for each sprite (4096px). But if I put a smaller sprite on a tiled background, and increase it to one above the recommended size for the sprite (for example: 8192px), is that a problem?

  • You can’t see memory per sprite directly in the debug screen, but you can estimate it based on image size, bit depth, and how many frames/animations are used. For your second question, yes, stretching a smaller sprite to 8192px can cause issues, especially on lower-end devices or browsers, even if it’s tiled. Best to keep individual texture sizes within limits to avoid rendering problems.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I see the memory consumption of each sprite? In the debug screen I can only see the total memory consumption.

    You can put it on an empty layout and check in the debugger.

    and increase it to one above the recommended size for the sprite (for example: 8192px), is that a problem?

    The size (resolution) of the image in the Animation Editor is what matters. 8192x8192 px image is too large. If the image is 1024x1024 px and you stretch or tile it on the layout - this is fine.

  • How do I see the memory consumption of each sprite? In the debug screen I can only see the total memory consumption.

    Sprites aren't actually loaded individually - they are placed on sprite sheets and then an entire sprite sheet is loaded. If you right-click the project name in the Project Bar and choose Tools - View Spritesheets, you'll see the set of spritesheets Construct has generated for your project, including the approximate memory usage and download size per sprite sheet. (Those details can change after export though, depending on export settings.)

    Another question, I know there's a recommended maximum pixel size for each sprite (4096px). But if I put a smaller sprite on a tiled background, and increase it to one above the recommended size for the sprite (for example: 8192px), is that a problem?

    Just to be clear, because an earlier reply was incorrect: that's fine. So long as the source image is 4096 pixels or smaller, you can resize it as large as you like and it won't be an issue.

  • Thank you very much everyone!

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