Jump to content

Search the Community

Showing results for tags 'drawing API'.

  • 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. Hi Folks. I am running into an issue when I am using the WebGLRenderer and the drawing API for the Graphics class. This only seems to manifest with the WebGLRenderer, not the CanvasRenderer. Given an instance of the Graphics class, I run the following code: var g = //instance of pixi.Graphicsg.clear()g.lineStyle(1, 0xffffff) //white lines against a black canvasg.moveTo(0, 0)g.lineTo( width, height ) //my current viewport's dimensionsand the result? Obviously the diagonal line is desired but the arc is not. A few things to note: I have some code to detect the window resize to resize the renderer. Sometimes after a resize the arc artifact is gone, most times however, it is not.The current graphics in this example is nested in a few DisplayObjectContainers (which is the structure of my Viewport class). That structure looks like this:viewport.mainContainer (attached to the stage)viewport.zoomContainerviewport.contentContainer (where the graphics instance resides)using the drawCircle API doesn't create the artifact.Please advise. Thank you.
×
×
  • Create New...