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 Oct 23, 2024
2 parents fbe294d + 86b259c commit 7337821
Show file tree
Hide file tree
Showing 30 changed files with 271 additions and 195 deletions.
8 changes: 4 additions & 4 deletions Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h3 class="dropspot"> Używanie tablic</h3>
total = array[0] + array[5];<br />
<br />
// Check an array value<br />
if array[9] == 10<br />
if (array[9] == 10)<br />
{<br />
    // Do something<br />
}<br />
Expand All @@ -76,11 +76,11 @@ <h3 class="dropspot"> Używanie tablic</h3>
<br />
for (var i = 0; i &lt; 10; ++i)<br />
{<br />
    total += array[i];<br />
    draw_text(32, 32 + (i * 32), array[i]);<br />
    _total += array[i];<br />
    draw_text(32, 32 + (i * 32), array[i]);<br />
}<br />
<br />
draw_text(32, 32 + (i * 32), total);
draw_text(32, 32 + (i * 32), _total);
</p>
<p class="dropspot">Powyższy kod zsumuje wszystkie wartości w naszej tablicy, narysuje każdą z nich, a następnie na końcu narysuje wartość całkowitą.</p>
<h3 class="dropspot"> Usuwanie tablic</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h4>Zwroty:</h4>
<h4>Przykład:</h4>
<p class="code">if part_emitter_exists(global.Sname, p_emit)<br />
{<br />
    part_emitter_destroy(global.Sname, p_emit1);<br />
    part_emitter_destroy(global.Sname, p_emit);<br />
}</p>
<p>Powyższy kod sprawdzi, czy emiter cząstek indeksowany w zmiennej &quot;p_emit&quot; istnieje w danym systemie cząstek, a jeśli tak, to zostanie zniszczony.</p>
<p> </p>
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 @@ -53,13 +53,14 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_particles_count.htm"><span class="notranslate">part_particles_count</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_particles_clear
--><!-- TAGS
-->
<!-- TAGS
part_particles_clear
--></body>
-->
</body>
</html>
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 @@ -54,13 +54,14 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_system_automatic_update.htm"><span class="notranslate">part_system_automatic_update</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_particles_count
--><!-- TAGS
-->
<!-- TAGS
part_particles_count
--></body>
-->
</body>
</html>
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 @@ -73,13 +73,14 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_particles_create_colour.htm"><span class="notranslate">part_particles_create_colour</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_particles_create
--><!-- TAGS
-->
<!-- TAGS
part_particles_create
--></body>
-->
</body>
</html>
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 @@ -79,14 +79,15 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_system_exists.htm"><span class="notranslate">part_system_exists</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_particles_create_colour
part_particles_create_color
--><!-- TAGS
-->
<!-- TAGS
part_particles_create_colour
--></body>
-->
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,71 +1,72 @@
<?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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>part_system_angle</title>
<meta name="generator" content="Adobe RoboHelp 2022"/>
<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="part_system_angle"/>
<meta name="search-keywords" content="part_system_angle"/>
<meta name="template" content="assets/masterpages/Manual_Keyword_Page.htt"/>
</head>
<body>
<h1><span data-field="title" data-format="default">part_system_angle</span></h1>
<p>This function changes the angle that the given particle system is rendered with.</p>
<p> </p>
<h4>Syntax:</h4>
<p class="code">part_system_angle(ind, angle);</p>
<table>
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<th>Argument</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>ind</td>
<td><span data-keyref="Type_ID_PartSys"><a href="GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_create.htm" target="_blank">Particle System ID</a></span></td>
<td>The particle system to change.</td>
</tr>
<tr>
<td>angle</td>
<td><span data-keyref="Type_Real"><a href="GameMaker_Language/GML_Overview/Data_Types.htm" target="_blank">Real</a></span></td>
<td>The new angle of the particle system.</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>Returns:</h4>
<p class="code"><span data-keyref="Type_Void">N/A</span></p>
<p> </p>
<h4>Example:</h4>
<p class="code">var _mouse_dir = point_direction(x, y, mouse_x, mouse_y);
<br/>
part_system_angle(pt_sys, _mouse_dir);</p>
<p>This gets the direction from the position of the instance towards the mouse cursor, and applies that as the angle of a particle system.</p>
<p> </p>
<p> </p>
<div class="footer">
<div class="buttons">
<div class="clear">
<div>Back: <a data-xref="{title}" href="Particle_Systems.htm">Particle Systems</a></div>
<div>Next: <a data-xref="{title}" href="part_system_global_space.htm">part_system_global_space</a></div>
</div>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>part_system_angle</title>
<meta name="generator" content="Adobe RoboHelp 2022" />
<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="part_system_angle" />
<meta name="search-keywords" content="part_system_angle" />
<meta name="template" content="assets/masterpages/Manual_Keyword_Page.htt" />
</head>
<body>
<h1><span data-field="title" data-format="default">part_system_angle</span></h1>
<p>This function changes the angle that the given particle system is rendered with.</p>
<p> </p>
<h4>Syntax:</h4>
<p class="code"><span data-field="title" data-format="default">part_system_angle</span>(ind, angle);</p>
<table>
<colgroup>
<col />
<col />
<col />
</colgroup>
<tbody>
<tr>
<th>Argument</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>ind</td>
<td><span data-keyref="Type_ID_PartSys"><a href="part_system_create.htm" target="_blank">Particle System Instance</a></span></td>
<td>The particle system to change.</td>
</tr>
<tr>
<td>angle</td>
<td><span data-keyref="Type_Real"><a href="../../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></td>
<td>The new angle of the particle system.</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>Returns:</h4>
<p class="code"><span data-keyref="Type_Void">N/A</span></p>
<p> </p>
<h4>Example:</h4>
<p class="code">var _mouse_dir = point_direction(x, y, mouse_x, mouse_y);<br />
part_system_angle(pt_sys, _mouse_dir);</p>
<p>This gets the direction from the position of the instance towards the mouse cursor, and applies that as the angle of a particle system.</p>
<p> </p>
<p> </p>
<div class="footer">
<div class="buttons">
<div class="clear">
<div>Back: <a data-xref="{title}" href="Particle_Systems.htm">Particle Systems</a></div>
<div>Next: <a data-xref="{title}" href="part_system_global_space.htm">part_system_global_space</a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
part_system_angle
--><!-- TAGS
-->
<!-- TAGS
part_system_angle
--></body>
-->
</body>
</html>
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 @@ -55,13 +55,14 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_system_update.htm"><span class="notranslate">part_system_update</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_system_automatic_draw
--><!-- TAGS
-->
<!-- TAGS
part_system_automatic_draw
--></body>
-->
</body>
</html>
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 @@ -58,13 +58,14 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_system_automatic_draw.htm"><span class="notranslate">part_system_automatic_draw</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2022 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_system_automatic_update
--><!-- TAGS
-->
<!-- TAGS
part_system_automatic_update
--></body>
-->
</body>
</html>
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 @@ -51,13 +51,14 @@ <h4>Przykład:</h4>
<div style="float:left">Powrót: <a href="Particle_Systems.htm">Układy cząstek stałych</a></div>
<div style="float:right">Następny: <a href="part_system_destroy.htm"><span class="notranslate">part_system_destroy</span></a></div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright <span class="notranslate">YoYo Games Ltd.</span> 2022 Wszystkie prawa zastrzeżone.</span></h5>
</div>
<!-- KEYWORDS
part_system_clear
--><!-- TAGS
-->
<!-- TAGS
part_system_clear
--></body>
-->
</body>
</html>
Loading

0 comments on commit 7337821

Please sign in to comment.