Skip to content

Commit

Permalink
[General] Reviewed 'Movement and Controls' and 'Summary'
Browse files Browse the repository at this point in the history
  • Loading branch information
gurpreetsinghmatharoo committed Dec 19, 2023
1 parent d609882 commit cbdca5f
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 1,801 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<body>
<!--<div class="body-scroll" style="top: 150px;">-->
<h1><span data-keyref="GML_Code">GML Code</span> Reference</h1>
<p>This section of the manual is a reference guide for the <span data-keyref="GameMaker Name">GameMaker</span> Language (GML). You can find all the available functions documented here along with the required arguments and examples of code to show how they can be used. For information on how to use GML please see the </span> <a href="../GML_Overview/GML_Overview.htm">GML Overview</a><span> section of the manual.</p>
<p>This section of the manual is a reference guide for the <span data-keyref="GameMaker Name">GameMaker</span> Language (GML). You can find all the available functions documented here along with the required arguments and examples of code to show how they can be used. For information on how to use GML please see the <a href="../GML_Overview/GML_Overview.htm">GML Overview</a> section of the manual.</p>
<p class="note"><span data-conref="../../assets/snippets/Tag_note.hts"> </span> Anywhere the manual has &quot;N/A&quot; as a return value for a function, it means that the function is not meant to return any value as part of its operation. If you try to check for a return value from these functions then you will get the value <span class="inline2">undefined</span></p>
<ul class="colour">
<li><a href="Variable_Functions/Variable_Functions.htm">Variable Functions</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>gamepad_axis_value</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<meta name="generator" content="Adobe RoboHelp 2022" />
<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="Mark Alexander" />
Expand All @@ -30,19 +30,19 @@ <h4>Syntax:</h4>
</tr>
<tr>
<td>device</td>
<td><span data-keyref="Type_Real">Real</span></td>
<td><span data-keyref="Type_Real"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></td>
<td>Which gamepad device &quot;slot&quot; to check.</td>
</tr>
<tr>
<td>axisIndex</td>
<td><span data-keyref="Type_Constant_Gamepad_Axis">Gamepad Axis Constant</span></td>
<td><span data-keyref="Type_Constant_Gamepad_Axis"><a href="Gamepad_Input.htm" target="_blank">Gamepad Axis Constant</a></span></td>
<td>The axis index to check (see the <a href="Gamepad_Input.htm">constants list</a>).</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>Returns:</h4>
<p class="code"><span data-keyref="Type_Real">Real</span></p>
<p class="code"><span data-keyref="Type_Real"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></p>
<p> </p>
<h4>Example:</h4>
<p class="code">var haxis = gamepad_axis_value(0, gp_axislh);<br />
Expand All @@ -60,7 +60,7 @@ <h4>Example:</h4>
<div style="float:right">Next: <a href="gamepad_button_check.htm"> gamepad_button_check </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. 2023 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
gamepad_axis_value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>gamepad_button_check</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<meta name="generator" content="Adobe RoboHelp 2022" />
<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="Mark Alexander" />
Expand All @@ -29,19 +29,19 @@ <h4>Syntax:</h4>
</tr>
<tr>
<td>device</td>
<td><span data-keyref="Type_Real"><a href="../../../../../GameMaker_Language/GML_Overview/Data_Types.htm" target="_blank">Real</a></span></td>
<td><span data-keyref="Type_Real"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></td>
<td>Which gamepad device &quot;slot&quot; to check.</td>
</tr>
<tr>
<td>button</td>
<td><span data-keyref="Type_Constant_Gamepad_Button"><a href="../../../../../GameMaker_Language/GML_Reference/Game_Input/GamePad_Input/gamepad_axis_value.htm" target="_blank">Gamepad Button Constant</a></span></td>
<td><span data-keyref="Type_Constant_Gamepad_Button"><a href="Gamepad_Input.htm" target="_blank">Gamepad Button Constant</a></span></td>
<td>Which gamepad button <a href="Gamepad_Input.htm">constant</a> to check for.</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>Returns:</h4>
<p class="code"><span data-keyref="Type_Bool"><a href="../../../../../GameMaker_Language/GML_Overview/Data_Types.htm" target="_blank">Boolean</a></span></p>
<p class="code"><span data-keyref="Type_Bool"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Boolean</a></span></p>
<p> </p>
<h4>Example:</h4>
<p class="code">if <span data-field="title" data-format="default">gamepad_button_check</span>(0, gp_face1)<br />
Expand Down
Loading

0 comments on commit cbdca5f

Please sign in to comment.