sz-dev Posted March 6, 2017 Report Share Posted March 6, 2017 We adapted some code we found for a "pie progress" tracker found on these forums. It works great in Chrome, but on Safari (both desktop and mobile), if you try to force Phaser.CANVAS mode, the bitmap data is not drawn. Is there something we are doing wrong? Or is this a bug? Check out our fiddle below: http://jsfiddle.net/mnj0vteL/1/ - Canvas mode - it doesn't draw the circle (in Safari) http://jsfiddle.net/uxujy4pu/ - WebGL mode - it draws the circle everywhere We cannot use WebGL because on mobile safari it is not performant (avg 15fps vs canvas which gets 60fps) Quote Link to comment Share on other sites More sharing options...
stupot Posted March 7, 2017 Report Share Posted March 7, 2017 Try finishing off your context drawing with a closePath() Quote Link to comment Share on other sites More sharing options...
sz-dev Posted March 7, 2017 Author Report Share Posted March 7, 2017 Thanks for the suggestion. We should be closing that path anyway :-) Unfortunately it didn't get the arc to appear in Safari. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.