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
45
S
21
G
65
Posts: 1,115
Reputation: 38,221

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
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

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
45
S
21
G
65
Posts: 1,115
Reputation: 38,221

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
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

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
45
S
21
G
65
Posts: 1,115
Reputation: 38,221

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
61
S
20
G
56
Posts: 1,077
Reputation: 35,986


Return to Construct 2 General

Who is online

Users browsing this forum: Harolddadev and 5 guests