How do I use File chooser and URL?

Get help using Construct 2

Post » Wed Aug 27, 2014 6:20 pm

So, some time ago, file chooser was added. What i want to do is that when you load an image, a sprite changes to the image.
It needs to load the image from an URL, but i don't have any idea what i'm supposed to do there :( Also, how to get an URL of a picture on the Web, whatever i try, it doesn't work. I've waited far more than enough for the picture to load. Anyone can help?
B
3
Posts: 4
Reputation: 337

Post » Wed Aug 27, 2014 10:54 pm

Loading the image from the web requires that the server of the picture authorize it

However, I think the filechooser.FileURLAt(index) could be used in the load from url.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Fri Aug 29, 2014 11:04 am

Thanks :)
The authorization probably was my problem.
B
3
Posts: 4
Reputation: 337


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests