Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 22, 2024
2 parents 854d8d7 + a1251a9 commit 9ec7c3d
Show file tree
Hide file tree
Showing 30 changed files with 1,584 additions and 1,472 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ <h2 id="h">When &#39;other&#39; changes</h2>
<li>When calling an unbound constructor function, <span class="inline2">other</span> will be the instance or struct that called that function. If the constructor is bound as a method, then <span class="inline2">other</span> will be the instance or struct to which the constructor method is bound.</li>
<li>When stored as a reference through a struct literal, covered below under &quot;<strong>&#39;other&#39; as a reference</strong>&quot;.</li>
</ul>
<h3 id="legacy_other_behaviour">Legacy other Behaviour</h3>
<p>In previous versions of <span data-keyref="GameMaker Name">GameMaker</span> <span class="inline2">other</span> only changed in the following cases: </p>
<ul class="colour">
<li>As part of the <span class="inline2">with</span> statement.</li>
<li>When <span class="inline2">new</span> is called when a constructor is executed <span class="inline2">other</span> is set to the <span class="inline2">self</span> at the point that <span class="inline2">new</span> was called.</li>
</ul>
<p>This behaviour can be enabled by the <a href="../../../Settings/Game_Options.htm#legacy_other_behaviour">Legacy Other Behaviour</a> game option.</p>
<h2>Struct Declaration</h2>
<p>Scope doesn&#39;t change inside a struct declaration, so <span class="inline2">other</span> refers to the same scope as <span class="inline2">self</span> (the <strong>current</strong> scope), meaning the struct or instance that&#39;s initialising the struct:</p>
<p class="code">var _struct =<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h4>Les retours :</h4>
<h4>Exemple :</h4>
<p class="code">if canshoot<br />
{<br />
    if (keyboard_check_pressed(vk_space)) <br />
    if (keyboard_check_pressed(vk_space))<br />
    {<br />
        canshoot = false;<br />
        alarm[0] = room_speed;<br />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Expand Down Expand Up @@ -94,13 +94,14 @@ <h4>Exemple 2 :</h4>
<div style="float:left">Retour : <a href="Instances.htm">Instances</a></div>
<div style="float:right">Suivant : <a href="instance_create_depth.htm"><span class="notranslate">instance_create_depth</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Tous droits réservés</span></h5>
</div>
<!-- KEYWORDS
instance_create_layer
--><!-- TAGS
-->
<!-- TAGS
instance_create_layer
--></body>
-->
</body>
</html>

Large diffs are not rendered by default.

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>sprite_get_bbox_bottom</title>
<meta name="generator" content="Adobe RoboHelp 2019" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -26,7 +26,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">ind</span></td><td><span data-keyref="Type_Asset_Sprite"></span></td>
<td><span class="notranslate">The index of the sprite to check.</span></td>
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>sprite_get_bbox_left</title>
<meta name="generator" content="Adobe RoboHelp 2019" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -26,7 +26,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">ind</span></td><td><span data-keyref="Type_Asset_Sprite"></span></td>
<td><span class="notranslate">The index of the sprite to check.</span></td>
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>sprite_get_bbox_mode</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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -25,7 +25,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">ind</span></td><td><span data-keyref="Type_Asset_Sprite"></span></td>
<td><span class="notranslate">The index of the sprite to check.</span></td>
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>sprite_get_bbox_right</title>
<meta name="generator" content="Adobe RoboHelp 2019" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -26,7 +26,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">ind</span></td><td><span data-keyref="Type_Asset_Sprite"></span></td>
<td><span class="notranslate">The index of the sprite to check.</span></td>
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>sprite_get_bbox_top</title>
<meta name="generator" content="Adobe RoboHelp 2019" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -27,7 +27,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">ind</span></td><td><span data-keyref="Type_Asset_Sprite"></span></td>
<td><span class="notranslate">The index of the sprite to check.</span></td>
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>camera_get_proj_mat</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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -25,7 +25,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">camera_id</span></td><td><span data-keyref="Type_ID_Camera"></span></td>
<td><span class="notranslate">The unique camera ID value returned when you created the camera</span></td>
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>camera_get_view_mat</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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -25,7 +25,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">camera_id</span></td><td><span data-keyref="Type_ID_Camera"></span></td>
<td><span class="notranslate">The unique camera ID value returned when you created the camera</span></td>
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>window_set_fullscreen</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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand All @@ -24,7 +24,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">full</span></td><td><span data-keyref="Type_Bool"></span></td>
<td><span class="notranslate">Whether to set the screen to fullscreen (true) or not (false).</span></td>
Expand Down
Loading

0 comments on commit 9ec7c3d

Please sign in to comment.