JeZxLee Posted January 12, 2015 Share Posted January 12, 2015 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 browserthen that would be of great help... Thanks! JeZxLee Quote Link to comment Share on other sites More sharing options...
ultimatematchthree Posted January 12, 2015 Share Posted January 12, 2015 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.