How do I get images to load from imported files?

Get help using Construct 2

Post » Fri Jan 06, 2017 7:01 pm

Hi.
I am building a quiz game that loads images from the Construct 2 repository.
I have imported all pictures and I use a place-holder sprite that use the Web - load image from url and it works in Construct 2 preview.
I use load image from url and put in the following path: image-01.jpg
(well I do use some variable magic to resolve the 01 number, but that should not matter)

I then export this to Cordova and import it to Intel XDK. When I run simulate inside Intel XDK it works fine. If I however preview it over Wifi from a real phone it does not load the images and only shows the place-holder default image. And I have also tried to publish the APK to Google Play and install it on my device, and the same result. Is there anything I am missing? Do I need a special plugin? Must I load the images from an external web server? Please help!
I have used a lot of time developing this and I am so close to be able to release....

Thanks for any answers.
B
3
Posts: 9
Reputation: 193

Post » Sun Jan 08, 2017 12:42 pm

Do I need to use file:// to load images correctly?
B
3
Posts: 9
Reputation: 193


Return to How do I....?

Who is online

Users browsing this forum: Richterrii, robertg92 and 15 guests