Jump to content

background downloader for pixi.js


abbas jafari
 Share

Recommended Posts

hi masters ?

im beginner in pixi.js and game develop.

i write a program that in some time load some picture or video or music...
not problem in pictures but when load a video or a music. it take long time until play .

I decided when start my program . download all video and all music. then show a progressbar with title (loading...)

i created my progressBar but can't connect  it on my media.

thanks for your helps. and sorry for my english languge... 

Link to comment
Share on other sites

So, basically, in web there are two ways - either preload either stream. PixiJS does have only a bit of code that is managing video. PixiJS does have only a few bits of code that manage videos/audio. PixiJS loader should, in theory, preload everything, and it should work, but in practice there are many small things missing.

That's why I cant understand what do you want.

Did you try to use default PixiJS loader ? If so, what problems did you encounter? 

If you dont know how internally PixiJS loader works - well, its  actually https://github.com/englercj/resource-loader , you can read source code there. And nothing stops you from debugging it.

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