Search the Community

Showing results for tags 'pixijs v4'.



More search options

  • 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 Platform
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

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 2 results

  1. 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?
  2. 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.