Hey !
I dont want a call from javascript to look for my "sprites.json", so I thought that I put the json within the js
and then tell the loader it should read from there. Like that:
let json = { ....... }
PIXI.loader
.add(json)
.load(setup);
But its not working that way. Can anyone help me ?
↧
Loader add json manually without reference to file
↧