Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<h1><span data-field="title" data-format="default">drawn_by_sequence</span></h1>
<p>This is a <strong>built-in variable</strong> that is part of the <a data-xref="{title}" href="../Instances/Instance_Variables/Instance_Variables.htm">Built-In Instance Variables</a> created for every object instance in your game. It returns <span class="inline2">true</span> if the instance is drawn by a sequence, or <span class="inline2">false</span> if the instance draws itself.</p>
<p>If this variable is set to <span class="inline2">true</span>, the instance isn&#39;t drawn where it normally would in the draw order but is drawn as part of a sequence, which <span>sorts the instance correctly with other elements of that sequence.</span></p>
<p>You can also change this variable to control whether the drawing is done by the sequence or the instance itself.</p>
<p> </p>
<h4>Syntax:</h4>
<p class="code"><span data-field="title" data-format="default">drawn_by_sequence</span></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<h1><span data-field="title" data-format="default">sequence_instance_override_object</span></h1>
<p>With this function you can override (replace) all instances of an object used in a sequence with another object or only the first instance of the given object with a given instance.</p>
<p>You supply the sequence instance struct (as returned when the sequence instance was created in the room or by using one of the room layer functions - see <a data-xref="{title}" href="../Rooms/Sequence_Layers/Sequence_Layers.htm">Sequence Elements</a>) as well as the object index for the object that you want to override (as defined in the Asset Browser). Finally you give an object index or an instance ID to use as the object (or single instance) that is going to override the sequence. Note that this can only be done on sequence instances (not sequence objects) and must be done before the sequence starts to play, otherwise it won&#39;t work.</p>
<p class="note"><span data-conref="../../../../assets/snippets/Tag_important.hts"> </span> If you use this function with a sequence instance that has multiple object tracks of the same object asset and you provide an instance ID as the third argument then only the first instance of the object_id is replaced with the given instance. The other object tracks will not get an instance.</p>
<p class="note"><span data-conref="../../../../assets/snippets/Tag_important.hts"> </span> If you provide an existing instance ID, the instance will stay on the layer it is already on. The instance isn&#39;t moved to the layer that the sequence instance/element is on. This is different from creating a sequence instance on a layer using <span class="inline3_func"><a data-xref="{title}" href="../Rooms/Sequence_Layers/layer_sequence_create.htm">layer_sequence_create</a></span>, where all instances are added to the layer with the sequence element.</p>
<p class="note"><span data-conref="../../../../assets/snippets/Tag_important.hts"> </span> If you use this function with a sequence instance that has multiple object tracks of the same object asset and you provide an instance ID as the third argument then only the first instance of the object is replaced with the given instance. The other object tracks will not get an instance.</p>
<p class="note"><span data-conref="../../../../assets/snippets/Tag_important.hts"> </span> If you provide an existing instance ID, the instance will stay on the layer it is already on, however its drawing will be taken over by the Sequence and it will be drawn at the Sequence&#39;s depth. To disable this and return the instance&#39;s drawing control back to it, set the instance&#39;s <span class="inline2"><a data-xref="{title}" href="drawn_by_sequence.htm">drawn_by_sequence</a></span> variable to <span class="inline2">false</span>.</p>
<h4>Syntax:</h4>
<p class="code"><span data-field="title" data-format="default">sequence_instance_override_object</span>(sequence_instance_struct, object_id, instance_or_object_id);</p>
<table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ <h1><span data-field="title" data-format="default">General Preferences</span></h
<li><strong>Case-Insensitive mode for project files (may affect performance)</strong>: Intended to be used to avoid issues with filename case sensitivity on non-Windows devices (macOS and Linux). Such issues can happen when transferring projects from Windows to non-Windows systems, using Git with <a href="https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreignoreCase">ignore case</a> enabled (which you should try disabling first) and/or renaming files only to change the case. This is disabled by default as it&#39;s a performance overhead and should not be required outside of the aforementioned cases.</li>
<li><strong>Enable Verbose Logging</strong>: This option enables verbose logging of network calls.</li>
<li><strong>Enable VSync</strong>: This option enables or disables vertical synchronisation within the IDE. VSync is enabled by default, though you can disable it using this setting if you&#39;re experiencing screen flickering with the IDE open. Note that any change to this setting requires a restart of the IDE.</li>
<li><strong>Enable DPI Override</strong>: This option lets you override the default DPI setting with your own. You must first enable the option and then set the <strong>Percentage of the native DPI</strong> (default value 100%), and once changed you will be prompted to restart the IDE, which may require you to save any work being done on the currently open project. Note that the DPi has a minimum percentage of 50% and a maximum of 500%, and if you you mouse over the information icon you can see the recommended maximum setting for the display being used:<br />
<li><strong>Enable DPI Override</strong>: This option lets you override the default DPI setting with your own. You must first enable the option and then set the <strong>Percentage of the native DPI</strong> (default value 100%), and once changed you will be prompted to keep or revert the change, where no input will result in the change being reverted. Note that the DPI has a minimum percentage of 50% and a maximum of 500%, and if you you mouse over the information icon you can see the recommended maximum setting for the display being used:<br />
<br />
<img alt="General DPi Override Recommendation" class="center" src="../../assets/Images/Setup_And_Version/Preferences/General_DPi_Override_Recomendation.png" />Note that if you go above the recommended DPi setting for the monitor, you will be shown a notification that permits you to reset the DPI.
<img alt="General DPi Override Recommendation" class="center" src="../../assets/Images/Setup_And_Version/Preferences/General_DPi_Override_Recomendation.png" />Note that if you go above the recommended DPI setting for the monitor, you will be shown a notification that permits you to reset the DPI.
</li>
<li><strong>Allow empty tabs to be closed via the keyboard shortcut</strong>: You can close any open Tabs using the keyboard shortcut <img alt="Icon CTRL" class="icon" height="20" src="../../assets/Images/Icons/Icon_Ctrl.png" width="55" /> / <img alt="Icon CMD" class="icon" height="20" src="../../assets/Images/Icons/Icon_Cmd.png" width="55" /> + <strong>W</strong>, but if you disable this option that shortcut will no longer work. This is enabled by default.</li>
</ul>
Expand Down
20 changes: 20 additions & 0 deletions Manual/contents/assets/scripts/main_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2613,6 +2613,14 @@ if (myParent == undefined) {
isNoContext = true;
}


// Delete parent if it already exists
var existingParent = window.parent.document.getElementById("dropParent");
if (existingParent != undefined) {
existingParent.remove();
}

// Create parent
var newParent = document.createElement("div");
newParent.id = "dropParent";
var parentStyle = `
Expand Down Expand Up @@ -2840,3 +2848,15 @@ bSelectList.addEventListener( "change", function(e) {
});
}
setTimeout(createBranchMenu, 40);

// Set tab title to page title in context-view
var titleSetup = function()
{
window.parent.document.title = document.title;
}

if (document.title != window.parent.document.title)
{
setTimeout(titleSetup, 40);
}

2 changes: 1 addition & 1 deletion build_robohelp_gh.bat
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ rem ── Determine S3 path based on preset ───────────
if /i %robohelpPreset%=="GMS2 Manual Responsive HTML5 BETA" (
set "S3_PATH=%S3_BUCKET%/Beta"
echo Branch is develop - Choose BETA
) else if /i "%robohelpPreset%"=="GMS2 Manual Responsive HTML5" (
) else if /i %robohelpPreset%=="GMS2 Manual Responsive HTML5" (
set "S3_PATH=%S3_BUCKET%/Green"
echo Branch is Main - Choose Green
) else (
Expand Down