Jump to content

Search the Community

Showing results for tags 'Triling Path'.

  • 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 1 result

  1. I am porting my game from direct canvas writing to pixi framework. and there I have objects with trailing path effect, I am making this ovewriting on each render step, the whole stage background color and small alpha. I have ported it to pixi this way: var graphics = new PIXI.Graphics(); // draw a circle graphics.beginFill(canvasBg); graphics.drawRect(0, 0, canvasWidth,canvasHeight); stage.addChild(graphics); var animate = function() {.... graphics.beginFill(canvasBg,0.1); graphics.drawRect(0, 0, canvasWidth,canvasHeight); graphics.lineStyle(1,player.color); graphics.drawCircle(player.x, player.y,player.r);.... };But it has the performanse problem: as I understand pixi makes array of all graphics operations and renders the array, Is it possible to flatten it ? or is it makable only with textures ? And another question - my approach does not work if some background image under the game stage lays - has anybody solution for it ?
×
×
  • Create New...