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.

Newcomers AppGameKit Corner / [SOLVED] Sprites show up as 'error' images when broadcasting to mobile

Author
Message
Yeet
User Offline
Joined: 9th Jul 2019
Location:
Posted: 6th Sep 2019 14:51
This post has been marked by the post author as the answer.
All of the sprites show up completely fine on my PC, however the vast majority of them come up with error images in their place.

I have A LOT of static sprites, hence have used a for loop to position and create them, saving me from having to manually type out CreateSprite 100 times.

So, I'm puzzled because as reiterated before the sprites load fine on my PC, but not on mobile. Why is this?

Just to make sure everyone knows, I'm not very experienced. Any help is appreciated! Thanks.

The author of this post has marked a post as an answer.

Go to answer

fubarpk
Moderator
14
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 6th Sep 2019 14:56
Android is case sensitive and windows is not which is to say "title.png" is different than "Title.png"
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
Yeet
User Offline
Joined: 9th Jul 2019
Location:
Posted: 6th Sep 2019 16:31
Thank you very much. I was indeed having the problem due to the fact I didn't take into consideration the use of case sensitive letters. All sprites display correctly on mobile now! Thanks again!
fubarpk
Moderator
14
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 8th Sep 2019 03:11
Your welcome Yeet
if you add "#option_explicit" to the top of your code
it will force you to have to declare all variables ie "a as integer"
before you can use them but its a very handy way of tracking
down a variable that isnt returning the value you expect making
it easy to fix a bug
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2019-09-22 18:16:55
Your offset time is: 2019-09-22 18:16:55