How do I Load image from project files into sprite?

Get help using Construct 2

Post » Sun Jan 08, 2017 1:56 pm

I just cannot get this to work.
I have setup like this in Construct 2:
Image

If I test this in Construct 2 it works as excpected. The picture loads and replaces the green sprite.
If I then export this and import this into Intel XDK it won't load the image as excpected if I preview it over Wifi. Have also tried to generate APK and install it. Still the same issue. Is this a bug or am I using this all wrong?

Please help me :-)
B
3
Posts: 9
Reputation: 193

Post » Sun Jan 08, 2017 8:54 pm

I have no experience with Intel XDK, but you could try to replace the space between Alfa and Romeo with a dash or something else.

Some programs don't handle spaces in filenames very well...
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Mon Jan 16, 2017 9:45 pm

Thanks for the suggestion. Did not help. I ended up uploading the pictures to a webserver and using http url to get the pictures. Strange that it is not possible to use project files.... Could be a bug.
B
3
Posts: 9
Reputation: 193


Return to How do I....?

Who is online

Users browsing this forum: fearfulelephants and 21 guests