Can GE Access images from a URL?

You must understand the Game Editor concepts, before post here.

Can GE Access images from a URL?

Postby zichemak » Sun May 05, 2013 9:01 pm

Is it possible to do either of these things in GE at run-time - if so how:

1. Save a remote image file to disc addressed by a URL
2. Display a remote file addressed by a URL to a canvas?
zichemak
 
Posts: 10
Joined: Mon Apr 29, 2013 6:34 pm
Score: 0 Give a positive score

Re: Can GE Access images from a URL?

Postby skydereign » Mon May 06, 2013 2:20 am

zichemak wrote:Is it possible to do either of these things in GE at run-time - if so how:

1. Save a remote image file to disc addressed by a URL
2. Display a remote file addressed by a URL to a canvas?

No, not in gE. The only url supported action in gE is openUrl, which opens up a url in the default browser.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Can GE Access images from a URL?

Postby zichemak » Mon May 06, 2013 9:22 am

Is it not even possible to write your own custom code using cURL for instance to do this?
zichemak
 
Posts: 10
Joined: Mon Apr 29, 2013 6:34 pm
Score: 0 Give a positive score

Re: Can GE Access images from a URL?

Postby skydereign » Wed May 08, 2013 7:15 pm

You could writ e your own, the problem is that gE can't run it in any way. Therefore you would have to make a custom exe to run both the game and your custom code. The game can create files, and pass information to your image getter through, so theoretically it is possible.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron