Posts Tagged ‘focus’

White noise

Posted by (twitter: @nicolasdet)
Saturday, August 22nd, 2015 1:04 pm

After few hours of programming, odds are you will loose your focus and concentration. You get distracted by everything easily and sometimes just stare on your code for minutes.

When this happened to me, I randomly tried white noise sounds. I don’t know whether it worked because I thought it may work or because it really helps. You can try it yourself.

Quick Tip for HTML5 Developers

Posted by (twitter: @brianstegmann)
Saturday, August 24th, 2013 9:15 am

If you have jQuery included in your project, here’s an easy way to automatically pause your game if the user changes tabs or the web browser window loses focus:

$(window).blur(function() {

//pausing code here



[cache: storing page]