Chimpeon has been automating games for

2936days
Getting Started

Detecting a Fixed Pixel

Learn how to detect a fixed pixel in a game element such as an MMORPG spell icon

Detecting a Fixed Pixel image

This guide introduces you to the three stages of detecting a fixed pixel within a game element such as an MMORPG spell icon:

Before we start, the Pixel Detection window needs to be opened. To do this, perform the following actions:

  1. Click the Process setting list box of a suitable Condition.
  2. Click the Pixel Detection option.
  3. Click the Settings button (Settings button).

Pixel Detection window image

Fig. Pixel Detection window

MORE: To find out more about the basics of configuring Chimpeon, refer to the Getting Started guide.

Taking a Snapshot

The position of a pixel in the game window and the colour it must be before Chimpeon considers it detected or not detected, is largely specified within a component of the Pixel Detection window called Snapshot. Snapshot, like the name suggests, is a snapshot (static image) of an area of the game window where the pixel to look for is positioned. To take a snapshot of the game area, perform the following actions:

1. Move the cursor within the game window where the pixel appears

Game window image

2. Press the Alt key

A live view of the game area is displayed in Live centered at the cursor.

Live image

3. Click the Take Snapshot button (Take Snapshot button) or press Shift-S

A snapshot image is taken of Live and displayed in Snapshot.

Snapshot image

Now that the pixel to detect is displayed in Snapshot, its position and colour can be easily specified.

HINT: To make specifying a fixed pixel position or pixel colour easier, zoom into Snapshot using the Mousewheel Up button and zoom out using the Mousewheel Down button when the cursor is over Snapshot.

Specifying a Fixed Pixel Position

A fixed pixel always appears in the same position within the game window.

Example of a fixed pixel image

Fig. Example of a fixed pixel in an MMORPG spell icon

To indicate the use of a fixed pixel and to specify where in the game window it appears, perform the following actions:

1. Click the Position list box then click the Fixed option

Position setting list box Fixed option image

2. Move the cursor over the top of the pixel within Snapshot

Cursor positioned in Snapshot image

3. Press the Ctrl key

A crosshair appears in Snapshot and the Fixed X and Fixed Y settings are set to indicate the coordinates (in pixels) of the pixel in the game window.

Crosshair and Position X and Position Y settings image

Specifying a Pixel Colour

Now the position of a pixel has been determined, the colour of the pixel must be specified.

A fixed pixel in a game element such as an MMORPG spell icon will normally be a single colour.*

Example of a single colour pixel image

Fig. Example of a single colour pixel in an MMORPG spell icon that is not streamed

NOTE: If a game is being streamed, it is likely the pixel to look for will change colour slightly. For details about how to deal with this, refer to the Detecting Pixels in a Streamed Game Window guide.

To indicate the use of a single colour and to specify the colour, perform the following actions:

1. Click the Colour list box then click the Single option

Colour setting list box with Single option image

2. Move the cursor over the top of the required pixel in Snapshot

The required pixel will normally be the same as the one selected for the fixed pixel position.

Cursor positioned in Snapshot image

3. Press the left mouse button

A crosshair appears in Snapshot and the colour of the pixel is displayed.

Crosshair and Single Colour block/button image

UPDATED: 14 August 2021
Share:

Automate a Game Now!