diff --git a/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm b/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm index 06ce493cf..39d181669 100644 --- a/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm +++ b/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm @@ -63,7 +63,7 @@

Używanie tablic

total = array[0] + array[5];

// Check an array value
- if array[9] == 10
+ if (array[9] == 10)
{
    // Do something
}
@@ -76,11 +76,11 @@

Używanie tablic


for (var i = 0; i < 10; ++i)
{
-     total += array[i];
-     draw_text(32, 32 + (i * 32), array[i]);
+     _total += array[i];
+     draw_text(32, 32 + (i * 32), array[i]);
}

- draw_text(32, 32 + (i * 32), total); + draw_text(32, 32 + (i * 32), _total);

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ą.

Usuwanie tablic

diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Emitters/part_emitter_destroy.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Emitters/part_emitter_destroy.htm index 38c995ed9..5e46cecd7 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Emitters/part_emitter_destroy.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Emitters/part_emitter_destroy.htm @@ -45,7 +45,7 @@

Zwroty:

Przykład:

if part_emitter_exists(global.Sname, p_emit)
{
-     part_emitter_destroy(global.Sname, p_emit1);
+     part_emitter_destroy(global.Sname, p_emit);
}

Powyższy kod sprawdzi, czy emiter cząstek indeksowany w zmiennej "p_emit" istnieje w danym systemie cząstek, a jeśli tak, to zostanie zniszczony.

diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_clear.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_clear.htm index 7067bd1f8..d6a8ef0ad 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_clear.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_clear.htm @@ -1,4 +1,4 @@ - + @@ -53,13 +53,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_particles_count
-
© Copyright YoYo Games Ltd. 2022 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_count.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_count.htm index ed3b7a6a0..4370cb0c0 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_count.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_count.htm @@ -1,4 +1,4 @@ - + @@ -54,13 +54,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_automatic_update
-
© Copyright YoYo Games Ltd. 2022 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create.htm index d9bed8504..0aa2dd5d2 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create.htm @@ -1,4 +1,4 @@ - + @@ -73,13 +73,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_particles_create_colour
-
© Copyright YoYo Games Ltd. 2022 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create_colour.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create_colour.htm index 4d7dfbfab..91c0eb866 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create_colour.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_particles_create_colour.htm @@ -1,4 +1,4 @@ - + @@ -79,14 +79,15 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_exists
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_angle.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_angle.htm index 5f2e78c19..f29334918 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_angle.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_angle.htm @@ -1,71 +1,72 @@ - + - - - part_system_angle - - - - - - - - - - -

part_system_angle

-

This function changes the angle that the given particle system is rendered with.

-

-

Syntax:

-

part_system_angle(ind, angle);

- - - - - - - - - - - - - - - - - - - - - - - -
ArgumentTypeDescription
indParticle System IDThe particle system to change.
angleRealThe new angle of the particle system.
-

-

Returns:

-

N/A

-

-

Example:

-

var _mouse_dir = point_direction(x, y, mouse_x, mouse_y); -
- part_system_angle(pt_sys, _mouse_dir);

-

This gets the direction from the position of the instance towards the mouse cursor, and applies that as the angle of a particle system.

-

-

- + +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_automatic_update.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_automatic_update.htm index 98ae01433..d13c6c370 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_automatic_update.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_automatic_update.htm @@ -1,4 +1,4 @@ - + @@ -58,13 +58,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_automatic_draw
-
© Copyright YoYo Games Ltd. 2022 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_clear.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_clear.htm index 9d5f88842..513d25287 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_clear.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_clear.htm @@ -1,4 +1,4 @@ - + @@ -51,13 +51,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_destroy
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_colour.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_colour.htm index 5f59c6cef..2ca27e9d5 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_colour.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_colour.htm @@ -1,12 +1,13 @@ - + - - - part_system_colour - - - - - -

part_system_colour

-

This function changes the blend colour and alpha that the given particle system is rendered with. This is similar to image_blend and image_alpha in instances.

-

-

Syntax:

-

part_system_color(ind, color, alpha);

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ArgumentTypeDescription
indParticle System IDThe particle system to change.
colorColourThe new colour of the particle system.
alphaRealThe new alpha of the particle system.
-

-

Returns:

-

N/A

-

-

Example:

-

part_system_colour(pt_sys, c_red, 0.5);

-

This changes the colour of a particle system to red, with an alpha of 0.5.

-

-

- + +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_destroy.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_destroy.htm index 5cecf4ce4..4f28bfaf8 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_destroy.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_destroy.htm @@ -1,4 +1,4 @@ - + @@ -54,13 +54,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_particles_clear
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_drawit.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_drawit.htm index bc674c795..74e3600f1 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_drawit.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_drawit.htm @@ -1,4 +1,4 @@ - + @@ -54,13 +54,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_draw_order
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_exists.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_exists.htm index 33ebe79ec..7465f1358 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_exists.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_exists.htm @@ -1,4 +1,4 @@ - + @@ -53,13 +53,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_create
-
© Copyright YoYo Games Ltd. 2022 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_get_layer.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_get_layer.htm index d88545913..763649226 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_get_layer.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_get_layer.htm @@ -41,7 +41,7 @@

Zwroty:

Przykład:

if (part_system_get_layer(global.p_sys) != "effects_layer")
{
-     part_system_layer(global.p_sys, "effects_layer";
+     part_system_layer(global.p_sys, _effects_layer);
}

Powyższy kod sprawdzi, na jakiej warstwie znajduje się układ cząsteczek, a jeśli nie znajduje się na podanej warstwie, zostanie zmieniony.

diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_position.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_position.htm index ec327245b..3389b76c1 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_position.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_position.htm @@ -1,4 +1,4 @@ - + @@ -63,13 +63,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_clear
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_update.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_update.htm index 5316f2ce7..9000a069f 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_update.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Systems/part_system_update.htm @@ -1,4 +1,4 @@ - + @@ -52,13 +52,14 @@

Przykład:

Powrót: Układy cząstek stałych
Następny: part_system_drawit
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
© Copyright YoYo Games Ltd. 2022 Wszystkie prawa zastrzeżone.
+ +--> + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_blend.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_blend.htm index c2d03aa49..fb9f5e038 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_blend.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_blend.htm @@ -4,7 +4,7 @@ part_type_blend - + diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_clear.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_clear.htm index a34c4e5f1..29699213d 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_clear.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_clear.htm @@ -4,7 +4,7 @@ part_type_clear - + diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_destroy.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_destroy.htm index b4c647f3b..c19326fbc 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_destroy.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_destroy.htm @@ -4,7 +4,7 @@ part_type_destroy - + diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_exists.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_exists.htm index 23847b320..860c8c343 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_exists.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_exists.htm @@ -4,7 +4,7 @@ part_type_exists - + diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_scale.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_scale.htm index 1efb6d83a..ef6f65fdc 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_scale.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Particles/Particle_Types/part_type_scale.htm @@ -4,7 +4,7 @@ part_type_scale - + diff --git a/Manual/contents/Setting_Up_And_Version_Information/IDE_Preferences/General/GXgames_Environments.htm b/Manual/contents/Setting_Up_And_Version_Information/IDE_Preferences/General/GXgames_Environments.htm index f4c696e74..52dcef64f 100644 --- a/Manual/contents/Setting_Up_And_Version_Information/IDE_Preferences/General/GXgames_Environments.htm +++ b/Manual/contents/Setting_Up_And_Version_Information/IDE_Preferences/General/GXgames_Environments.htm @@ -4,7 +4,7 @@ GX.games Environments - + @@ -14,7 +14,7 @@ -

GX.Games Environments Preferences

+

GX.games Environments Preferences

Help Prefs

This section allows you to change the currently selected environment for GX.games. You can choose between the main production environment, and the sandbox environment.

You can also set a path that contains custom environment JSON files.

@@ -28,7 +28,7 @@

GX.Games Environments Preferences

Next: Help
-
© Copyright YoYo Games Ltd. 2023 All Rights Reserved
+
© Copyright YoYo Games Ltd. 2024 All Rights Reserved