Help With Cocoon Performance Issues

Get help using Construct 2

Post » Mon Nov 04, 2013 10:09 pm

[QUOTE=Knifegrinder] [QUOTE=AnthonyB28]
That is weird. Why do these kill performance? They're text. I mean, I can see why changing them every second and such does. But in this case I made it so they weren't.[/QUOTE]

Because you were changing them every tick (Event 46 of the older capx -> random color) forcing a wasteful rerender.[/QUOTE]

No even without that.

If I just had the text, and didn't have the colors changing, it would still be weird. But now that I use the spritefont, its all better.

Is there anyway around the changing colors thing do you know? I still would like that. As silly as it is, it makes it all the more fun haha
B
10
S
3
G
3
Posts: 47
Reputation: 2,666

Post » Mon Nov 04, 2013 10:25 pm

[QUOTE=AnthonyB28]
If I just had the text, and didn't have the colors changing, it would still be weird. But now that I use the spritefont, its all better.
[/QUOTE]

Maybe it was the easetween behaviour that for some obscure reason interfered with the rendering... It's hard to say.
All I know is that CocoonJS + Text objects is a no-no combination.

[QUOTE=AnthonyB28]
Is there anyway around the changing colors thing do you know?
[/QUOTE]

Now that you got rid of text objects you may re enable WebGL and play with the tint shader.
B
11
S
3
Posts: 224
Reputation: 2,028

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests