Text object on a layout uses a lot of GPU

0 favourites
  • 5 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • Has anyone noticed that having a text object on the layout editor (doesn't affect runtime or event sheet), uses a lot of GPU. I noticed that if i designed a level in my game, then GPU was constantly on 100%, but went down to normal when switched to event sheet. Later, after trying to figure out what is going on i discovered that the text object itself causes this.

    So i tried to debug it this way: I created three different layouts, first one had zero text objects, second layout had one text object and third one 24 text objects. So, Layout 1 used 0% of GPU, Layout 2 used 15% and Layout 3 used 25% of GPU.

    Problem occurs when layout with text object is visible on C3 editor.

    I tried it with my desktop at home, laptop at work and also with my friend's desktop which uses Linux. Same problem occurred on all of them.

  • You didn't post the c3p files so we could check our own. What model of video card do you have?

    For the test I created an empty project with 30 text objects. Chrome browser. Version C3 is stable. The video card is a very weak GT1030.

    I noticed that there is a small load in the editor, but not critical.

    Here's what I got.

  • I tried this out and was surprised to find it is indeed the case - adding a Text object in the editor increases the GPU work, even if you are not doing anything.

    It turned out to be a regression from fixing a bug a few releases ago (#7358). It's just causing the Text to keep redrawing. I fixed it for the next release so it won't use any extra GPU.

  • It's just causing the Text to keep redrawing. I fixed it for the next release so it won't use any extra GPU.

    Just want to clarify - this only affects the layout editor, right? It doesn't happen in runtime?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure, possibly - but games tend to redraw every frame anyway, so it's probably not that significant. Either way it's fixed in r364+.

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