sandy234 Posted November 7, 2013 Share Posted November 7, 2013 Can games run on 60FPS on android and ios or is there any FPS caps on browser. How advisable is to make a 60fps game Quote Link to comment Share on other sites More sharing options...
Funkyy Posted November 7, 2013 Share Posted November 7, 2013 Since human eye can see only ~35 fps - is there really need to go above 40 fps? Quote Link to comment Share on other sites More sharing options...
alex_h Posted November 7, 2013 Share Posted November 7, 2013 One key advantage of running at higher frame rates like 60fps is that you get better accuracy in your physics simulations. The faster the run loop, the more times per second you check whether object A has collided with object B. For eg if object A is 200px from object B and is travelling however many px per second, then the faster the frame rate, the smaller each step of the 200px will be, and the smaller the eventual overlap when the collision is detected. Quote Link to comment Share on other sites More sharing options...
Ezelia Posted November 7, 2013 Share Posted November 7, 2013 Since human eye can see only ~35 fps - is there really need to go above 40 fps?true and false and here is a good answer for why we do need 60FPS http://boallen.com/fps-compare.html Quote Link to comment Share on other sites More sharing options...
captainherisson Posted November 7, 2013 Share Posted November 7, 2013 Yes HTML5 games can run at 60 FPS on mobile devices. I'm in the process of writing an article on the basic optimization techniques that can be used. Games should definitely target 60 FPS. It's been proved by Facebook with an A/B test that bad frame rate was causing engagement to collapse. For that test they intentionally slowed down scrolling from 60 FPS to 30 FPS.I remember that the best case was of course 60fps, then solid 30fps and then the worse case scenario was a variable frame rate. I don't quite remember the numbers but people massively stopped using the app. Quote Link to comment Share on other sites More sharing options...
Antriel Posted November 7, 2013 Share Posted November 7, 2013 One key advantage of running at higher frame rates like 60fps is that you get better accuracy in your physics simulations. The faster the run loop, the more times per second you check whether object A has collided with object B. For eg if object A is 200px from object B and is travelling however many px per second, then the faster the frame rate, the smaller each step of the 200px will be, and the smaller the eventual overlap when the collision is detected. You can of course run your simulation with smaller timestep You can have 30 fps game with 200 Hz physics.Since human eye can see only ~35 fps - is there really need to go above 40 fps?Every person is different but for example I see difference between lamp connected to 50Hz and ones using special hardware to go at higher rates. I can even see difference between 50 fps and 100 fps on my monitor in certain situations. Eyes do not have pooling frequency but higher frame rate is a good thing. That said, with web games I wouldn't bother, unless it's webgl. Quote Link to comment Share on other sites More sharing options...
Funkyy Posted November 7, 2013 Share Posted November 7, 2013 Good answers ppl But I must say 30fps on mobile looks really good. I would chose 60fps on tablet though. Quote Link to comment Share on other sites More sharing options...
alex_h Posted November 8, 2013 Share Posted November 8, 2013 You can of course run your simulation with smaller timestep You can have 30 fps game with 200 Hz physics. Absolutely right, that's actually the approach I use too, using a separate setInterval for the physics loop and running the display refresh from raf.In terms of pure display update alone I would agree that there doesn't seem to be much to be achieved from having fps higher than about 30. Quote Link to comment Share on other sites More sharing options...
NokFrt Posted November 8, 2013 Share Posted November 8, 2013 Can you show me a html5 game which runs in 60 Fps on an average mobile device. I haven't seen any so far. Quote Link to comment Share on other sites More sharing options...
dreta Posted November 12, 2013 Share Posted November 12, 2013 It's absolutely distinguishable between 30 and 60 FPS. It's always a big deal when a fast paced AAA title drops to 30 FPS. "Juicy" mobile games and infinite runners need high FPS for appeall, though for a lot of titles it probably isn't as important. People that play games often are used to 60 FPS and they can tell the difference. You can of course run your simulation with smaller timestep You can have 30 fps game with 200 Hz physics. Should be the other way around. Run your physics at 20 FPS and rendering at 60 FPS with interpolation. Quote Link to comment Share on other sites More sharing options...
sandy234 Posted November 13, 2013 Author Share Posted November 13, 2013 I tried my runner platform game on 60 fps. It runs well on ios 50+ fps. But it struggles on android 30-40fps. Its playable on my S3 but theres occasional lag also game is slow which is making it easier on android.On Default browser though its a slide showMy game has level size of 15000 x 320 out of which 568x320 is visible at a time.How do you people go about increasing fps for games with such big rooms. Quote Link to comment Share on other sites More sharing options...
GameTwoThree Posted November 13, 2013 Share Posted November 13, 2013 AFAIK 60 fps is a good goal when it comes to mobile. Quote Link to comment Share on other sites More sharing options...
dreta Posted November 13, 2013 Share Posted November 13, 2013 Occasional lag most likely means you're producing too much garbage. If the game runs slower with lower FPS, that means you've tied your game logic to the FPS, what you should do instead is update the game depending on the actual time passed between frames, or better yet, by a fixed amount of time, but only update if the time between frames is at least as big as the fixed time. The size of your level shouldn't matter as long as you implement proper space partitioning structures for physics and rendering. 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.