Worried about increasing preview times.

Discussion and feedback on Construct 2

Post » Tue Jun 09, 2015 9:42 pm

@Shinkan Our current project (7 sec preview) is a retro game with ~1000 small, cropped sprite frames and ~10 tilemaps/textures. Without audio the approximate download in the editor is 530kb and the animations/textures folders are ~1mb combined.

It's very well optimized. Not sure what else I can say. As I mentioned earlier removing audio / disabling audio pre-load didn't seem to make a difference.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Tue Jun 09, 2015 9:56 pm

"~1000 small, cropped sprite frames" i think that can be an issue here, cause preview do not make any spreadsheeting or whatever, so the engine needs to transfer all of that to the browser (or other platform), but it's just my guess I can be wrong.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,598
Reputation: 34,823

Post » Tue Jun 09, 2015 9:57 pm

@Tokinsom

I skimmed through the post... I did not see this answer but I skimmed fast and might have missed it.

Two things:
1) Is your anti virus turned on? If so try turning it off.

2) Is indexing turned on? If so, try turning it off.

See if that helps. If so, fine tune the indexing and anti virus so they avoid your project files.
B
42
S
18
G
8
Posts: 495
Reputation: 8,410

Post » Tue Jun 09, 2015 10:02 pm

@Ashley

Would "preview without sound/music" mode help? Sometimes I need to check just collisions or animations.
What about "preview low res" mode? In Adobe After Effects, down sampling can be choosed for the preview.
At the quarter resolution setting, the program only renders every fourth pixel, and then scales up the result to fit in the Composition panel. This allows it to build the preview much faster and can be helpful for reviewing complex animations. This lowered resolution is for preview purposes only; it does not affect the final output quality when you output your file.

Don't know if it's possible or how difficult it'd be to add, but that "no sound mode" looks pretty easy.
ImageImage
B
26
S
6
G
8
Posts: 774
Reputation: 6,685

Post » Tue Jun 09, 2015 10:06 pm

My projects are pretty big atm with whole music tracks and I have no experience in long preview loading times. All my games loads in under 5 seconds on all my machines. So I don't think C2 is the main problem.
B
54
S
23
G
12
Posts: 747
Reputation: 11,910

Post » Tue Jun 09, 2015 10:31 pm

Personally, I think it is just an issue with having lots of animations or frames. I didn't notice the project taking that long to preview until I started adding in my full animations. Like I said, I don't even have any sounds yet.
B
75
S
30
G
35
Posts: 340
Reputation: 22,896

Post » Tue Jun 09, 2015 10:46 pm

@DrewMelton Yeah that seems to be the case. It's more about the image count than the image size or audio. This would explain why my old project (using sprite frames acting as tiles) would take so long to preview - it had to load literally thousands each time. And as @Shinkan said, there's no spritesheeting outside of the exported build. It has been mentioned C3 will spritesheet everything so we might just have to wait :T

@HumanEscape I'm using Windows 8.1 which has windows defender. No anti-virus installed at the moment. Never messed with indexing before...I'll take a look.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Wed Jun 10, 2015 7:03 am

@Tokinsom,
Not that I think is an issue for you, but nice to know that windows has a 10,000 object limit. Sounds like a lot, and 10,000 is a lot, but a lot less than you think. Especially when it comes to games. What other applications you got open when you running preview? It all adds up.

But it could be anything really.
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,708

Post » Wed Jun 10, 2015 9:22 am

@DUTOIT 1,000 frames for an entire project is a lot less than it sounds. We use as few as possible - it's supposed to look like an NES game! I think all we can do is wait for C3 where (to my knowledge) sprites will use sheets/atlases instead of 1-file-per-frame.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Wed Jun 10, 2015 8:01 pm

DUTOIT wrote:@Tokinsom,
Not that I think is an issue for you, but nice to know that windows has a 10,000 object limit. Sounds like a lot, and 10,000 is a lot, but a lot less than you think. Especially when it comes to games. What other applications you got open when you running preview? It all adds up.

But it could be anything really.


Does that 10,000 limit include animations as well? If so that's a major bummer.

I mean, look at this interview for Baldur's Gate II

Q: How many frames of animation are there in the game?
A: : At last count there were roughly 108,420 frames of character and monster animations rendered for Baldur's Gate at BioWare for your viewing pleasure. We are adding 171,000 more frames for BGII:SoA. This does not include things like animated water, waving flags or other animated objects of any kind.


And that game came out in 2000. That was 15 years ago.
B
75
S
30
G
35
Posts: 340
Reputation: 22,896

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: KENYONB, mihirolover and 7 guests