From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/games/tools/index.html | 40 +++++++++++++ .../index.html" | 68 ++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 files/zh-cn/games/tools/index.html create mode 100644 "files/zh-cn/games/tools/\345\274\225\346\223\216\345\222\214\345\267\245\345\205\267/index.html" (limited to 'files/zh-cn/games/tools') diff --git a/files/zh-cn/games/tools/index.html b/files/zh-cn/games/tools/index.html new file mode 100644 index 0000000000..1d026dae28 --- /dev/null +++ b/files/zh-cn/games/tools/index.html @@ -0,0 +1,40 @@ +--- +title: Tools for game development +slug: Games/Tools +tags: + - Games + - Gecko + - Guide + - JavaScript + - NeedsTranslation + - TopicStub +translation_of: Games/Tools +--- +
{{GamesSidebar}}
{{IncludeSubnav("/en-US/docs/Games")}}
+ +
+

On this page you can find links to our game development tools articles, which eventually aims to cover frameworks, compilers, and debugging tools.

+
+ +
+
asm.js
+
asm.js is a very limited subset of the JavaScript language, which can be greatly optimized and run in an ahead-of-time (AOT) compiling engine for much faster performance than your typical JavaScript performance. This is, of course, great for games.
+
Emscripten
+
+

An LLVM to JavaScript compiler; with Emscripten, you can compile C++ and other languages that can compile to LLVM bytecode into high-performance JavaScript. This is a great tool for porting applications to the Web! There is a useful Emscripten tutorial available on the wiki. Note that we are aiming to cover Emscripten in its own section of MDN.

+
+
Gecko profiler
+
The Gecko profiler extension lets you profile your code to help figure out where your performance issues are so that you can make your game run at top speed.
+
Game engines and tools
+
A list of engines, templates and technologies useful to game developers.
+
Shumway
+
Shumway is a renderer for Adobe Flash built entirely in JavaScript, WebGL, etc., bridging the gap between Flash and web standards. This article shows how to make use of Shumway, and how to contribute fixes and bugs to the project.
+
Toolchain for developing and debugging games
+
How does this differ from normal web app debugging? What specialist tools are available? A lot of this is going to be covered by Will in tools, but here we should provide a kind of practical toolchain tutorial for debugging games, with links to Will's stuff: +
    +
  • Basic tools overview
  • +
  • Shader editor
  • +
  • Performance tools (still in production, estimated early 2014)
  • +
+
+
diff --git "a/files/zh-cn/games/tools/\345\274\225\346\223\216\345\222\214\345\267\245\345\205\267/index.html" "b/files/zh-cn/games/tools/\345\274\225\346\223\216\345\222\214\345\267\245\345\205\267/index.html" new file mode 100644 index 0000000000..082f9e0f39 --- /dev/null +++ "b/files/zh-cn/games/tools/\345\274\225\346\223\216\345\222\214\345\267\245\345\205\267/index.html" @@ -0,0 +1,68 @@ +--- +title: 游戏引擎和工具 +slug: Games/Tools/引擎和工具 +translation_of: Games/Tools/Engines_and_tools +--- +
{{GamesSidebar}}
{{IncludeSubnav("/en-US/docs/Games")}}
+ +

HTML5 游戏引擎

+ +

下面是用HTML5和JavaScript实现的游戏引擎:

+ + + +

HTML5 game tools

+ + + +

Useful technologies

+ +

The following can be useful when developing games based on Web technologies.

+ + + +
+

Note: Not every browser supports every part of HTML5. For example, Canvas isn’t supported out of the box by any Internet Explorer version below 9. However, you can use Explorer Canvas to replicate canvas functionality (but that is not ideal and does not perform as well). WebSockets is supported by IE only in IE 10, and it isn’t supported in the stock browser of Android. But again, you can fake this by using Flash for the sockets, such as with Socket.IO. While supported in the latest versions of every other browser, WebGL in Internet Explorer requires at least version 11.

+
+ +

Game template

+ +

You can use the Mortar Game Stub template to get a quick start on an HTML5 game, or you can use it to get ideas on best practices.

-- cgit v1.2.3-54-g00ecf