Worried about increasing preview times.

Discussion and feedback on Construct 2

Post » Wed Jun 10, 2015 9:04 pm

From what I understand, it is what is on desktop (veiwable) so shouldn't be a problem.
They don't show all 100,000 frames at once :)
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 » Wed Jun 10, 2015 9:27 pm

That's good. A typical animation in this type of game might have 30 frames, and that's for each direction. With 8 directions, that's about 240 frames for one animation. The main character is going to have probably going to end up with just under 2,000 frames. The enemies won't have as many because they won't be able to do as much, but still a bit. Then, factor in an extensive HUD and environment graphics, this is why I start get worried when I hear anything about limits.

But if it's like you say, then it shouldn't be an issue. Each layout is only going to have the character plus 1 to 3 enemies since I'm going with smaller levels (each room will have doors and lead to other rooms on a separate layout). All in all, probably 50 to 100 rooms altogether when I get done. I'm building a full castle.
B
79
S
30
G
35
Posts: 340
Reputation: 22,996

Post » Fri Jun 12, 2015 11:25 pm

Was snooping around temp files in appdata\local\mygame and noticed that there are thousands of 1-150kb files being created in \cache each time I preview. One file per image frame, it seems. That...doesn't sound good...? On my SSD too...great.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sat Jun 20, 2015 5:25 pm

Well, I finally broke down and made a second version of my project that has minimal animation frames. I also deleted some objects that probably won't be in the full game. I got the preview times under 10 seconds.

The downside is that I can no longer enjoy full animations, so there will still be things I want to use my full project for.

As my main project goes on, there will be more animations and level graphics. I figure load times will easily get over a minute.

So, having a second version that can load fast will help for testing or tweaking. On the other hand, it means I have to copy things back and forth, and keep both up to date.
B
79
S
30
G
35
Posts: 340
Reputation: 22,996

Post » Sat Jun 20, 2015 5:47 pm

@Tokinsom

With modern SSD's the support hardware will likely give out before the flash cells will, unless you are running a server on them. ;)

@DrewMelton

If what Tokinsom is saying is true -- and why wouldn't it be -- then previewing to an ssd would speed things up immensely. Probably in the range of a 6-8x improvement.

SSD's can read/write small files extremely fast; that's their biggest advantage over traditional hdd's, and why programs and OS's start so fast on them.

@Ashley

Would there be any way of adding a feature where we could specify where preview files are generated? That way users with their OS on a HDD could preview to an SSD without having to migrate their whole OS.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Sat Jun 20, 2015 6:52 pm

@TiAm - you'd be crazy to have a HDD and SSD and not put the OS on the SSD.
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,681

Post » Sat Jun 20, 2015 7:59 pm

@Ashley

Agreed. I guess it's what you'd call an 'edge case'. ;)
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Sun Jun 21, 2015 3:16 pm

Ashley wrote:@TiAm - you'd be crazy to have a HDD and SSD and not put the OS on the SSD.


People actually do that ?!??? Wouldn't that be similar to owning a car and a truck, but using the car to move all your furniture?
B
44
S
18
G
8
Posts: 501
Reputation: 8,472

Post » Mon Jun 22, 2015 2:26 am

@humanscape no its really better to have TWO ssds; one for the OS and one for everything else :)
B
40
S
12
G
1
Posts: 533
Reputation: 4,149

Post » Mon Jun 22, 2015 10:08 am

humanescape wrote:People actually do that ?!??? Wouldn't that be similar to owning a car and a truck, but using the car to move all your furniture?

Ha, nice analogy :)
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,681

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Tombas and 13 guests