Ianmh Posted August 9, 2017 Share Posted August 9, 2017 So I spent a lot of time figuring out how to load a JSON file with polygon data. It's now working when using PIXI.loader. When I first searched how to load JSON with pixijs I got all kinds of conflicting results. Things like jsonLoader, and other loaders. Are these legacy implementations and is the current loader a more flexible model that can load anything? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 9, 2017 Share Posted August 9, 2017 PIXI uses https://github.com/englercj/resource-loader . Please look at its docs, and use "PIXI.loaders.Loader" class, or just "PIXI.loader" instance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.