Skip to content

Commit

Permalink
adding lts branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuchitra532 committed Aug 2, 2023
1 parent c2df6da commit f986921
Show file tree
Hide file tree
Showing 2,779 changed files with 13,727 additions and 14,493 deletions.
53 changes: 52 additions & 1 deletion Manual/GMS2_Manual.rhpj
Original file line number Diff line number Diff line change
@@ -1 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?><project version="2022.2.0"><title>GMS2 Manual</title><id>ed49fdaf-a158-4f0a-bdc8-7b5026ece5f2</id><layouts></layouts><preferences><language>en_UK</language><noInlineStyle>false</noInlineStyle><hideBookmarks>false</hideBookmarks><advancedHtmlHelpOptions>false</advancedHtmlHelpOptions><trackChanges>false</trackChanges><defaultCss>contents/assets/css/default.css</defaultCss><defaultWsf>settings/import/word/default.wsf</defaultWsf><defaultFsf>settings/import/fm/default.fsf</defaultFsf></preferences><links></links><scripts></scripts><authortabs></authortabs><outputtabs></outputtabs><content root="contents/"></content><toc root="toc"></toc><snippets root="contents/assets/snippets"></snippets><glossary root="glossary"></glossary><index root="index"></index><seealso root="seealso"></seealso><variable root="variable"></variable><condition root="condition"></condition><microcontent root="contents/microcontent"></microcontent></project>
<?xml version="1.0" encoding="UTF-8"?>
<project version="2020.8.0">
<title>GMS2 Manual</title>
<id>ed49fdaf-a158-4f0a-bdc8-7b5026ece5f2</id>
<preferences>
<language>en_UK</language>
<noInlineStyle>false</noInlineStyle>
<advancedHtmlHelpOptions>false</advancedHtmlHelpOptions>
<defaultCss>contents/assets/css/default.css</defaultCss>
<defaultWsf>settings/import/word/default.wsf</defaultWsf>
<defaultFsf>settings/import/fm/default.fsf</defaultFsf></preferences>
<statuslist>
<status>Draft</status>
<status>In Progress</status>
<status>Ready for Review</status>
<status>Sent for Review</status>
<status>Reviewed</status>
<status>Complete</status></statuslist>
<ctaggroups>
<group>Export</group>
<group>Licence</group>
<group>Misc</group></ctaggroups>
<colors>
<color name="Black" value="#000000"></color>
<color name="Red" value="#FF0000"></color>
<color name="Lime" value="#00FF00"></color>
<color name="Blue" value="#0000FF"></color>
<color name="Maroon" value="#800000"></color>
<color name="Green" value="#008000"></color>
<color name="Navy" value="#000080"></color>
<color name="Gray" value="#808080"></color>
<color name="White" value="#FFFFFF"></color>
<color name="Fuchsia" value="#FF00FF"></color>
<color name="Aqua" value="#00FFFF"></color>
<color name="Yellow" value="#FFFF00"></color>
<color name="Purple" value="#800080"></color>
<color name="Olive" value="#808000"></color>
<color name="Teal" value="#008080"></color>
<color name="Silver" value="#C0C0C0"></color></colors>
<links></links>
<scripts></scripts>
<authortabs></authortabs>
<outputtabs></outputtabs>
<content root="contents/"></content>
<toc root="toc"></toc>
<snippets root="contents/assets/snippets"></snippets>
<glossary root="glossary"></glossary>
<index root="index"></index>
<seealso root="seealso"></seealso>
<variable root="variable"></variable>
<condition root="condition"></condition>
<microcontent root="contents/microcontent"></microcontent></project>
10 changes: 5 additions & 5 deletions Manual/_page_generation/Template_Code_Page.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<title>INSERT_TITLE</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" type="text/css" href="assets/css/default.css" />
<script src="assets/scripts/main_script.js" type="module"></script>
<meta name="rh-authors" content="" />
<meta name="topic-comment" content="" />
<meta name="rh-index-keywords" content="" />
<meta name="search-keywords" content="" />
<script src="assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="INSERT_AUTHOR" />
<meta name="topic-comment" content="INSERT_DESCRIPTION" />
<meta name="rh-index-keywords" content="INSERT_INDEX" />
<meta name="search-keywords" content="INSERT_KEYWORDS" />
<meta name="template" content="assets/masterpages/Manual_Keyword_Page.htt" />
</head>
<body>
Expand Down
10 changes: 5 additions & 5 deletions Manual/_page_generation/Template_Normal_Page.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<title>INSERT_TITLE</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="assets/css/default.css" type="text/css" />
<script src="assets/scripts/main_script.js" type="module"></script>
<meta name="rh-authors" content="" />
<meta name="topic-comment" content="" />
<meta name="rh-index-keywords" content="" />
<meta name="search-keywords" content="" />
<script src="assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="INSERT_AUTHOR" />
<meta name="topic-comment" content="INSERT_DESCRIPTION" />
<meta name="rh-index-keywords" content="INSERT_INDEX" />
<meta name="search-keywords" content="INSERT_KEYWORDS" />
<meta name="template" content="assets/masterpages/Manual_Page.htt" />
</head>
<body>
Expand Down
10 changes: 5 additions & 5 deletions Manual/_page_generation/Template_Visual_Page.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<title>INSERT_TITLE</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" type="text/css" href="assets/css/default.css" />
<script src="assets/scripts/main_script.js" type="module"></script>
<meta name="rh-authors" content="" />
<meta name="topic-comment" content="" />
<meta name="rh-index-keywords" content="" />
<meta name="search-keywords" content="" />
<script src="assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="INSERT_AUTHOR" />
<meta name="topic-comment" content="INSERT_DESCRIPTION" />
<meta name="rh-index-keywords" content="INSERT_INDEX" />
<meta name="search-keywords" content="INSERT_KEYWORDS" />
<meta name="template" content="assets/masterpages/Manual_Keyword_Page.htt" />
</head>
<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<title>Additional Information</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="../assets/css/default.css" type="text/css" />
<script src="../assets/scripts/main_script.js" type="module"></script>
<script src="../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Page with additional information about programming features" />
<meta name="rh-index-keywords" content="Additional Information" />
<meta name="search-keywords" content="Additional Information" />
</head>
<body>
<!--<div class="body-scroll" style="top: 150px;">-->
<h1><span data-field="title" data-format="default">Additional Information</span></h1>
<h1>Additional Information</h1>
<p>This section of the manual contain a collection of miscellaneous articles related to programming and the way the GameMaker Language works. The following articles are designed as companion articles to further expand your understanding of how GameMaker 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">Best Practices When Programming</a></li>
Expand All @@ -28,21 +28,21 @@ <h1><span data-field="title" data-format="default">Additional Information</span>
<li><a href="Guide_To_Using_Shaders.htm">Guide To Using Shaders</a></li>
<li><a href="Guide_To_Primitives_And_Vertex_Building.htm">Guide To Primitives And Vertex Building</a></li>
<li><a href="Guide_To_Using_Blendmodes.htm">Guide To Using Blendmodes</a></li>
<li><a data-xref="{title}" href="Project_Format.htm">Project Format</a></li>
<li><a href="Compatibility_Functions.htm">Compatibility Functions</a></li>
<li><a href="Compatibility_Scripts.htm">Compatibility Scripts</a></li>
<li><a href="Obsolete_Functions.htm">Obsolete Functions</a></li>
</ul>
<p> </p>
<p> </p>
<p> </p>
<div class="footer">
<div class="buttons">
<div class="clear">
<div style="float:left">Back: <a href="../Content.htm">Index</a></div>
<div style="float:right">Next: <a data-xref="{text}" href="../GameMaker_Language.htm#h">GameMaker Language</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. 2022 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Additional Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Best Practices When Programming</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="../assets/css/default.css" type="text/css" />
<script src="../assets/scripts/main_script.js" type="module"></script>
<script src="../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<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" />
Expand Down
7 changes: 3 additions & 4 deletions Manual/contents/Additional_Information/Bitwise_Operators.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Bitwise Operators</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="../assets/css/default.css" type="text/css" />
<script src="../assets/scripts/main_script.js" type="module"></script>
<script src="../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Page that explains how bitwise operators work" />
<meta name="rh-index-keywords" content="Bitwise Operators" />
Expand All @@ -18,8 +18,7 @@ <h1>Bitwise Operators And Binary</h1>
<p>At the beginning of the computer era, <strong>binary</strong> and <strong>hex</strong> (hexadecimal) were a way of life, probably because high level languages (such as BASIC) were simply too slow to run. For example, multiplying 32 x 32 might have taken various CPU cycles to achieve using BASIC, but with binary it is done as a single operation in a single CPU cycle.</p>
<p>These days however, with the power of even a basic PC, you no longer have to worry about this and you can do things the &quot;long way&quot;, since the speed of the machine and its more complex CPU construction will make up for any short comings this approach has. This is great news of course, since it means that you no longer have to optimise every line of code you write, but if this is the case - should you really care about binary at all?</p>
<p>The answer is definitely &quot;yes, you should&quot;. While it&#39;s true you can still get some speed ups - and sometimes these can be significant - using binary and hex leads to a better understanding of how the CPU operates and can also lead to writing better code, being able to pack data better, and making some tasks a lot simpler. This page is going to explain a bit about what binary is as well as how it can be used when making your games.</p>
<p class="note"><span data-conref="../assets/snippets/Tag_note.hts"> </span> To write binary literals in GML, prefix them with <span class="inline2">0b</span> (e.g. <span class="inline2">0b0010</span>). See <a data-xref="{title}" href="../GameMaker_Language/GML_Overview/Data_Types.htm">Data Types</a> for more information.</p>
<p>Let&#39;s look at the most basic binary theory first - how numbers are created. Take a look at this table:</p>
<p>So let&#39;s look at the most basic binary theory first - how numbers are created. Take a look at this table:</p>
<p class="code">000 = 0<br />
001 = 1<br />
010 = 2<br />
Expand Down Expand Up @@ -201,7 +200,7 @@ <h1>Bitwise Operators And Binary</h1>
<div style="float:right">Next: <a href="Type_Tables.htm">Type Tables</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2021 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Bitwise Operators
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Compatibility Functions</title>
<meta name="generator" content="Adobe RoboHelp 2019" />
<link rel="stylesheet" href="../assets/css/default.css" type="text/css" />
<script src="../assets/scripts/main_script.js" type="module"></script>
<script src="../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Page that explains the various Compatibility Functions" />
<meta name="rh-index-keywords" content="Compatibility Functions" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Compatibility Scripts</title>
<meta name="generator" content="Adobe RoboHelp 2020"/>
<link rel="stylesheet" href="../assets/css/default.css" type="text/css"/>
<script src="../assets/scripts/main_script.js" type="module"></script>
<script src="../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander"/>
<meta name="topic-comment" content="Page that explains the compatibility scripts"/>
<meta name="rh-index-keywords" content="Compatibility Scripts"/>
Expand Down
6 changes: 3 additions & 3 deletions Manual/contents/Additional_Information/Error_Reporting.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Error Reporting</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="../assets/css/default.css" type="text/css" />
<script src="../assets/scripts/main_script.js" type="module"></script>
<script src="../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Page that explains the various Error Reporting systems." />
<meta name="rh-index-keywords" content="Error Reporting" />
Expand All @@ -19,7 +19,7 @@ <h1>Error Reporting</h1>
<p>The first form of error reporting is the <a href="Errors/Syntax_Errors.htm">Syntax Error</a>. This is an error in your code that <span data-keyref="GameMaker Name">GameMaker</span> has caught before you have tried to compile it and these will be shown in the IDE, either in the code editor or in the <a href="../Introduction/The_Output_Window.htm">Syntax Errors Output Window</a>:</p>
<p><img alt="Syntax Error Example" class="center" src="../assets/Images/Scripting_Reference/Additional_Information/Errors_Syntax.png" />The next level of error reporting is the <a href="Errors/Compiler_Errors.htm">Compiler Error</a>. These types of errors are more general than runner errors and may be due to some subtle error in the game code, which cause the it crash while it&#39;s <a class="glossterm" data-glossterm="Compiling" href="#">Compiling</a>, before it even gets a chance to run. These too will be reported in the Compiler Errors Output Window:</p>
<p><img alt="Compile Error Example" class="center" src="../assets/Images/Scripting_Reference/Additional_Information/Errors_Compile_Output.png" />If the game compiles and an error occurs, you&#39;ll get a <a href="Errors/Runner_Errors.htm">Runner Error</a>. This type of error will show an onscreen message, much like the one shown below:</p>
<p><img alt="Error Report Example" class="center" src="../assets/Images/Scripting_Reference/Additional_Information/Error_Report.png" />Most runner error messages follow the same outline, with a message stating the type of error, the instance and event in which the error was encountered, then a series of runner details that explain the error in a lot more depth and, finally, a list of all the declared global, instance and local variables in your game at that point. At the very bottom is the <strong>Abort </strong>button which will abort the game, as well as the <strong>Copy </strong>button (which copies the error into the clipboard) and the <strong>Clear </strong>button which clears the error messages from the window. The information provided by the error reporting here is very important as it detects and reports the large, syntax related bugs that are going to cause your finished game to crash, but note that it won&#39;t report more subtle bugs, nor does it give feedback on performance... for that you need to use the <a href="../IDE_Tools/The_Debugger.htm">Debugger</a>.</p>
<p><img alt="Error Report Example" class="center" src="../assets/Images/Scripting_Reference/Additional_Information/Error_Report.png" />Most runner error messages follow the same outline, with a message stating the type of error, the instance and event in which the error was encountered, then a series of runner details that explain the error in a lot more depth and, finally, a list of all the declared global, instance and local variables in your game at that point. At the very bottom is the <strong>Abort </strong>button which will abort the game, as well as the <strong>Copy </strong>button (which copies the error into the clipboard) and the <strong>Clear </strong>button which clears the error messages from the window. The information provided by the error reporting here is very important as it detects and reports the large, syntax related bugs that are going to cause your finished game to crash, but note that it won&#39;t report more subtle bugs, nor does it give feedback on performance... for that you need to use the the <a href="../IDE_Tools/The_Debugger.htm">Debugger</a>.</p>
<p>The following pages outline all the different Syntax, Runner, and Compiler errors that you can get and what they mean:</p>
<ul class="colour">
<li><a href="Errors/Syntax_Errors.htm">Syntax Errors</a></li>
Expand All @@ -36,7 +36,7 @@ <h1>Error Reporting</h1>
<div style="float:right">Next: <a data-xref="{title}" href="../Settings/Runner_Details/Runner_Details.htm">Runner &amp; Compiler</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. 2022 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
Error Reporting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Compiler Errors</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="../../assets/css/default.css" type="text/css" />
<script src="../../assets/scripts/main_script.js" type="module"></script>
<script src="../../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Page that explains the various compiler errors" />
<meta name="rh-index-keywords" content="Compile Errors" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<title>Runner Errors</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<link rel="stylesheet" href="../../assets/css/default.css" type="text/css" />
<script src="../../assets/scripts/main_script.js" type="module"></script>
<script src="../../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Page that explains the various runner errors" />
<meta name="rh-index-keywords" content="Runtime Errors,Runner Errors" />
<meta name="search-keywords" content="runner errors, runtime errors" />
<meta name="search-keywords" content="runner errors" />
</head>
<body>
<!--<div class="body-scroll" style="top: 150px;">-->
Expand Down Expand Up @@ -94,7 +94,7 @@ <h1><span data-field="title" data-format="default">Runner Errors</span></h1>
<td style="padding-top: 5px;padding-right: 10px;padding-left: 10px;padding-bottom: 8px">Data Types</td>
<td style="padding-top: 5px;padding-right: 10px;padding-left: 10px;padding-bottom: 8px">This denotes an error in the conversion of one data-type into another.</td>
</tr>
<tr>
<tr>
<td style="text-align: center;padding-top: 5px;padding-right: 10px;padding-left: 10px;padding-bottom: 8px"><span class="inline">Argument Type</span></td>
<td style="border-width: 1px;border-style: #333333;border-color: 1px;padding-top: 5px;padding-right: 10px;padding-left: 10px;padding-bottom: 8px">(function) argument (index) incorrect type (wrong_type) expecting a (expected_type)</td>
<td style="padding-top: 5px;padding-right: 10px;padding-left: 10px;padding-bottom: 8px">Data Types</td>
Expand Down Expand Up @@ -341,7 +341,6 @@ <h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All R
</div>
<!-- KEYWORDS
Runner Errors
Runtime Errors
-->
<!-- TAGS
runner_errors
Expand Down
Loading

0 comments on commit f986921

Please sign in to comment.