HTML5 Game Development
   
  • HOME
  • News
  • Tutorials
  • Engines
  • Demos
  • Tools
  • Partners
  • Mobile HTML Game
  • Wind And Solar
  • About us

Pointer Lock and First Person Shooter Controls

HTML5Rocks has an article on using the newly minted Pointer Lock (which prevents the cursor from hitting the edge of the game area in, say, an FPS). It also goes into the details of using the captured mouse movements to create FPS-style controls.

Read the article

Share List

You might also find this interesting:


  1. Pointer Lock and First Person Shooter Controls HTML5 Rocks has a in-depth article discussing the much-heralded pointer lock API and along with an overview of how to build FPS-style mouse-powered controls. Read the article on HTML5Rocks Share...

  2. JavaScript Pointer Lock (Mouse Lock) in Chrome Developer Preview Makers of online FPS’s rejoice! Mouse Lock has popped up in the Chrome Developer Preview (so far Fullscreen only mode, but it will be available in Windowed mode in the...

  3. Shell Shockers – First Person Egg Shooter A BabylonJS project, this is a wacky multiplayer first person shooter featuring, well, eggs, of course! Even though it’s early in development and not polished enough, everyone is free to...

  4. Gorescript: 60-FPS Retro first-person shooter, written in JavaScript using three.js Gorescript is a browser-based throwback FPS written in JavaScript using three.js. The MIT-licensed project’s stated goal is to create a Doom-like game from scratch, complete with its own asset toolchain....

  5. PlayCanvas WebGL 3rd Person Multiplayer Demo HTML5 Game creation tools PlayCanvas has released a 3rd-person multiplayer shooter demo on their engine that uses WebGL, Web Audio API, WebSockets and has support for the Gamepad API, Pointerlock...

HTML5 Game Dev Tutorials

License HTML5 Games

Are you a company looking to license HTML5 games? We recommend MarketJS.com, a B2B platform for licensing games.

MarketJS has over 300 HTML5 games for licensing. They also provide additional services such as game reskin, custom development, and white label portals.

Html5 Game Development


Follow @GameDevHTML5



WHAT’S NEW

  • Unity’s Pricing Scheme Changes

  • Unity Game Engine Pricing Fee

  • Open-source 3D Game Engine with Sketchfab Integration

  • MODD.IO Updates – Improved No Coding Required Game Engine

  • GPT3 Voting Board



NEW DEMOS

  • Creating a Mobile HTML5 RPG – Guidelines for Beginners

  • How to Use HTML5 Games To Engage Social Media Followers

  • Running HTML5 Games for Online Competitions

  • Vertical Platformer Games Using GDevelop

  • HTML5 Games for HR Technology


ENGINES

  • Unity’s Pricing Scheme Changes

    In an open letter to the Unity community, the company announced the details of Unity’s pricing scheme changes. In the letter, the Personal plan will remain free and there will …Read more

  • Unity Game Engine Pricing Fee

    Early in September 2023, Unity Technologies announced the Unity game engine pricing fee. Starting on 1 January 2024, the company will charge game developers a fee (2 tiers) for each …Read more

  • Open-source 3D Game Engine with Sketchfab Integration

    PlayCanvas, an open-source 3D game engine, has added Sketchfab integration into its latest updates. This improvement gives game developers access to Sketchfab’s high-quality 3D, AR, and VR content. To access …Read more

SEARCH OUR ARCHIVES

CONNECT

rss twitter

HTML5 Game Development is proudly run by 3P Solutions Inc

GOT NEWS?

Send new engines, demos, information and tips to hello@html5gamedevelopment.com

MONTHLY MEETUP

In boston? Join us for the Monthly HTML5 Game Development meetup.

BOOKS

We're in the process of writing a few books about game development. Coming soon!

Copyright HTML5gamedevelopment.com