oler

Members
  • Content Count

    36
  • Joined

  • Last visited

  1. Dear community, I would like to introduce you all to KittieFIGHT; our game built with pixiejs and spine. Its a blockchain game that uses the Ethereum platform and kittens from CryptoKitties collectible platform. In KittieFIGHT you can fight your collectible cryptoKitties win tokens & ETH. Yes you win cash for scheduling and fighting cryptoKitties collectibles. Then you buy more cute furry #cryptokitties NFT with the cash you earned. Our website : https://www.kittiefight.io Follow us on twitter : https://twitter.com/kittiefightHQ Follow us on Reddit : https://www.reddit.com/r/kittiefight Blog : https://blog.superdao.io/
  2. Dear community, I would like to introduce you all to KittieFIGHT; our game built with pixiejs and spine. Its a blockchain game that uses the Ethereum platform and kittens from CryptoKitties collectible platform. In KittieFIGHT you can fight your collectible cryptoKitties win tokens & ETH. Yes you win cash for scheduling and fighting cryptoKitties collectibles. Then you buy more cute furry #cryptokitties NFT with the cash you earned. Our website : https://www.kittiefight.io Follow us on twitter : https://twitter.com/kittiefightHQ Follow us on Reddit : https://www.reddit.com/r/kittiefight Blog : https://blog.superdao.io/
  3. Hey yes..I have opened to examine...nothing weird but all the json is on one line. Line 1
  4. like this : {,…} animations:{,…} bones:[{name: "root"}, {name: "cont", parent: "root", x: -1132.31, y: -831.67},…] events:{plate-popup-sound: {}} ik:[{name: "left-bridge", order: 1, bones: ["bridge-left", "bridge-left2"], target: "left-bridge",…},…] skeleton:{hash: "oPv7d0JDjqC0QJ3N3tkRCntQgH8", spine: "3.6.53", width: 2302, height: 1690, images: "./images/"} skins:{default: {arena: {arena: {x: 1165.04, y: 674.25, width: 1282, height: 1002}},…}} slots:[{name: "background", bone: "cont", attachment: "background"},…]
  5. Here are the json contents : {,…} animations : {,…} bones : [{name: "root"}, {name: "cont", parent: "root", x: -1132.31, y: -831.67},…] events : {plate-popup-sound: {}} ik : [{name: "left-bridge", order: 1, bones: ["bridge-left", "bridge-left2"], target: "left-bridge",…},…] skeleton : {hash: "oPv7d0JDjqC0QJ3N3tkRCntQgH8", spine: "3.6.53", width: 2302, height: 1690, images: "./images/"} skins : {default: {arena: {arena: {x: 1165.04, y: 674.25, width: 1282, height: 1002}},…}} slots : [{name: "background", bone: "cont", attachment: "background"},…] Guys please help
  6. seems there is an issue with pixi ? : "Error: Error trying to parse loaded json: SyntaxError: Unexpected token s in JSON at position 1 at Resource.abort (http://127.0.0.1:8887/js/pixi/pixi.js:5452:22) at Resource._xhrOnLoad (http://127.0.0.1:8887/js/pixi/pixi.js:5845:30)"
  7. i used "indexOf" works now. results : res: Resource_boundComplete: ()_boundOnError: ()_boundOnProgress: ()_boundXdrOnTimeout: ()_boundXhrOnAbort: ()_boundXhrOnError: ()_boundXhrOnLoad: ()_dequeue: onceWrapper()_flags: 2_onLoadBinding: nullchildren: Array[0]crossOrigin: ""data: nullerror: Error: Error trying to parse loaded json: SyntaxError: Unexpected token s in JSON at position 1 at Resource.abort (http://127.0.0.1:8887/js/pixi/pixi.js:5452:22) at Resource._xhrOnLoad (http://127.0.0.1:8887/js/pixi/pixi.js:5845:30)extension: "json"isAudio: (...)isComplete: (...)isDataUrl: (...)isImage: (...)isJson: (...)isLoading: (...)isVideo: (...)isXml: (...)loadType: 1metadata: Objectname: "main"onAfterMiddleware: MiniSignalonComplete: MiniSignalonProgress: MiniSignalonStart: MiniSignalprogressChunk: 100type: 0url: "required/assets/scenes/arena/skeleton.json"xhr: XMLHttpRequestxhrType: "json"__proto__: Object index.js:28 res: Object The "/" was just me messing around with impossible file paths just to confirm i am not crazy. I have moved it back to correct path : required/assets...
  8. initially got : Uncaught TypeError: res.extension.contains is not a function at loader.onProgress.add (index.js:18) at MiniSignal.dispatch (pixi.js:1411) at pixi.js:5032 at next (pixi.js:6249) at Loader.atlasParser (pixi-spine.js:6647) at pixi.js:5027 at pixi.js:6257 this is the result after commenting out : if(res.extension.contains("json")){ . : res: Resource {_flags: 2, name: "main", url: "/required/assets/scenes/arena/skeleton.json", extension: "json", data: null…} index.js:19 res.spineData: undefined index.js:28 res: Object {main: Resource}
  9. No problems with cross-origin at all, the json loads fine. I am using chrome server plugin
  10. Hey there, thank you for your response. Only skeleton.json is loaded in the network tab....the atlas and png objects/files are non-existent in browser
  11. Please where is this supposed to go in my sample code structure?