So I've optimized my sketch so every thing runs on the same speed independent from the frame rate so now someone with 30 fps can play at the same speed as someone with 90 fps but it looks smoother for the 90 fps user
But I wondered, the default refresh rate is 60, but I want people with a higher refresh rate to be able to use the app their frame rate limit. (I know its quite rare to find a phone with a 60+ fresh rate but they are out there), so how would I go about that, if I just set the frame rate to 240 and then run it on a 30 fps screen it will just waste computing power trying to get the fps higher than i can actually display it right?
In short, how do I detect the frame-rate of a device and then run processing at that frame rate