Jump to content

Search the Community

Showing results for tags 'pixijs v4'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 4 results

  1. Hello guys, I have a bug that has been bothering me for a week. On ios14+, WebGL is totally crashing and losing context. There is a runtime error WEBGL_context_lost or something, but only after I refresh the safari browser. Even browser refresh doesn't fix the context immediately. I have implemented a swipe functionality with pixi v4.8.8 and the bug occurs when I start swiping rapidly between pages for a minute or two. After a while the game just freezes. The way I implemented the logic is on every swipe I do removeChild then addChild to 10-12 DisplayObjects. Basically I remove old Sprites and then create new ones on every swipe. There is no Heap memory leak. The only thing I can think of is if there is a GPU memory leak somehow, but I think PIXI should be able to handle simple adding and removing sprites. Any ideas what causes that issue?
  2. I created a simple particle class to use in the space shooter I'm working on. It's a 105-line class available for elementary particle effects, though it can't do everything an advanced widget library does. You can download from gitlab or below and use it in all your hobby and commercial projects. Cheers. https://gitlab.com/bihenaso_games/shittypixiparticle/-/blob/master/static/libs/shitty-pixi-particle.js The test video is in the link below. shitty-pixi-particle.js
  3. Hi , question about GC or how i can clean canvas2d object after use method generateCanvasTexture game use PIXI.WebGLRenderer - only PixiJs version 4.8.2 (this my pain, but i can`t up pixijs to v5) on class this.data:PIXI.Graphics this.view:PIXI.Sprite .... on sometimes i need redraw data on view this.texture =this.data.generateCanvasTexture(PIXI.SCALE_MODES.LINEAR,1); this.view.texture = this.texture; on next time try to clean this.texture, remove from PIXI.Texture.removeFromCache this.texture .destroy(true); delete this.texture ; but debug console in Safari (tab Canvas) show all Canvas wich created on method generateCanvasTexture, but they never destroyed on memory How i can do clean up memory on it?
  4. Guys, how can i move a container smoothly. i had tried to move it with TweenMax, but unsatisfied . here is a part of my codes for reading(without TweenMax). forwardButton .on("touchstart", e => { let arg = 10, move = 0; this.timer = setInterval(() => { this.scenesStage.x += arg }, 200); }) .on("touchend", e => { clearInterval(this.timer); }) And here is the codes (with TweenMax) forwardButton .on("touchstart", e => { let arg = 10, move = 0; this.timer = setInterval(() => { TweenMax.to(this.scenesStage,1,{x: `+=${-(arg + 40)}`}) }, 200); }) .on("touchend", e => { clearInterval(this.timer); }) to hope your help.
×
×
  • Create New...