Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into luke-test
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 24, 2023
2 parents 17e64ee + ebf2613 commit b566151
Show file tree
Hide file tree
Showing 145 changed files with 271 additions and 198 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Beta
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '.github/workflows/**'
branches:
- develop

Expand Down Expand Up @@ -32,7 +34,7 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
- name: Beta Builds
if: github.event.pull_request.base.ref == 'develop' || github.event_name == 'workflow_dispatch'
run: build_robohelp_gh.bat -beta %GITHUB_WORKSPACE%\output
run: build_robohelp_gh.bat %GITHUB_WORKSPACE%\output
shell: cmd
working-directory: Manual
- name: Upload robohelp zip file
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/trigger-all-localisation-builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Trigger-Localisation-Builds

on:
workflow_dispatch:
inputs:
Language:
description: "Select All languages to build"
required: false
type: choice
options:
- ALL
BUILD_TYPE:
description: "Select individual language to build"
required: true
type: choice
options:
- main
- lts
- build


jobs:

Trigger-Localisation-Builds:
name:
runs-on: ubuntu-22.04
strategy:
matrix:
language: [PT-BR, DE, ES, FR, IT, JA, KO, PL, RU, ZH]
steps:
- name: Invoke Localisation Workflows
if: ${{ github.event.inputs.Language }} == 'ALL'
uses: benc-uk/workflow-dispatch@v1
with:
workflow: ${{ github.event.inputs.BUILD_TYPE }}.yml
repo: YoYoGames/GameMaker-Manual-${{ matrix.language }}
token: ${{ secrets.GH_TOKEN }}
continue-on-error: false



Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ <h1>Guide de construction de <span class="notranslate">Primitives</span> et de v
vertex_position(v_buff, 110, 110);<br />
vertex_colour(v_buff, c_white, 1);<br />
vertex_texcoord(v_buff, 1, 1);<br />
vertex_end(v_buff);<br />
<br />
// DRAW EVENT<br />
vertex_end(v_buff);</p>
<p class="code_heading">Draw Event</p>
<p class="code"><br />
var tex = sprite_get_texture(spr_Background, 0);<br />
shader_set(shd_shimmer);<br />
vertex_submit(v_buff, pr_trianglelist, tex);<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>Guide d'utilisation des tampons</h1>
<tbody>
<tr>
<th>Constant</th>
<th>description</th>
<th>Description</th>
</tr>
<tr>
<td><span class="notranslate"><span class="inline">buffer_fixed</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ <h2>Noms de script et noms de fonction</h2>
<br />
indirectCall(method(undefined, myscript), arg);<br />
<br />
// OR<br />
<br />
// 2<br />
function indirectCall(func, arg)<br />
{<br />
    script_execute(func, arg);<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ <h1>Variables globales</h1>
<p>Avec les variables globales, nous pouvons changer les valeurs et voir ces changements se refléter dans toutes les instances des objets qui font référence à cette variable. Comme pour les variables <i>locales</i>, vous devez veiller à ne pas nommer vos variables globales de la même manière que les variables d'instance, car cela pourrait vous poser des problèmes et faire apparaître des bogues dans vos jeux en raison du chevauchement des variables, ce qui peut parfois s'avérer difficile à déboguer. En général, vous devriez avoir un seul objet qui déclare toutes vos variables globales au tout début du jeu (par exemple, dans l'<a href="../../../The_Asset_Editors/Object_Properties/Other_Events.htm">événement Room Start</a> du premier objet placé dans la première pièce du jeu) ou une seule <a href="../Script_Functions.htm">fonction de script</a> qui les déclare toutes ensemble, car cela vous donne un endroit pratique pour revenir en arrière et tout référencer en même temps si vous avez besoin de vérifier un nom de variable ou de modifier une valeur.</p>
<p><span data-keyref="GameMaker Name">GameMaker</span> possède également une collection de variables globales &quot;intégrées&quot;. Vous devez donc les connaître car vous pouvez donner le même nom à l'une de vos variables d'instance ou souhaiter avoir votre propre variable globale avec le même nom et vous demander pourquoi vous obtenez des erreurs ! Elles sont cependant faciles à repérer, car elles sont affichées dans une couleur différente dans l'éditeur de code et apparaissent également dans la barre d'autocomplétion en bas de la page. La majorité des variables globales intégrées ont des utilisations très spécifiques et sont répertoriées dans les sections appropriées du manuel - cependant, il y en a deux importantes qui sont utilisées fréquemment et qui ne sont pas répertoriées ailleurs :</p>
<ul class="colour">
<li><a href="Builtin_Global_Variables/async_load.htm"><span class="inline">async_load</span></a></li>
<li><span class="inline"><a data-xref="{title}" href="Builtin_Global_Variables/async_load.htm">async_load</a></span></li>
<li><span class="inline"><a data-xref="{title}" href="../../GML_Reference/Game_Input/Gesture_Input/event_data.htm">event_data</a></span></li>
</ul>
<p>Il existe également trois variables globales construites et <b>dépréciées</b> dont vous devez être conscient (ces variables sont uniquement conçues pour prendre en charge les projets hérités des versions précédentes de <span class="notranslate">GameMaker</span> et doivent être utilisées dans le cadre de la mise en œuvre du projet). <b><i>ne pas être utilisé dans les nouveaux projets</i></b>) :</p>
<ul class="colour">
<li><a href="Builtin_Global_Variables/score.htm"><span class="inline">score</span></a></li>
<li><a href="Builtin_Global_Variables/health.htm"><span class="inline">health</span></a></li>
<li><a href="Builtin_Global_Variables/lives.htm"><span class="inline">lives</span></a></li>
<li><span class="inline"><a data-xref="{title}" href="Builtin_Global_Variables/score.htm">score</a></span></li>
<li><span class="inline"><a data-xref="{title}" href="Builtin_Global_Variables/health.htm">health</a></span></li>
<li><span class="inline"><a data-xref="{title}" href="Builtin_Global_Variables/lives.htm">lives</a></span></li>
</ul>
<p>Enfin, il existe deux variables qui peuvent être utilisées pour les fonctions et méthodes de script :</p>
<ul class="colour">
<li><span class="inline"><a href="Builtin_Global_Variables/argument.htm">argument</a></span></li>
<li><span class="inline"><a href="Builtin_Global_Variables/argument_count.htm">argument_count</a></span></li>
<li><a data-xref="{title}" href="Builtin_Global_Variables/argument.htm">argument</a></li>
<li><a data-xref="{title}" href="Builtin_Global_Variables/argument_count.htm">argument_count</a></li>
</ul>
<p>La forme suivante peut également être utilisée pour déclarer des variables globales, mais elle est <i><b>inclus uniquement pour la rétrocompatibilité</b></i>et il n'est pas recommandé d'utiliser ce formulaire pour les nouveaux projets, car les futures versions de <span class="notranslate">GameMaker</span> pourraient ne pas le prendre en charge.</p>
<p>La deuxième façon de créer des variables globales consiste à les déclarer en tant que telles à l'aide de la déclaration <span class="inline">globalvar</span>, tout comme vous le feriez pour une variable locale à l'aide de la déclaration <span class="inline">var</span>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ <h5><span data-keyref="Copyright Notice">Copyright <span class="notranslate">YoY
<!-- TAGS
instance_variables
-->

</body></html>
</body>
</html>
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>tag_get_assets</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 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>Audio</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 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>audio_play_sound_on</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 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>audio_falloff_set_model</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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h4>Exemple 1 :</h4>
<p class="code">if health &lt;= 0<br />
{<br />
    lives -= 1;<br />
    audio_play_sound(snd_PlayerDead, 10, false);<br />
    <span data-field="title" data-format="default">audio_play_sound</span>(snd_PlayerDead, 10, false);<br />
}</p>
<p>Le code ci-dessus vérifie la variable globale &quot;health&quot; et si elle est inférieure ou égale à 0, il enlève 1 à la variable globale &quot;lives&quot; et joue un son.</p>
<h4>Exemple 2 :</h4>
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>audio_sound_get_track_position</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 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>audio_sound_set_track_position</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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h4>Exemple :</h4>
<p> </p>
<p class="code">if place_meeting(x, y, obj_Blocker)<br />
{<br />
    path_end();<br />
    <span data-field="title" data-format="default">path_end</span>();<br />
}</p>
<p>Le code ci-dessus mettra fin à la trajectoire actuelle si l'instance détecte une collision avec une instance de l'objet donné.</p>
<p> </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ <h4>Les retours :</h4>
<p> </p>
<h4>Exemple :</h4>
<p class="code">global.myroom = room_add();<br />
room_set_width(global.myroom, 640);<br />
room_set_height(global.myroom, 480);<br />
room_set_width(global.myroom, 1280);<br />
room_set_height(global.myroom, 720);<br />
room_set_persistent(global.myroom, false);</p>
<p>Cette opération crée une nouvelle pièce et enregistre son index dans la variable &quot;global.myroom&quot;. Elle définit ensuite sa largeur à 640 pixels, sa hauteur à 480 pixels et sa persistance à <span class="inline">false</span>.</p>
<p> </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">index</span></td><td><span data-keyref="Type_Asset_Room"></span></td>
<td><span class="notranslate">The index of the room to check.</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">index</span></td><td><span data-keyref="Type_Asset_Room"></span></td>
<td><span class="notranslate">The index of the room to check the name of.</span></td>
Expand All @@ -39,7 +39,7 @@ <h4>Les retours :</h4>
<h4>Exemple :</h4>
<p class="code">var roomname = room_get_name(room);<br />
<br />
draw_text(32, 32, roomname);
draw_text(32, 32, _roomname);
</p>
<p>Le code ci-dessus obtiendra le nom de la pièce actuelle et l'affichera à l'écran.</p>
<p> </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h4>Syntaxe :</h4>
<tr>
<th>Arguments</th><th>Type</th>
<th>Description</th>
</tr>
</tr>
<tr>
<td><span class="notranslate">index</span></td><td><span data-keyref="Type_Asset_Room"></span></td>
<td><span class="notranslate">The index of the room to add an object instance to.</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>room_instance_clear</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">index</span></td><td><span data-keyref="Type_Asset_Room"></span></td>
<td><span class="notranslate">The index of the room to clear all instances in.</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4>Les retours :</h4>
<h4>Exemple :</h4>
<p class="code">if lives &lt; 1<br />
{<br />
    room_persistent = false;<br />
    <span data-field="title" data-format="default">room_persistent</span> = false;<br />
    room_goto(rm_start);<br />
}</p>
<p>Le code ci-dessus vérifie la variable &quot;lives&quot; et si elle est inférieure à 1, il définit la persistance de la pièce à <span class="inline">false</span> et change ensuite de pièce.</p>
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>room_set_camera</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 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>room_set_view_enabled</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 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>room_set_viewport</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 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>script_execute_ext</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 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_flush_multi</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">array</span></td><td><span data-keyref="Type_Array"></span></td>
<td><span class="notranslate">Array with the sprite indices to flush</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script src="../../../assets/scripts/main_script.js"></script>
<meta name="rh-authors" content="Mark Alexander" />
<meta name="topic-comment" content="Reference section for the Buffer functions" />
<meta name="rh-index-keywords" content="" />
<meta name="rh-index-keywords" content="Buffers" />
<meta name="search-keywords" content="Buffers" />
</head>
<body>
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>buffer_async_group_end</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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ <h4>Les retours :</h4>
<p> </p>
<h4>Exemple :</h4>
<p class="code">buffer_async_group_begin(&quot;save_folder_name&quot;);<br />
buffer_async_group_option(&quot;showdialog&quot;, false);<br />
buffer_async_group_option(&quot;slottitle&quot;, &quot;Catch The Haggis Save&quot;);<br />
buffer_async_group_option(&quot;subtitle&quot;, &quot;All your haggis are saved here!&quot;);<br />
<span data-field="title" data-format="default">buffer_async_group_option</span>(&quot;showdialog&quot;, false);<br />
<span data-field="title" data-format="default">buffer_async_group_option</span>(&quot;slottitle&quot;, &quot;Catch The Haggis Save&quot;);<br />
<span data-field="title" data-format="default">buffer_async_group_option</span>(&quot;subtitle&quot;, &quot;All your haggis are saved here!&quot;);<br />
save = buffer_save_async(buff, &quot;Player_Save.sav&quot;, 0, 16384);<br />
buffer_async_group_end();</p>
<p>Le code ci-dessus démarre un groupe <span class="notranslate">buffer</span> puis définit les options du groupe avant de définir 4 fichiers à sauvegarder de manière asynchrone. La définition du groupe est ensuite terminée (à ce moment-là, la sauvegarde commence).</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4>Les retours :</h4>
<p> </p>
<h4>Exemple :</h4>
<p class="code">ini_open(&quot;Save.ini&quot;);<br />
buff = buffer_base64_decode(ini_read_string(&quot;Save&quot;, &quot;Slot1&quot;, &quot;&quot;));<br />
buff = <span data-field="title" data-format="default">buffer_base64_decode</span>(ini_read_string(&quot;Save&quot;, &quot;Slot1&quot;, &quot;&quot;));<br />
ini_close();</p>
<p>Le code ci-dessus ouvrira un fichier ini, puis lira une chaîne de caractères dans la fonction de décodage. Cette fonction renvoie un indice <span class="notranslate">buffer</span>, qui est stocké dans la variable &quot;buff&quot;, contenant les données précédemment encodées et sauvegardées. Le fichier ini est ensuite fermé.</p>
<p> </p>
Expand Down
Loading

0 comments on commit b566151

Please sign in to comment.