• Content Count

  • Joined

  • Last visited

About Harryk89

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. thanks, I will go to the official GitHub. I would like to draw your attention to the fact that the `pixi-sound` library blocks loading audio files in PIXI.Loader if don`t use pixi-sound, audio files loads good
  2. pixi-sound don`t work in facebook playable ads but in ironSource all good
  3. Can I draw this line in pixi and animate her? bandicam 2020-07-09 09-28-29-227.mp4
  4. Harryk89

    physics library

    Please tell me, what is the best physics library for Pixi.js or commonly used and do they all work with pixi.js v5?
  5. Harryk89

    resize window

    if i use app.renderer.resize(window.innerWidth, window.innerHeight); get it
  6. Harryk89

    resize window

    Hi! I need help, I need it when the screen is rotated, all the children have kept their size, but the background has been adjusted to the screen size. I have code let app = new PIXI.Application({ width: window.innerWidth, height: window.innerHeight, autoResize: true, resolution: devicePixelRatio }); document.body.appendChild(app.view); function resize() { app.view.style.width = window.innerWidth + 'px'; app.view.style.height = window.innerHeight + 'px'; } window.onresize = resize; The last figure shows what is happening now.
  7. Why not work on my laptop PIXI.RenderTexture, on another computer, the code works fine. The example also does not work on my laptop.
  8. Thanks, did not notice at once this in the examples
  9. Harryk89

    Loader Json

    The problem was in the name of the file (red.atlas.txt), renamed to red.txt and everything started.
  10. HI! I'm only learning PIXI, help is needed. How to implement a similar effect (erasing a picture), as an example https://grnch-net.github.io/. I have two pictures, on each other, I want to gradually erase the top picture with the cursor to see the bottom one.
  11. Harryk89

    Loader Json

    I upload files (red.atlas.txt, red.json, red.png) using PIXI.Loader var spineLoaderOptions = { metadata: { spineAtlasSuffix: '.txt' } }; PIXI.loader .add('character_assets/red.json', spineLoaderOptions) .load(init); but nothing happens, even the error does not give out and does not go into the function init()
  12. Harryk89

    Loader Json

    HI! which boot loader JSON should I use to boot now? And tell me the difference between JsonLoader, SpineLoader and PIXI.Loader
  13. I meant both with pixi-spine.js put in project
  14. To download json, I need to connect some script?
  15. When I load json in loader gives an error message PIXI.loader .add('spineCharacter', 'character_assets/red.json') .load(function (loader, resources) { var animation = new PIXI.spine.Spine(resources.spineCharacter.spineData); self.container.addChild(animation); }); but if I use another method PIXI.loader .add('character_assets/red.json') .load(init); function init() { this.spin = new PIXI.spine.Spine(PIXI.loader.resources['character_assets/red.json'].spineData); this.container.addChild(this.spin); } There is no error, but the screen is just black and nothing is displayed