Jump to content

Bitmap Data in Canvas mode doesn't draw in Safari


sz-dev
 Share

Recommended Posts

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...