Data URI Formatting

Get help using Construct 2

Post » Thu Feb 21, 2013 1:19 am

Greetings!

So I haven't been able to find any help on this one, and the stuff on the internet doesn't seem to work when used in Construct 2.

I have several images that are loaded during the game depending on the user choice via an option system. I can get any image to load via input in a textbox or listbox, which is great, but that's only when I have the images loaded in as project files.

I'd like to have these images in an external folder, a sub-folder of the game, to allow easy updating without having to update the whole game. I have an easy system setup to load these images by I can't seem to figure out how to format a data URI to fetch images from a sub-folder.

I don't need any encoding or anything, unless it's mandatory; I'd like a simple format to grab the images.

Thanks for any help!
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Thu Feb 21, 2013 2:57 am

I also tried using the file URL format and that didn't work, either. I'm not even sure if this functionality is supported in Construct!

Anyone know if it's even possible to grab an image file (or any other file, like a JSON) from a sub-folder or the game directory?
B
16
S
6
G
2
Posts: 152
Reputation: 3,764


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests