C2 and jpegs

Discussion and feedback on Construct 2

Post » Sat Jun 11, 2011 2:06 am

I just realized that if C2 is going to be making web games/web sites, the ability to use jpegs for backgrounds and such is important to reduce file size and page loading times. Hopefully C2 will have some way to use both jpgs and pngs? Or does HTML5 canvas require everything be png?
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Sat Jun 11, 2011 11:36 am

Canvas can do JPEG. I'll add it to my todo list. They would just be converted to JPEG on export - in the project they'd still be PNG, because they're lossless. (You don't want the quality to degrade every time you click 'Edit'!)
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Sat Jun 11, 2011 12:04 pm

Unless you load images from external sources, such as huge backgrounds for "dat parallax".
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Wed Oct 19, 2011 9:55 pm

Hi

I see that the blurred background image i use is 25 kb
but in the project its now 144 kb

guees it could be real nice using jpeg too


cheers

B
23
S
12
G
10
Posts: 323
Reputation: 7,382


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests