Techniques for game development
- 使用 asm.js 中的异步脚本
- Optimizing startup performance
How to make sure your game starts up quickly, smoothly, and without appearing to lock up the user's browser or device.
- Using WebRTC peer-to-peer data channels (en-US)
In addition to providing support for audio and video communication, WebRTC lets you set up peer-to-peer data channels to exchange text or binary data actively between your players. This article explains what this can do for you, and shows how to use libraries that make this easy.
- Efficient animation for web games (en-US)
- Audio for Web Games (en-US)
Audio is an important part of any game — it adds feedback and atmosphere. Web-based audio is maturing fast, but there are still many browser differences to negotiate. This article provides a detailed guide to implementing audio for web games, looking at what works currently across as wide a range of platforms as possible.
- 2D collision detection
A concise introduction to collision detection in 2D games.
- Tilemaps (en-US)
Tiles are a very popular technique in 2D games for building the game world. These articles provide an introduction to tilemaps and how to implement them with the Canvas API.