Jump to content

Search the Community

Showing results for tags 'Assets manager'.

  • 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'm running into an issue regarding the Assets Manager and the Video Textures : When loading a sound, here is an example of code that works very well, using Assets : var binaryTaskSound = assetsManager.addBinaryFileTask("s1 task", "sounds/sound1.mp3");binaryTaskSound.onSuccess = function (task) { music5 = new BABYLON.Sound("s5", task.data, scene, soundReady, { loop: true});};Now when I want to load a Video Texture using the same method, it doesn't not seem to work anymore : var binaryTaskVideo = assetsManager.addBinaryFileTask("v1 task", "videos/Cocoon720p-Synced.mp4");binaryTaskVideo.onSuccess = function (task) { var videoTexture = new BABYLON.VideoTexture("video", [task.data], scene, false, true);};
×
×
  • Create New...