Preferences - Resource Tree


The Resource Tree Preferences

The Resource Tree Preferences are used to define certain properties for how the resource tree and its elements function. The main options are:

Here you can change the colour scheme used by GameMaker Studio 2 when showing the Resource Tree. This section is split into the three following groups:

  • Background: The Resource Tree Background Colour Preferences This section permits you to set the background colour for the main asset nodes in the Resource Tree. By clicking on any of them, you will open up the Colour Picker where you can choose the colour and alpha that is to be blended with the general IDE colour for the node. The default value of each is $FFFFFFFF.
  • The Resource Tree Background Colour Changing
  • Icon: The Resource Tree Icon Colour Preferences This section permits you to set the colour and alpha for the folder icons used to denote the different resource tree asset types. The default value of each is $FFFFFFFF. Note that if you set the alpha value to 0, you will not see these icons.

  • Label: The Resource Tree Label Colour Preferences The "label" is the text is used to describe or name the node or item in the resource tree, and here you can change the colour of the text as well as the font and styling to be used for it. You should first change the Default settings to create a base for all the resource tree nodes, and then go on to edit individual node label settings as required (note that they will all have "Use Default" selected to start with).

  • Miscellaneous Options: The Resource Tree Miscellaneous Colour Preferences These options affect certain global colour properties for the resource tree:
    • Horizontal separator colour: The colour of the bar that separates each discreet resource type in the tree. Default colour is $3E3E3EFF.

    • Tree line colour: The colour that will be used to draw the tree lines between different resource nodes. Default colour is $666666FF.

    • Node selection highlight: This is the colour that will be used to highlight any selected nodes within the resource tree. Default colour is $039D5BFF.

The Resource Tree Confirm Dialog Preferences

Here you can select the behaviour of the confirmation dialogues when working with a resource from the resource tree. The available options are:

  • Automatic response to resource deletion: When you delete a resource from the resource tree you normally get a warning asking if you are sure you want to proceed. By setting this option to "OK" the message will be suppressed as if you had clicked the "OK" button to proceed. The default value is "Show Message".

  • Automatic response to opening multiple resources: As mentioned above in the general Resource Tree preferences, when you open multiple resources at once from the resource tree, you can get a warning if the number exceeds the number specified. By setting this option to "OK" the warning will be suppressed as if you had clicked the "OK" button to proceed. The default value is "Show Message".

  • Automatic response to setting a room parent via node drag: When you drag a room over another room in the resource tree and then release it, you will be shown a message asking if you wish to make the room a "child" of the room being dropped on. By setting this option to "OK" the warning will be suppressed as if you had clicked the "OK" button to proceed. The default value is "Show Message".

  • Automatic response to deleting custom views: When you have created a custom Resource Tree view and then choose to delete it, you will be shown a message asking if you wish to continue and remove the view. By setting this option to "OK" the warning will be suppressed as if you had clicked the "OK" button to proceed. The default value is "Show Message".

  • Automatic response to DnD™ conversion to GameMaker Language: When you select the option to convert a DnD™ node to GML, you will be prompted to confirm the change as this cannot be undone. By setting this option to "OK" the warning will be suppressed as if you had clicked the "OK" button to proceed. The default value is "Show Message".