--- title: HTML5 ゲーム開発入門 (要約) slug: Games/Introduction_to_HTML5_Game_Development tags: - Firefox OS - Games - HTML5 - Mobile translation_of: Games/Introduction_to_HTML5_Game_Development_(summary) original_slug: Games/Introduction_to_HTML5_Game_Gevelopment_(summary) ---
{{GamesSidebar}}
{{IncludeSubnav("/ja/docs/Games")}}

長所

  1. HTML5 で作られたゲームはスマートフォン、タブレット、PC、スマート TV で動く。
  2. 他のメディアと同様に、ウェブ全体でゲームを広告、宣伝できる。
  3. 支払い。好きな支払い処理サービスを使って課金できる。
  4. 好きな時にゲームを更新できる。
  5. 自身のアナリティクスを集められる!
  6. 顧客ともっと近く繋がれる。
  7. プレイヤーはいつでもどこでもゲームをプレイできる。

ウェブ技術

 
機能 技術
Audio Web Audio API
Graphics WebGL (OpenGL ES 2.0)
Input Touch events, Gamepad API, 端末センサー, WebRTC, Full Screen API, Pointer Lock API
Language JavaScript (Emscripten を使って C/C++ を JavaScript にコンパイルする)
Networking WebRTCWebSockets
Storage IndexedDB や "cloud"
Web HTML, CSS, SVG, Social API (とその他いろいろ!)
Full Screen API
Full screen gameplay.
Gamepad API
Use gamepads or other game controllers.
HTML and CSS
Build, style, and lay out your game's user interface.
HTML audio
Easily play simple sound effects and music.
IndexedDB
Store user data on their own computer or device.
JavaScript
Fast web プログラミング言語 to write the code for your game.
To easily port your existing games Emscripten or Asm.js
Pointer Lock API
Lock the mouse or other pointing device within your game's interface.
SVG (Scalable Vector Graphics)
Build vector graphics that scale smoothly regardless of the size or resolution of the user's display.
Typed Arrays
Access raw binary data from within JavaScript; Manipulate GL textures, game data, or anything else.
Web Audio API
Control the playback, synthesis, and manipulation of audio in real time.
WebGL
Create high-performance, hardware-accelerated 3D (and 2D) graphics. OpenGL ES 2.0.
WebRTC
Real-Time Communications to control audio and video data, including teleconferencing and transmitting other application data back and forth between two users like chat.
WebSockets
Connect your app or site to a server to transmit data back and forth in real-time. Perfect for multiplayer gaming action, chat services, and so forth.
Web Workers
Spawn background threads running their own JavaScript code for multi-core processors.
XMLHttpRequest and File API
Send and receive any kind of data you want from a Web server like downloading new game levels and artwork to transmitting non-real-time game status information back and forth.