How do I make this different to avoid fps drop?

Get help using Construct 2

Post » Sun Sep 14, 2014 5:56 am

I'm making a game where I'm using similar functionality as seen below. Problem is that is shows a major drop in fps right at the start of the layout (tested on Nexus 5).
It's really annoying and I was hoping I could find a way to improve or it. Does anyone have any idea of to make it run smoother?

Movemenet.png


Testing of object movement.capx
You do not have the required permissions to view the files attached to this post.
B
14
S
3
Posts: 123
Reputation: 1,571

Post » Sun Sep 14, 2014 6:03 am

From the "Performance Tips" section of the manual:

Changing Text objects every tick
Change the size or text of a Text object every tick - even just for an animation or transition - will likely produce poor performance, especially on mobile devices. The problem is even worse if the text object is large. Text rendering is very fast as long as the object is not changing, but upon changing the object must do a relatively expensive redraw of the text and replacement of the cached texture. Try to use small Text objects that do not change regularly. If you must change text regularly, consider using a Sprite Font instead, which is fast even when it changes every tick.
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Sun Sep 14, 2014 8:55 am

spacedoubt wrote:From the "Performance Tips" section of the manual:

Changing Text objects every tick
Change the size or text of a Text object every tick - even just for an animation or transition - will likely produce poor performance, especially on mobile devices. The problem is even worse if the text object is large. Text rendering is very fast as long as the object is not changing, but upon changing the object must do a relatively expensive redraw of the text and replacement of the cached texture. Try to use small Text objects that do not change regularly. If you must change text regularly, consider using a Sprite Font instead, which is fast even when it changes every tick.


I see. Thanks.
B
14
S
3
Posts: 123
Reputation: 1,571


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, tarek2 and 54 guests