Black screen with array.

Get help using Construct 2

Post » Mon Oct 28, 2013 7:48 pm

Hi all

Can someone have a quick look at this and tell me what I'm doing wrong please, I am trying to compare the cells in the array after I have finished creating the sprites for the array, but all I get is a black screen.

https://dl.dropboxusercontent.com/u/57137706/arraytest.capx

Many thanks
B
25
S
161
G
3
Posts: 51
Reputation: 18,702

Post » Mon Oct 28, 2013 9:00 pm

You are actually not getting a black screen per say...

Your problem is that you have quite a lot of nested loops in your code.

I tried using toogle disabled on different sections of your code.



The areas where the PC really start to do a lot of work is in section 1 in the screenshot above. And it goes beyond what I wanted to wait for at least when you enable the section 2 in the screenshot above.

Its is a matter of looking at how many times you go through the array, and in the end of your nesting you are running through the array quite a lot of times.
B
20
S
6
G
4
Posts: 347
Reputation: 4,451


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, cb130felix, Kermad, nyuszi008, yiuyiu6666 and 6 guests