Customization

Preferences

To change the game's settings, select Settings->Preferences.... This opens the Preferences dialog.

The properties in the Player Selection tab are:

The properties in the Appearance and Behaviour tab are:

Theme selection

The theme menu lists available themes and lets you choose between them.

Keyboard control

These options let you arrange keyboard play to your liking. Select the entry box of the action you'd like to change, then press the key you'd like to perform that action.

Animation

Here you can toggle all animation on or off, or just enable or disable the wipe effects between games.

Sound type

Gnect can make sounds when certain events occur. If you choose the Speaker beep option, Gnect will beep when a game ends or if you make an illegal move. If you choose the GNOME sound option, Gnect will play the audio files you specify using the GNOME Control Center. To disable sound altogether, use the sound toggle in the Settings menu.

If stopping an unfinished game: Ask me first

If this option is selected, the program will ask you before quitting or starting a new game while there's a still game in progress.

To check your changes without closing the Preferences dialog, use the Apply button. Once you've made all the changes you want, select OK.

Custom Themes

This section's included in case you'd like to make your own themes for Gnect. It assumes you're familiar with basic text editing, graphics software and the command line.

Theme Files

Here's an example theme file, showing all possible keywords. Lines starting with a hash (#) are ignored. Note that values containing white space must be quoted.

#
# buttons_50x50.gnect (an example theme file)
#

# This theme's title (required)
Title = "Button Shop (large)"

# Tileset filename (required)
Tileset = tileset_50x50_buttonshop.png

# Full-window background image (optional)
Background = bg_buttonshop.jpg

# Description of player one's counter (required)
Player1 = Green

# Description of player two's counter (required)
Player2 = Yellow

# Grid colour (optional, defaults to RGB:52/5F/6C)
GridRGB = RGB:/FF/FF/FF

# Disable the grid for this theme (optional)
NoGrid

# Details (optional)
Tooltip = "artwork credits or whatever you like"

Legal values for the Player1 and Player2 keywords are as follows: Light, Dark, Black, White, Grey, Yellow, Red, Blue, Green, Orange, Purple, Pink, Violet, Brown.