Extreme FPS Drop And High RAM Usage with Large Animations

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.
  • I have a few animations in one frame. If I don’t include these animations, RAM usage stays at 300MB, but when I add a single 1080p animation (57 frames) into an active object, it jumps to 1000MB. When that happens, FPS drops to 4, and some sprites turn completely white.

    Right now, I'm using an Active Object to handle the animations, but I'm pretty sure that is not the best way to handle this. These objects aren’t visible or created at the start, so they shouldn’t be using memory initially.

    I also tried optimizing the frames of the animation by converting them to JPG from PNG, but that didn’t improve performance.

    I need to add a few more animations like this, but I know that will make the issue worse. Is there any workaround to load these animations without killing performance?

  • So, I shouldn't use Active objects. What would be the best object that I can use? I see there's 'Animation' and 'Active Direct Show'. Would either of these do the job, or is there a better option? Also, which video format would be ideal for this? (AVI, MPEG, MP4, etc.)

  • Active Direct Show, or FFmpeg object by defisym.

    For best compatibility, use video codec H264/AVC, the best audio is AAC (AAC-LC), and container MP4, with faststart flag.

    To convert a video to that, you want a CMD like

    "path to ffmpeg.exe" -i "input file path" -c:v libx264 -c:a aac -preset veryslow -movflags +faststart "output file path"

    and you can get ffmpeg from Please login to see this link., download the Windows zip near the top, and look in the bin folder.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Active Direct Show

    Hey, thanks for the advice! I’ve been trying to use Active DirectShow, but it causes inconsistent issues. Half the time it doesn't recognize video files. Even when it does recognize video files, they end up showing a black screen rather than playing them.

    I’ve tried using multiple formats (MP4, AVI, etc.) with H264/AVC video and AAC audio as recommended, and I’ve checked the files are properly converted. However, despite these steps, the reliability of Active DirectShow has been quite inconsistent. I’ve also noticed that videos only load properly on occasion, and even then, they still fail to display the video content correctly.

    Now I am thinking about the FFmpeg Object by Defisym, which I’m trying to install. But so far, Active DirectShow has been difficult to work with.

    Is there any other object besides active DirectShow or FFmpeg that plays high res videos without using too much ram?

    Thanks again for the help!

Participate now!

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