Jump to content

Harryk89

Members
  • Content Count

    19
  • Joined

  • Last visited

Everything posted by Harryk89

  1. Hi I'm trying to use PixiJS (using pixi 5.3.7) to render things in my browser but I keep getting a very annoying error:
  2. I get this error [.WebGL-0x55e80100]GL ERROR :GL_OUT_OF_MEMORY : glTexImage2D: <- error from previous GL command on my phone, everything is fine on my computer. What could be the reason?. The meaning of the project is that I draw a bizier curve by points, then it moves
  3. 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
  4. pixi-sound don`t work in facebook playable ads but in ironSource all good
  5. Can I draw this line in pixi and animate her? bandicam 2020-07-09 09-28-29-227.mp4
  6. Please tell me, what is the best physics library for Pixi.js or commonly used and do they all work with pixi.js v5?
  7. if i use app.renderer.resize(window.innerWidth, window.innerHeight); get it
  8. 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.
  9. Why not work on my laptop PIXI.RenderTexture, on another computer, the code works fine. The example also does not work on my laptop.
  10. Thanks, did not notice at once this in the examples
  11. Harryk89

    Loader Json

    The problem was in the name of the file (red.atlas.txt), renamed to red.txt and everything started.
  12. 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.
  13. 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()
  14. 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
  15. I meant both with pixi-spine.js put in project
  16. To download json, I need to connect some script?
  17. 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 sc
  18. PIXI.loader.add('character_assets/red.json') when I load json, the application hangs and the black screen
  19. Harryk89

    Connect Spine

    Hi, everebody! Tell me how to connect to pixi.js spine
×
×
  • Create New...