A way to get an image from a URL on PlayN

I make the game that part of the service where users can register avatars. The problem is that the playn api does not have any downloadable image from the URL function (or maybe I'm a little blind).

Did I miss some important part of the API ??? This function was not supposed to be in PlayN.graphics() ??

+6
source share
1 answer

After talking with one of the PlayN authors, I found that this feature exists in the current version of PlayN version 1.5-SNAPSHOT (but not in the current version 1.4). It is called PlayN.assets (). GetRemoteImage (String url) The current Google Code repository is outdated (it merges with Michael from time to time), so you need to create a snapshot from this repo → https://github.com/threerings/playn

+3
source

Source: https://habr.com/ru/post/927864/


All Articles