Test Run: Frame Overload

Bugs will be moved here once resolved.

Post » Mon Sep 07, 2015 5:03 pm

Message: cmontville89 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Problem Description
____ A concise description of your problem here ____
We recently ran into a red loading bar on testing our project. This occurred only after the addition of another "character animation." These are about 50x100 (*with 250 frames each).
Upon testing we were able to determine that it was not the size of the file, but the frame count that caused a problem. The test run is requesting too many calls from the local server, and returning a "insufficient resources" error code.
Removing the character sprite solves the problem, but now we have to delete 5+ chars just to run it, and then ctrl-Z them back in (this is very frustrating).
The export works fine, but this is because construct compiles sprite animations into singular sprite sheets, while in the IDE it does not (nor does it allow animations to be held as single sheets).

Attach a Capx
____ Upload a Capx to this post ____
https://dl.dropboxusercontent.com/u/575 ... ample.capx
Description of Capx
____ Concise description of what this CapX does ____
This cap holds 30+ mock character animations, it simulates the test server request overload.
Steps to Reproduce Bug
  • Step 1 - Add enough frames (approximately 6000+).
  • Step 2 - Test run from IDE
  • Step 3 - Be frustrated!

Observed Result
____ What happens? ____
Red loading bar, failure to load images.
Expected Result
____ What do you expect to happen? ____
To load the images as it should, or allow single sprite sheets to be workable in the IDE.
Affected Browsers
  • Chrome: (YES)
  • FireFox: (NO)
  • Internet Explorer: (Why?)

Operating System and Service Pack
____ Your operating system and service pack ____
Windows 8.1
Construct 2 Version ID
____ Exact version ID of Construct 2 you're using ____
version 212.2
Last edited by cmontville89 on Mon Sep 07, 2015 5:05 pm, edited 3 times in total.
Posts: 15
Reputation: 1,257

Post » Tue Sep 08, 2015 2:52 pm

Works with Firefox, guess I am using this for testing from now on.
Posts: 15
Reputation: 1,257

Post » Tue Sep 08, 2015 5:00 pm

Note your .capx URL is incomplete.

This is occasionally reported, but it is a bug in Windows itself. Each process can only create up to 10,000 graphics objects, which is a limitation in Windows since the 16-bit days and has never been lifted. I am amazed that anyone would actually run in to this limit; I've no idea how you could need so many frames, and anyway this seems contrary to our advice on conserving memory.

Anyway there's not much we can do about this in C2, but C3 is being architected with this limit in mind. Exporting your project is a slower way to test, but the spritesheeting on export usually brings the image count back under the limit. If another browser works then you can always test with that as well, I guess maybe Firefox have their own graphics engine that doesn't depend on the OS and can go further.
Scirra Founder
Posts: 24,249
Reputation: 192,250

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests