[r105] Large spriesheet import

  • I was trying to import a spritestrip with 47*23=1081 images <img src="smileys/smiley3.gif" border="0" align="middle" />

    Is the maximum frame limit 1024?

    I got a dialog warning it was over 1000 images, but I continued, then I got this error:

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    GetHICON returned NULL

    Condition: ret != NULL

    File: Projects\ObjectTexture.cpp

    Line: 555

    Function: struct HICON__ *__cdecl ResizeBitmapToIcon(const class cr::vector2_base<int> &,class Gdiplus::Bitmap *,int)

    Build: release 105 (32-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    Now that I've trimmed it down to 1012 images, and it imports fine.

  • 1012 frames isnt good design for videogame,

  • But I've got 1012 aliens! <img src="smileys/smiley4.gif" border="0" align="middle" />

    Each frame is a different alien.

    Does it make any difference splitting it up into separate sprites?

    edit: Feel free to close this, it's pretty obscure and the workaround is to use less than 1024 frames.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is no limit on the number of animation frames - you should be able to create over 1024. However the problem here is it looks like your computer is just running out of memory because there are so many images. I'd still recommend using fewer frames! Or maybe at least try splitting your sprite sheet in to two or four sections and importing them separately.

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