Поделиться через


JavaScript support for Store games

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

Learn if developing a Store game using HTML5 and JavaScript is right for you.

Although suitable for general Windows Store app development and simple 2D games, the Windows Library for JavaScript (WinJS) is not the ideal choice for Windows Store apps requiring high performance graphics, such as computationally intensive games. In such cases, use DirectX with C++ to provide the best user experience on the widest possible array of devices. For more info, see DirectX game sample walkthroughs.

If performance and intensive graphics are not a requirement for your game, checkout JavaScript and HTML5 touch game sample as an example.

JavaScript and HTML5 touch game sample