Export exactly like in Preview...

Discussion and feedback on Construct 2

Post » Sun Oct 28, 2012 5:33 pm

Hi there,

how can i Export my HTML5 Project exactly like in the Preview Mode (with the Border etc..)

KMag
B
13
S
4
G
3
Posts: 120
Reputation: 3,456

Post » Sun Oct 28, 2012 6:41 pm

Just apply the same CSS styles the preview uses - I think there's just a border with a radius as well.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Sun Oct 28, 2012 7:10 pm

@Ashley

thank's for the fast answer - where can i find the css-export Settings?

KMag
B
13
S
4
G
3
Posts: 120
Reputation: 3,456

Post » Mon Oct 29, 2012 2:34 pm

Just view the source in preview, or use Chrome's developer tools to see how it's put together.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Tue Oct 30, 2012 12:15 am

Out of curiosity, what makes the Preview build "worse" than the Export build? (I know I read in the Manual to avoid using the Preview build as your final build.)
B
18
S
6
G
2
Posts: 22
Reputation: 2,339

Post » Tue Oct 30, 2012 1:58 pm

@akaButters - it includes various checks and logging to help with development, which are removed when exporting. This also helps exported projects run faster after export. Also the HTML for exported projects is different, so it won't actually work to use the preview HTML for publishing.Ashley2012-10-30 13:59:57
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Wed Oct 31, 2012 3:17 am

Thanks for the great info. Much appreciated.
B
18
S
6
G
2
Posts: 22
Reputation: 2,339


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests