Jump to content

Pixi.js masking problem with Cocoon.io


Aliencargo
 Share

Recommended Posts

Hi, I'm building a game for desktop web, mobile web and mobile native using Cocoon.io.

I have discovered a masking problem that only occurs on Cocoon.io.

Cocoon Version
Cocoon Developer App 1.0.0.

Basic description of the problem
Im trying to render a mask layer with multiple graphics shapes using Pixi.js

Device info
iPhone 6, iOS 8.1.2

Pixi JS
Version 4.3.4. Using WebGL mode.

Steps will reproduce the problem
Point Cocoon Developer app or Desktop Browser to this url: http://schweinstudios.se/masking/
... or:
Download this repo and branch ticket_masking https://github.com/ErikLarsson82/pixi-workbench/tree/ticket_masking
Install with: npm install
Run in browser on PC and see correct result, run on Cocoon Developer App to see incorrect result, using the same code.

correct.png

incorrect.png

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...