Serious performance issue in editor

Get help using Construct 2

Post » Tue Nov 04, 2014 4:29 pm

Hi there.

I have a project with 180 levels (different layouts) using 1 main event sheet.
Whenever I want to edit event sheet, add something or even if I just open it C2 will freeze for ~10 seconds making it unusable.

I have been trying few things even creating version of game with just 20 levels and everything works alright. Is any way to go around this limitation? Maybe creating 180 event sheets with only "include main event sheet" in them?
B
10
S
1
Posts: 56
Reputation: 654

Post » Tue Nov 04, 2014 4:48 pm

Have you tried unticking the Preference option in Misc called cache icons?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,557
Reputation: 60,458

Post » Tue Nov 04, 2014 4:52 pm

zenox98 wrote:Have you tried unticking the Preference option in Misc called cache icons?


Done that, no change.

It seems issue appears only when I want to access main event sheet. Everything else is working lightning fast when I close that event sheet.
B
10
S
1
Posts: 56
Reputation: 654

Post » Tue Nov 04, 2014 4:55 pm

How many events?

It would make updating / amending much easier if your event sheet was split into relevant sheets - animation, collision, globals etc - and these jst included into main. That way, you cane alter just the section you want without having to trawl through reams of events.

Just a suggestion.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,557
Reputation: 60,458

Post » Tue Nov 04, 2014 4:58 pm

Its just ~80 events. Many of them are disabled anyways.
They are grouped nicely. This event sheet is just basic mechanics of the game - movement etc.
Nothing overblown imo.
I cant say this is biggest event sheet I used, its regular by my standards but first time I have this issue (also first time I have 180 levels in a game though).
B
10
S
1
Posts: 56
Reputation: 654

Post » Tue Nov 04, 2014 10:33 pm

Can you send your project to [email protected]scirra.com so I can profile it and see if there's something slow in the editor? It would be a great help if you could remove any third party plugins before doing so, and provide instructions on exactly what to do to see the problem.

BTW it might help to create a folder-based project, delete all the .uistate.xml files, and try loading again.
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155

Post » Wed Nov 05, 2014 12:27 pm

Hi Ashley, I will clean it up and will send you example today then.

Thanks for answer :)
B
10
S
1
Posts: 56
Reputation: 654

Post » Fri Nov 07, 2014 4:09 am

Ashley wrote:Can you send your project to [email protected] so I can profile it and see if there's something slow in the editor? It would be a great help if you could remove any third party plugins before doing so, and provide instructions on exactly what to do to see the problem.

BTW it might help to create a folder-based project, delete all the .uistate.xml files, and try loading again.



Email sent, I will be waiting for updates!
B
10
S
1
Posts: 56
Reputation: 654

Post » Fri Nov 07, 2014 6:04 am

I have noticed this to.

I 'think' its when your using an event sheet which is included by lots of layouts, i'm guessing the layouts have to be stored in memory or something.

My work around with this is to take parts of the code from the main event sheet, and spread them into separate events sheets, and include them in the main event sheet.

So you only have to worry about lag when you want to include a new event sheet.

Best wishes,
Tom
B
10
S
2
G
1
Posts: 92
Reputation: 926

Post » Fri Nov 07, 2014 1:42 pm

tomsstudio wrote:I have noticed this to.

I 'think' its when your using an event sheet which is included by lots of layouts, i'm guessing the layouts have to be stored in memory or something.

My work around with this is to take parts of the code from the main event sheet, and spread them into separate events sheets, and include them in the main event sheet.

So you only have to worry about lag when you want to include a new event sheet.

Best wishes,
Tom



I have been able to do some quick fix also, but it is not working for me since it makes everything few times longer unfortunatelly.
I have moved all layouts to dummy event sheet and keep only few for testing with original sheet.

I am tracking performance of my laptop all the time and CPU used by C2 is not bigger than 1%, disc usage not bigger than 2-3%, ram usage around 5%, GPU not even close to lag, yet this is the numbers I see when slow down occurs. Very strange imo.
B
10
S
1
Posts: 56
Reputation: 654

Next

Return to How do I....?

Who is online

Users browsing this forum: corporatedrone and 25 guests