Jump to content

Search the Community

Showing results for tags 'mask image'.

  • 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. I using PIXI for add on websait video with mask. Mask in base 64 stored in the same domain as the Library. but safari output error http://prntscr.com/9dzhrw code: if (this.type_ == 'video') { this.texture_ = PIXI.Texture.fromVideo(this.obj_); } else { this.texture_ = PIXI.Texture.fromImage(this.obj_.src, true); } this.sprite_ = new PIXI.Sprite(this.texture_); if (this.mask_) { /** * @type {PIXI.Sprite} * @private */ var mask = PIXI.Sprite.fromImage(this.mask_, true); mask.width = this.render_.width; mask.height = this.render_.height; this.sprite_.mask = mask; this.stage_.addChild(mask); }How To Be? CrossOrigin only set in PIXI.texture.FromImage How work PIXI.Sprite.FromImage ?
×
×
  • Create New...