[request] Export events only, without images.

Discussion and feedback on Construct 2

Post » Fri Aug 15, 2014 12:35 am

@Ashley could you add an option to export only events/logic without exporting/recompressing images?

I have a small project - 17 events only, but quite few small and medium sized sprites.
Every time when I press export it takes about 30-35 seconds to finish, due to recompression and sprite-sheeting of all objects.
All I do is changing and modifying events without touching any of sprite images or even opening image editor - and every time after export, Images folder looks the same.

I'm optimizing, testing and debugging in XDK and long exports really slows down this process.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,598
Reputation: 34,823

Post » Fri Aug 15, 2014 12:41 pm

If you skip PNG recompression isn't it a near-instant export?
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Fri Aug 15, 2014 1:15 pm

Ashley wrote:If you skip PNG recompression isn't it a near-instant export?


I think the idea is to not reexport the images but keeping the already compressed ones obtained inna previous export

Unless skip png compression checks the already present images sizes before replacing them?
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Fri Aug 15, 2014 1:25 pm

Without PNG recompression it basically spritesheets (should be 1-2 seconds) then copies files out (should be another 1-2 seconds). About 95% of export time of most projects is PNG recompression, which despite being processed by all available CPU cores can take several seconds per image.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Fri Aug 15, 2014 2:00 pm

Ashley wrote:If you skip PNG recompression isn't it a near-instant export?


It's a bit faster but still takes about 10-15 seconds and still exports all of the images - no compression = bigger in size.
Been observing folders I'm exporting to and most of this time goes to sprite sheeting animation frames.
I'm using raw and not yet optimized images, so they are 512x256 with a lot of opacity around. But i believe this will be a final image size, only content will differ.


8 of this images
bg_close-sheet1.png


are made into something like this
bg_close-sheet0.png



@Aphrodite
Yes, that's what I ask for.
"Skip png compression" still export images.
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,598
Reputation: 34,823

Post » Fri Aug 15, 2014 3:23 pm

Why do you need to keep exporting anyway? It's intended that preview mode covers your everyday work and test cycle. Is there a problem using the Crosswalk test apps?
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Fri Aug 15, 2014 6:30 pm

Ashley wrote:Why do you need to keep exporting anyway? It's intended that preview mode covers your everyday work and test cycle. Is there a problem using the Crosswalk test apps?


I don't have an access to wi-fi and only thing I can do to test on mobile is:
- build in XDK and wait 10-20 minutes (upload, build, download) each time
- connect my phone via USB and test it using XDK test/debug options - which takes only export time of waiting.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,598
Reputation: 34,823


Return to Construct 2 General

Who is online

Users browsing this forum: BackendFreak, Rastacity and 5 guests