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.

Android / My Images Are Missing

Author
Message
Mr_Tickleishxxx
User Offline
Joined: 26th Mar 2018
Location:
Posted: 26th Mar 2018 18:33
Ok, so I've been doing this since Saturday lol

I've managed to write a little invaders clone, which actually works and has made me buy the full version so I can export it as an .apk

I can install it on my tablet no problem, but when i try and run it the files i used for images are missing? Do i need to embed the image files or something?

Scene Commander
Support Manager
10
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 26th Mar 2018 18:42
Android images paths are case sensitive, so the chances are that's the problem. Make sure that the image name matches the case.

E.g.

If the image was called "Invaders.png" you wouild need to loadimage("Invaders.png")

Hope that helps,

SC
https://twitter.com/JimjamsGames?lang=en&lang=en
Mr_Tickleishxxx
User Offline
Joined: 26th Mar 2018
Location:
Posted: 26th Mar 2018 18:57
No i'd already done that..

lol, this might be a really stupid question, but do I need to copy the images over to my tablet or should they be included in the .apk file?

lol, I've had the full version of the software for like an hour
Mr_Tickleishxxx
User Offline
Joined: 26th Mar 2018
Location:
Posted: 26th Mar 2018 19:35
No

maybe I got the paths wrong?

I'm presuming the .png files are included with in the .apk file?
Mr_Tickleishxxx
User Offline
Joined: 26th Mar 2018
Location:
Posted: 26th Mar 2018 19:49
Lol, Don't worry I sorted it... erm didn't realise the .png files have to be in the media folder lol so excited!!

Login to post a reply

Server time is: 2018-08-15 02:34:25
Your offset time is: 2018-08-15 02:34:25