This past weekend I had the opportunity to be what every father wants, if only for a moment: the “cool dad”. My wife was out of town and my youngest son wanted to play PUBG. I caved in, taught him the basic FPS key binds, and he was having a great time. While he was fragging out, he pressed a bunch of random keys and ended up changing movement buttons. Suddenly the traditional WASD movement keys were useless and the arrow keys triggered movement.
Of course, this was a degradation of player experience. After struggling to figure out what my son did, I found the solution.
To restore the WASD keys as movement keys, press the FN+W
key combination. You’ll switch back to WASD keys for movement and be back on top of your game!
CSS @supports
Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn’t been available within CSS. What we end up doing is repeating the same properties multiple times with each browser prefix. Yuck. Another thing we…
6 Things You Didn’t Know About Firefox OS
Firefox OS is all over the tech news and for good reason: Mozilla’s finally given web developers the platform that they need to create apps the way they’ve been creating them for years — with CSS, HTML, and JavaScript. Firefox OS has been rapidly improving…
CSS pointer-events
The responsibilities taken on by CSS seems to be increasingly blurring with JavaScript. Consider the
-webkit-touch-callout
CSS property, which prevents iOS’s link dialog menu when you tap and hold a clickable element. Thepointer-events
property is even more JavaScript-like, preventing: click actions from doing…
Source link
Post a Comment