-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathGameMaker_Language.htm
More file actions
55 lines (55 loc) · 4.38 KB
/
GameMaker_Language.htm
File metadata and controls
55 lines (55 loc) · 4.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?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" />
<meta name="generator" content="Adobe RoboHelp 2022" />
<title>GameMaker Language</title>
<meta name="topic-status" content="Draft" />
<link rel="stylesheet" type="text/css" href="assets/css/default.css" />
<script src="assets/scripts/main_script.js" type="module"></script>
<meta name="template" content="assets/masterpages/Manual_Page.htt" />
<meta name="rh-authors" content="Gurpreet S. Matharoo" />
</head>
<body>
<h1 id="h"><span data-field="title" data-format="default">GameMaker Language</span></h1>
<p>You can use GameMaker Language to program your games in two different ways: by placing blocks to "write" code visually, or by writing code manually.</p>
<p>The first option, <a data-xref="{title}" href="Drag_And_Drop/Drag_And_Drop_Index.htm">GML Visual</a>, is best suited for beginners and hobbyists who want to get started making their own games quickly.</p>
<p>The second option, <a data-xref="{title}" href="GameMaker_Language/GameMaker_Language_Index.htm">GML Code</a>, allows you to harness the full power of GameMaker Language by writing your code manually.</p>
<p>While <span data-keyref="GML_Visual">GML Visual</span> is easier to start with, <span data-keyref="GML_Code">GML Code</span> is still an easy-to-use programming language with powerful features (<a href="GameMaker_Language/GML_Overview/Script_Functions.htm">Functions</a>, <a href="GameMaker_Language/GML_Overview/Method_Variables.htm">Methods</a>, <a data-xref="{title}" href="GameMaker_Language/GML_Overview/Structs.htm">Structs & Constructors</a>, etc.).</p>
<h2>Creating Visual/Code Scripts</h2>
<p>You are asked to choose between <span data-keyref="GML_Code">GML Code</span> and <span data-keyref="GML_Visual">GML Visual</span> on creating a new Object event, a new Script asset, or anything else that results in the creation of a script:</p>
<p><img class="center" src="assets/Images/Scripting_Reference/GML_Visual_Code_Dialog.png" />In addition to the choice between <span data-keyref="GML_Code">GML Code</span> and <span data-keyref="GML_Visual">GML Visual</span>, this window contains two checkboxes:</p>
<ul class="colour">
<li><strong>Don't ask again for this project</strong>: When this is enabled, it sets the "Default scripting language" <a href="Settings/Game_Options.htm">Game Option</a> to your new selection, so you are not asked to choose again for the current project.</li>
<li><strong>Don't ask again ever</strong>: When this is enabled, it sets the "Default scripting language" <a href="Setting_Up_And_Version_Information/IDE_Preferences/Language_Preferences.htm">Preference</a> to your new selection, so you are never asked to choose again, for <em>any </em>projects.</li>
</ul>
<h2><span data-keyref="GML_Visual">GML Visual</span></h2>
<p>This is GameMaker's <strong>Visual Scripting</strong> method that uses blocks of <em>actions </em>which are chained together to create your game's logic. The following sections explain how to use these actions:</p>
<ul class="colour">
<li><a data-xref="{title}" href="Drag_And_Drop/Drag_And_Drop_Overview/DnD_Overview.htm">GML Visual Overview</a></li>
<li><a data-xref="{title}" href="Drag_And_Drop/Drag_And_Drop_Reference/DnD_Reference.htm">GML Visual Reference</a></li>
</ul>
<h2><span data-keyref="GML_Code">GML Code</span></h2>
<p>Write GML code using functions, variables and other coding constructs, and create your game's logic. The following sections explain how to code using GML:</p>
<ul class="colour">
<li><a data-xref="{title}" href="GameMaker_Language/GML_Overview/GML_Overview.htm">GML Code Overview</a></li>
<li><a data-xref="{title}" href="GameMaker_Language/GML_Reference/GML_Reference.htm">GML Code Reference</a></li>
</ul>
<p> </p>
<div class="droptext" data-targetname="drop_down9">
<ul class="colour">
</ul>
</div>
<p> </p>
<div class="footer">
<div class="buttons">
<div class="clear">
<div>Back: <a data-xref="{title}" href="Content.htm">GameMaker Manual Index</a></div>
<div> </div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2025 All Rights Reserved</span></h5>
</div>
</body>
</html>