Runtime memory error in game with many sprites

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello guys.

    I'm doing a fighting game that has 6 characters with 15 animations each character and each animation contains 12 sprites. In other words, the game has 1080 PNG images in sprites within 6 active objects.

    When I run the game the debugger counts 11 objects and calculates the memory at 700 mb, which is very much the same and the PC is too slow to work.

    My pc is an i7 with 8 gigabytes of memory with GForce 2gb video card.
    I would like to know how to decrease the memory used by my game, is there any configuration in CF2.5 that lowers the memory used or compresses the images so as not to take up so much space? Remembering that the images are already as PNG. And the resolution of the game is 1024 * 600.

    Thank you

    Best regards, Johnny Dias
    JRad Games

  • Strange. I use up to 800 mb of memory sometimes in my game but i don't notice any slowdowns. I load lots of graphics externally though. I don't know if that really helps with that because those ext. graphics still use up memory I mainly use it to not make the exe become to large. Is it possible to make the other characters inactive is it like 1 on 1 fighting or do all of them appear on screen at the same time?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!