Can you change the appearance of a Tiled BG without Load Image from URL?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Custom Loading Icons to Enhance Your Loading Screens
  • I have a tiled BG object that I use for the background of loading screens, and I also have a feature that allows you to change the appearance of said background. When I first implemented this I used the Load Image from URL action to set the image from the Files folder of the project, and it worked just fine.

    However it also came with the downside of crashing the game sometimes. I found the error is "Texture released too many times" which seems to possibly be a Construct issue from what I could find from past forum posts.

    Is there some way to change the image of a tiled BG without using that action so that I can avoid the crash or is there some other method to avoid it? I've seen some people say reducing the spritesheet size can help but even the smallest size doesn't prevent the crash.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ...

    However it also came with the downside of crashing the game sometimes. I found the error is "Texture released too many times" which seems to possibly be a Construct issue from what I could find from past forum posts.

    ....

    In some games I save images in a dictionary in base64 format, then load them when I start the level. Everything looks exactly like in the screenshots. It doesn't cause any crashes or errors.

    You're talking about some kind of error without giving the project file or creating a bug report. Based only on some 7 year old post, how can we even investigate anything?

  • Tried out your method using the base64s and it still had the same errors.

    (Here's the screenshot of the error in DevTools in case that helps since i forgot in the original post)

    The error always happens when the game is switching layouts, could there possibly be an effect when Load Image is used while switching? The action is only on a trigger event so I don't think the problem is that it's happening too frequently but is there a limit on how many times you can call that action before it starts having issues?

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