Construct 3 icon

Construct 3

Documentation

Common conventions

Published 9 Aug, 2017
197 words
<1 min

For consistency, Construct usually uses some common conventions in how values are used. These are described below.

Common units

In Construct, sometimes you need to enter values such as angles, speeds or sizes. For consistency these always use the same units in Construct, except where noted by descriptions or tips shown in the editor. The common units are described below.

  • Positions are in pixels. The origin (0,0) is at the top-left of the layout, and the Y axis increments downwards (as is often the case with game engines).
  • Sizes are in pixels
  • Angles are in degrees. 0 degrees faces right and increments clockwise.
  • Times are in seconds
  • Speeds are in pixels per second
  • Accelerations are in pixels per second per second

Zero-based indexing

To be consistent with programming languages, all features of Construct using a number of an item in a list (indices) start from 0 instead of 1. This might seem odd at first and take some getting used to, but in many cases it is actually much more convenient than 1-based indexing.

Traditionally lists are numbered 1, 2, 3... but in Construct (and all other programming languages) they are numbered 0, 1, 2....