Performance question

Discussion and feedback on Construct 2

Post » Fri Jul 27, 2012 12:50 am

This may be normal behavior or a bug I don't know, but I have an example of a script that generates objects, moves them across the screen and destroys it. I have a counter that counts how many objects there are using .Count.

I would expect that as I destroy the objects the count would be pretty steady. A dozen or so as items are created and killed in equal time roughly.

This example in r99 shows the count just keeps going up and up.

I also have FPS in there and after a few minutes is starts to drop. So something is off.

I have a example here: Examplehttps://www.dropbox.com/s/5nnngag253elxc0/firebellyGame.capx
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Fri Jul 27, 2012 1:11 am

That should be 'X <= LayoutWidth...' not 'X >= LayoutWidth...'.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Fri Jul 27, 2012 1:54 am

*hate my life*
B
30
S
10
G
7
Posts: 416
Reputation: 7,239


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests