Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by flatliner

  1. Yes, but this: let part:PIXI.Sprite = new PIXI.Sprite(tileset.textures!['pink.png']); ... and how could I have missed this feature when studying typescript ... Thank you!
  2. app.loader.add('images/pentamino.json') .load(() => { setup(); }); let tileset = app.loader.resources['images/pentamino.json']; let part:PIXI.Sprite = new PIXI.Sprite(tileset.textures['pink.png']); It generates an error: "Object is possibly 'undefined'" related to PIXI.Sprite() argument tileset.textures['pink.png']. Is it possible to fix this in anyway or better reject typescript to recycled bin?
  3. I cannot delete this stupid topic. I hurried to post before search, sorry. Remove it please.
  4. How can I move some (active) sprite on top? Should I remove it from stage and then add it again or there is an easier way? Thank you.
  5. I did something like this: http://test.pl.ua/pentamino1
  6. Eventually, I need only one solution (if it possible). Using EventEmitter can we use some one object (like stage or canvas) to emit our event to it, and it will propagate this event to all its child objects? Or we need keep array of all objects to emit events for each of them one by one?
  7. EventEmitter can not help on this? PS: I am just trying to implement something like topic starter was. So, I am searching for understandable solution for me. I am not expert in pixi... and in javascript too. I would be nice to show me a small example, how I can do this
  8. What is strange for me to see someone have a problem with chromium. It was working on my desktop and it is still working now. This settings really fix the problem with firefox. Thank you.
  9. I have the same problem with firefox 84.0, pixi 5.2.1 and ubuntu 18.04.5 LTS. It was working during long time and one day it stopped. Change to pixi.js-legacy does not help at all.
  10. Is it possible to use mouse wheel for game object rotation? How can I do this? Thank you.
  11. flatliner


    Hi, I am learning pixijs...
  • Create New...