Jump to content

Resource(Audio/Visual) Loading Limits?


JeZxLee
 Share

Recommended Posts

Resource(Audio/Visual) Loading Limits?

 

Hi,

 

We tried to find the above on Google but found nothing.

Are there limits to how many resources an HTML5 game can load?

Would imagine that it differs across browsers?

 

If someone could point to a website that shows the above for each Internet browser

then that would be of great help...

 

Thanks!

 

JeZxLee

Link to comment
Share on other sites

It won't just differ across browsers, but probably even across devices. Every device will have a different amount of RAM, etc. and every individual device will, at different points in time, have varying amounts of actual available resources depending on, for example, currently loaded tabs/apps in the background.

 

Simply speaking, your browser will accommodate the assets you throw at it as long as system resources are available, which means that better-equipped devices will have higher limits. Your OS and/or browser could possibly impose some hard limits though, search for the phrase "Know iOS Resource Limits" for an example.

 

Just because you can load up to a certain amount, however, it doesn't mean that you should. It's probable that as you load more resources, your app's runtime performance would degrade. And there's also the question of what you'll actually do once these resources are loaded and how these activities would affect performance. Will they just sit around in memory, be rendered on the screen at a certain rate, etc.?

 

If the "limits table" you are looking for doesn't exist but the information is that important to you, it may be worthwhile to spend a little time putting together a stress test and running this on different browsers to find the limits yourself and see if hitting the limits would still keep your app's performance acceptable.

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