Event Sheet crashes C2

Discussion and feedback on Construct 2

Post » Sat May 03, 2014 5:33 pm

Every time I go to the event sheet and just click on the screen it freezes and/or crashes. I have a lot of unique sprites and I'm wondering if it's trying to load 'all' of them at the same time or something and then can't handle it. Anyone know what's up or why it could be doing this?
B
6
Posts: 8
Reputation: 273

Post » Sat May 03, 2014 7:55 pm

Would it be possible to share your .capx, to see if it crashes for anyone else?

If not, then start looking at things like memory use (both C2 and system), number of layouts/event sheets open etc and try closing them all. What does C2 say for memory usage?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Post » Sat May 03, 2014 10:33 pm

39.6mb download size and 65.7 memory use. I only had 3 layouts open (about 100 unique layouts in total) and I have just 1 event sheet, period. There's over 3,000 unique sprites. I should be able to reduce the number of unique sprites, but it does triple the number of unique text boxes. I know it would be less memory, but I don't know how much it matters that they're unique objects vs. the size of those unique objects.
B
6
Posts: 8
Reputation: 273

Post » Sun May 04, 2014 7:50 am

On first glance, It doesn't appear to be too heavy.
You don't have overly large background images do you?
How many events is in your Event Sheet?

Have you got access to any other PCs that you can install C2 on and test your game?
If it crashed on any other machine, then it's more than likely that it's something within the game that's causing it.

You would then need to narrow it down by chopping things out and testing (obviously making a backup or three first) until it stops crashing.
Last edited by zenox98 on Sun May 04, 2014 8:06 am, edited 1 time in total.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Post » Sun May 04, 2014 8:01 am

Can you at least edit before it crashes?. Can you load a autosaved/backup copy. Sounds like it might be corrupted.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Sun May 04, 2014 8:05 am

@DUTOIT

Breakpoints probably wouldn't be much use as it's crashing just clicking the event sheet.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Post » Sun May 04, 2014 8:07 am

zenox98 wrote:@DUTOIT

Breakpoints probably wouldn't be much use as it's crashing just clicking the event sheet.


@zenox98 Lol, yip, I completely missed read it, I did re-edit obviously whilst you were typing.

Another issue could be all those text boxes - text boxes are bad :lol: spritefont is good. lol

My best guess, is it is a little bit of a coding mess in there - lol.
3000 unique images - wow.
100 layers.
1 event sheet
and only 39.6mb download size and 65.7 memory use. Scratches head. Hard one to pin point.

1 event sheet is a no no,
You need a main event sheet that includes various sections (that you can then disable for bug testing etc)
You do not have the required permissions to view the files attached to this post.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Sun May 04, 2014 8:26 am

@DUTOIT

Good points and good suggestions, good sir :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Post » Sun May 04, 2014 9:21 am

Umbrellagun wrote: I only had 3 layouts open (about 100 unique layouts in total) and I have just 1 event sheet, period. There's over 3,000 unique sprites.



The eventsheet looks like a good place to start looking for improvements ;)

My guess is your event sheet got a bit long :)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Sun May 04, 2014 9:21 am

@DUTOIT is right! In my experience, having just 1 event sheet containing over 3,000 events caused weird loading delays each time I click on the sheet. Ashley advised me in another topic to split the events into separate sheets and it worked :P
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests