Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / loading remote image

Author
Message
dmarques42
6
Years of Service
User Offline
Joined: 25th Sep 2017
Location:
Posted: 25th Sep 2017 22:16
Is there a way in AppGameKit to load a remote (http or https) image into a sprite? My apps have thousands of images that I load at run-time from my server. I don't see how to replicate this in AppGameKit. I also load remote JSON files, but there doesn't seem to be any handling of JSON in the BASIC version of AGK.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 26th Sep 2017 00:31 Edited at: 26th Sep 2017 00:32
Maybe GetHTTPFile()
They just added JSON support in the latest version
dmarques42
6
Years of Service
User Offline
Joined: 25th Sep 2017
Location:
Posted: 26th Sep 2017 10:14
Oops, I should have tried that, obviously. I assumed there would be a directory problem given that LoadImage always goes to 'Media', but it works fine. Thanks.

Good news about JSON, thanks.

Login to post a reply

Server time is: 2024-04-27 04:07:16
Your offset time is: 2024-04-27 04:07:16