[SOLVED] Draw calls can skyrocket when zooming, crashing...

Discussion and feedback on Construct 2

Post » Thu Aug 06, 2015 7:19 pm

sqiddster wrote:I figured it out!

It's the *text*!

Apparently if you zoom in too much when some text is on a zooming layer, the draw calls go absolutely bananas, and the browser will eventually crash! How nobody has run into this issue, I'll never know.
Thankfully I've been able to replicate it in a blank project and I'll be submitting a bug report.

Thanks for the suggestions everyone!

Edit: Here's a link to the bug report.


Interestingly, I would guess the same thing would happen if C2 could render vectoriel files, as the texture will increase in size and be processed each time in that too. (Kind of offtopic but still)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Fri Aug 07, 2015 1:55 am

@sqiddster

Glad you figured it out...but are you talking about spritefonts, or actual text objects?
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Fri Aug 07, 2015 1:59 am

@TiAm actual text objects.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Fri Aug 07, 2015 4:10 am

ahh yes Ashley warned against using Text objects when they are moving...apparently they create a tremendous overhead.

Glad you figured it out..
B
97
S
32
G
16
Posts: 1,199
Reputation: 16,680

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Artpunk and 4 guests