Skip to content

Commit

Permalink
Deploying to main from @ GamemakerChina/GameMaker-maunl-zh@d41524c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
LiarOnce committed May 26, 2024
1 parent 29657b3 commit e405ff7
Show file tree
Hide file tree
Showing 8,172 changed files with 34,341 additions and 25,843 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions Additional_Information/Additional_Information.htm
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@

<!--<div class="body-scroll" style="top: 150px;">-->
<h1><span data-field="title" data-format="default"> 附加信息 </span></h1>
<p>手册的这一部分包含了与编程和GameMaker语言工作方式相关的杂项文章。以下文章是作为配套文章设计的,旨在进一步扩展您对GameMaker工作方式的理解,以及如何从可用的不同语言功能中获得最大的好处:</p>
<p>This section of the manual contain a collection of miscellaneous articles related to programming and the way the GameMaker Language works.&nbsp;The following articles are designed as companion articles to further expand your understanding of how&nbsp;<span data-keyref="GameMaker Name">GameMaker</span> works and how to get the most from the different language features available:</p>
<ul class="colour">
<li><a href="Best_Practices_When_Programming.htm">编程时的最佳实践</a></li>
<li><a href="The_File_System.htm">文件系统</a></li>
<li><a href="Bitwise_Operators.htm">位运算和二进制</a></li>
<li><a href="Type_Tables.htm">类型表</a></li>
<li><a href="Whitespace_Characters.htm">空格字符</a></li>
Expand All @@ -92,6 +91,7 @@ <h1><span data-field="title" data-format="default"> 附加信息 </span></h1>
<li><a href="Guide_To_Using_Shaders.htm">着色器使用指南</a></li>
<li><a href="Guide_To_Primitives_And_Vertex_Building.htm">图元和顶点构建指南</a></li>
<li><a href="Guide_To_Using_Blendmodes.htm">混合模式使用指南</a></li>
<li><a href="Guide_To_Using_JSON.htm">Guide To Using JSON</a></li>
<li><a href="Project_Format.htm">项目格式</a></li>
<li><a href="Compatibility_Functions.htm">兼容性函数</a></li>
<li><a href="Compatibility_Scripts.htm">兼容脚本</a></li>
Expand All @@ -106,7 +106,7 @@ <h1><span data-field="title" data-format="default"> 附加信息 </span></h1>
<div style="float:right">Next:&nbsp;<a href="../GameMaker_Language.htm#h">GameMaker 语言</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Additional Information
Expand Down
6 changes: 3 additions & 3 deletions Additional_Information/Best_Practices_When_Programming.htm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<meta name="topic-comment" content="Page that explains some best practices when programming using GameMaker">
<meta name="rh-index-keywords" content="Best Practices When Programming">
<meta name="search-keywords" content="best practices">
<meta name="brsnext" value="Additional_Information/The_File_System.htm"><meta name="brsprev" value="Additional_Information/Additional_Information.htm"></head>
<meta name="brsnext" value="Additional_Information/Bitwise_Operators.htm"><meta name="brsprev" value="Additional_Information/Additional_Information.htm"></head>

<body>
<div class="topic-header rh-hide" id="rh-topic-header">
Expand Down Expand Up @@ -198,10 +198,10 @@ <h1>编程时的最佳实践</h1>
<div class="buttons">
<div class="clear">
<div style="float:left">Back: <a href="Additional_Information.htm">额外的信息</a></div>
<div style="float:right">Next: <a href="The_File_System.htm">文件系统</a></div>
<div style="float:right">Next:&nbsp;<a href="Bitwise_Operators.htm">位运算和二进制</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Nest Practices
Expand Down
16 changes: 9 additions & 7 deletions Additional_Information/Bitwise_Operators.htm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

gRootRelPath = "..";
gCommonRootRelPath = "..";
gTopicId = "7.0_3";
gTopicId = "7.0_2";

//]]></script>

Expand All @@ -58,7 +58,7 @@
<meta name="topic-comment" content="Page that explains how bitwise operators work">
<meta name="rh-index-keywords" content="Bitwise Operators">
<meta name="search-keywords" content="bitwise,bitwise operators">
<meta name="brsnext" value="Additional_Information/Type_Tables.htm"><meta name="brsprev" value="Additional_Information/The_File_System.htm"></head>
<meta name="brsnext" value="Additional_Information/Type_Tables.htm"><meta name="brsprev" value="Additional_Information/Best_Practices_When_Programming.htm"></head>

<body>
<div class="topic-header rh-hide" id="rh-topic-header">
Expand Down Expand Up @@ -215,10 +215,12 @@ <h1>按位运算符和二进制</h1>
<p class="dropspot">假设你有一个有几扇门的关卡,每个门都有一把钥匙。你怎么能轻松地为特定的门标记一把钥匙呢?嗯,通常你只会为钥匙和门分配一个ID。那么如果你想要一把钥匙打开2或3扇门呢?很简单。你使用MASK。门会像这样分配一个位:<br></p>
<p class="code">door_id = 1; // 0001</p>
<p class="dropspot">其他的类似于:<br></p>
<p class="code">door_id=2; // 0010<br>
door_id=4; // 0100<br>
door_id=8; //&nbsp;1000<br>
etc...</p>
<p class="code">
door_id = 2; // 0010 <br>
door_id = 4; // 0100 <br>
door_id = 8; // 1000 <br>
// etc...
</p>
<p class="dropspot">如果我们想让钥匙打开门1和3,那么钥匙的MASK值应该是5(二进制中是101)。如果我们执行<span class="inline">AND</span>,结果是"非零",那么我们知道钥匙可以打开门。你也可以通过MASK为0来让钥匙什么也开不了。请参阅下面的代码来进行实际检查:</p>
<p class="code">if ((key_id &amp; door_id) ! = 0)<br>
{<br>
Expand Down Expand Up @@ -263,7 +265,7 @@ <h1>按位运算符和二进制</h1>
<div style="float:right">Next: <a href="Type_Tables.htm">Type&nbsp;Tables</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Bitwise Operators
Expand Down
6 changes: 3 additions & 3 deletions Additional_Information/Compatibility_Functions.htm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

gRootRelPath = "..";
gCommonRootRelPath = "..";
gTopicId = "7.0_12";
gTopicId = "7.0_13";

//]]></script>

Expand All @@ -58,7 +58,7 @@
<meta name="topic-comment" content="Page that explains the various Compatibility Functions">
<meta name="rh-index-keywords" content="Compatibility Functions">
<meta name="search-keywords" content="Compatibility Functions">
<meta name="brsnext" value="Additional_Information/Compatibility_Scripts.htm"><meta name="brsprev" value="Additional_Information/Guide_To_Using_Blendmodes.htm"></head>
<meta name="brsnext" value="Additional_Information/Compatibility_Scripts.htm"><meta name="brsprev" value="Additional_Information/Project_Format.htm"></head>

<body>
<div class="topic-header rh-hide" id="rh-topic-header">
Expand Down Expand Up @@ -113,7 +113,7 @@ <h1>兼容性函数</h1>
<div style="float:right">Next: <a href="Compatibility_Scripts.htm">兼容性脚本</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Compatibility Functions
Expand Down
4 changes: 2 additions & 2 deletions Additional_Information/Compatibility_Scripts.htm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

gRootRelPath = "..";
gCommonRootRelPath = "..";
gTopicId = "7.0_13";
gTopicId = "7.0_14";

//]]></script>

Expand Down Expand Up @@ -104,7 +104,7 @@ <h1>兼容性脚本</h1>
<div style="float:right">Next:&nbsp;<a href="Obsolete_Functions.htm">过时的函数</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Compatibility Functions
Expand Down
2 changes: 1 addition & 1 deletion Additional_Information/Error_Reporting.htm
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1>错误报告</h1>
<div style="float:right">Next:&nbsp;<a href="../Settings/Runner_Details/Runner_Details.htm">运行器和编译器</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Error Reporting
Expand Down
4 changes: 2 additions & 2 deletions Additional_Information/Errors/Compiler_Errors.htm
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h1>编译错误</h1>
</tr>
<tr>
<td>Calling a function that needs an instance and no instance is available</td>
<td><span>The function or script being called is for acting on an instance, but at the time of running no instances exist</span></td>
<td>The function or script being called is for acting on an instance, but at the time of running no instances exist</td>
</tr>
<tr>
<td>Calling a function that needs an other and no other is available</td>
Expand Down Expand Up @@ -547,7 +547,7 @@ <h1>编译错误</h1>
<div style="float:right">Next: <a href="Runner_Errors.htm">运行器错误</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Compiler Errors
Expand Down
2 changes: 1 addition & 1 deletion Additional_Information/Errors/Runner_Errors.htm
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ <h1><span data-field="title" data-format="default">运行器错误</span></h1>
<div style="float:right">Next: <a href="Syntax_Errors.htm">Syntax Errors</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Runner Errors
Expand Down
2 changes: 1 addition & 1 deletion Additional_Information/Errors/Syntax_Errors.htm
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h3>&nbsp;</h3>
<div style="float:right">Next: <a href="Compiler_Errors.htm">编译器错误</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Syntax Errors
Expand Down
Loading

0 comments on commit e405ff7

Please sign in to comment.