spriter disappear when export to HTML5

Get help using Construct 2

Post » Sun Feb 23, 2014 8:31 am

Hi,

I've completed my game and trying to export it. Everything works this far. When uploaded it to an FTP and trying to play it, my player is invisible!

When I preview it in Construct 2 it works fine. But when exported the player is insivible. I can still control him but not see him! I've done him in spriter and using animations from there.

Has anyone had this problem?

Thanks
B
2
Posts: 14
Reputation: 245

Post » Sun Feb 23, 2014 8:38 am

You will need to set the correct mime types in your webhost.

"When publishing, don't forget your server should serve the .scml file extension with the MIME type text/xml. Some servers return '404 Not Found' for files they don't have a MIME type for, and this will break your Spriter animations."
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Sun Feb 23, 2014 8:50 am

oh thanks!

But what is mime?! and where can I set it?
B
2
Posts: 14
Reputation: 245

Post » Sun Feb 23, 2014 8:55 am

What webhost are you having?
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Sun Feb 23, 2014 8:59 am

A mime type is a configuration entry in your webhost that tells your webserver how to deal with certain extensions.

In your webhosts control panel, there should be a page with MIME type settings.
This generally is a list with extensions and what they are.

You should add:
extension: .scml
type: text/xml
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Sun Feb 23, 2014 9:08 am

im using www.citynetwork.se LINUX/APACHE

Where can i allow SCML on the server?
B
2
Posts: 14
Reputation: 245

Post » Sun Feb 23, 2014 9:10 am

supports MySQL aswell
B
2
Posts: 14
Reputation: 245

Post » Sun Feb 23, 2014 9:11 am

Best way to know is likely to contact your support there.

Just ask them where you can add a mime type. They will know.
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Sun Feb 23, 2014 9:28 am

does it matter that im using wordpress
B
2
Posts: 14
Reputation: 245

Post » Sun Feb 23, 2014 9:33 am

Nope.
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Next

Return to How do I....?

Who is online

Users browsing this forum: Matei511 and 69 guests