Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


ozgun last won the day on November 1 2020

ozgun had the most liked content!

About ozgun

  • Rank

Contact Methods

  • Website URL
  • Twitter

Recent Profile Visitors

661 profile views
  1. Ohh thank you @ivan.popelyshev
  2. Our Game is RPS Exclusive Html5 Game is published. https://www.happykidgames.com/game/rock-paper-scissors-exclusive
  3. Hello, I want to slice an loaded image with pixijs. I guess, i need a bitmapdata for this. Can you direct me to do this? Here is a simple example;
  4. Is there no possibilities to make this?
  5. Sorry, forget to use resources-loader. Now i've used but at this time loader.resources['image'] doesnt have a texture property =(
  6. Ok but loader.resources['image'] doesn't have an onComplete method ?
  7. NO it is not working. this.loader = new PIXI.Loader(); this.loader.add("image","http://www.happykidgames.com/assets/blogImages/14.jpg", {crossOrigin:""}); this.loader.load(() => { }).onComplete.add((loader, resources) => { this.image = new PIXI.Sprite(resources.image.texture); console.log(resources.image.texture) console.log("das") this.addChild(this.image); }) It now gives this error:
  8. Problem is in the ScratchArea.ts file
  9. But the testure is returning undefined in console this.image = new PIXI.Sprite(PIXI.Loader.shared.resources["image"].texture);
  10. When i try this the texture is coming as undefined: const s = PIXI.Loader.shared.add("image","http://www.happykidgames.com/assets/blogImages/14.jpg", {crossOrigin:""}); //PIXI.Loader.shared.baseUrl = "http://www.happykidgames.com"; s.load(() => { this.image = new PIXI.Sprite(PIXI.Loader.shared.resources["image"].texture); console.log(PIXI.Loader.shared.resources["image"].texture) this.addChild(this.image); })
  11. Also I'm tring something like this : const s = ScenesManager.app.loader.add("image1","http://www.happykidgames.com/assets/blogImages/14.jpg", {crossOrigin:""}); // PIXI.Loader.shared.baseUrl = "http://www.happykidgames.com"; s.load(() => { console.log("loaded") this.image = PIXI.Sprite.from(ScenesManager.app.loader.resources["image1"].texture); this.addChild(this.image); }) but it gives me this error: Uncaught TypeError: Cannot read property '_batchEnabled' of null at BatchPlugin.AbstractBatchRenderer.buildTexturesAn
  • Create New...