Draw calls keep increasing??

Discussion and feedback on Construct 2

Post » Mon Jan 16, 2017 7:47 pm

When I check the profile tab in debug, I notice my draw calls percentage keep increasing. What would cause draw calls to continually increase?
B
48
S
23
G
66
Posts: 1,144
Reputation: 39,059

Post » Mon Jan 16, 2017 7:51 pm

I seem to remember an issue where if you have webgl enabled and you are trying to zoom in on a text object it would cause havoc with the draw calls increasing. I'm not sure if that's the issue you're having or not though.
B
62
S
20
G
56
Posts: 1,077
Reputation: 36,021

Post » Mon Jan 16, 2017 8:02 pm

I managed to isolate the issue.
viewtopic.php?f=151&t=186432
It appears to be related to tilemaps outside layout bounds with sprites overlapping it.
B
48
S
23
G
66
Posts: 1,144
Reputation: 39,059

Post » Mon Jan 16, 2017 8:17 pm

In the capx that you posted in the bug report, the border object is being created an unlimited number of times. Not sure if it's related or not but just a heads up.
B
62
S
20
G
56
Posts: 1,077
Reputation: 36,021

Post » Mon Jan 16, 2017 8:19 pm

oh dang.. thought i had event inside on start of layout
thanks! that fixed the issue :P
B
48
S
23
G
66
Posts: 1,144
Reputation: 39,059

Post » Mon Jan 16, 2017 8:24 pm

You're welcome. Stuff like that is easy to overlook. Glad you got it figured out.
B
62
S
20
G
56
Posts: 1,077
Reputation: 36,021


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests