Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / HTML5 Export - Images fail to display due to filename case sensitivity.

Author
Message
yoda333
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location:
Posted: 10th May 2019 10:23
Hi - Just thought i would share this.

I've noticed that when developing on the imac - that if you load a sprite using the command loadimage(100,"AH.jpg") (ie - Upper Case AH in jpg) and the image in the media folder is named ah.jpg (ie - Lower Case ah in jpg)
that the application will still compile on the imac and the images will display OK in the app.

If the app is exported as HTML5 - the images will not display ok, ie a Black and White image with a red cross in it is displayed.

One to keep in mind. Beware the case sensitivity in the loadimage command and in the filename of the sprite - when exporting in HTML5

Cheers
yoda333


Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 17th May 2019 02:53
I think its this way for Android, too.

Login to post a reply

Server time is: 2024-11-22 21:43:40
Your offset time is: 2024-11-22 21:43:40