I'm making a game that's part of a service where users can register avatars. The problem is that the playn api doesn't seems to have any load image from URL function (or maybe I'm kinda blind).

Am I missing some important part of the API??? Wasn't supposed this function to be in PlayN.graphics()??

有帮助吗?

解决方案

After talking with one of the PlayN authors, I discovered that this function exists in the current 1.5-SNAPSHOT version of PlayN (but not in the current 1.4 release). It's called PlayN.assets().getRemoteImage(String url) The current Google Code repository is out of date (it is merged from times to times by Michael) so you need to build the snapshot from this repo -> https://github.com/threerings/playn

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top