Pic Resources: Overview
All the background images in SCI games are made up of pic resources. These are vectored images with a width of 320 and height of 190 pixels. Not only do they contain the background picture, but also the room's boundries and priorities.

Pic resources are stored in a vector format as opposed to a bitmap. This means that rather than storing the image's 320x190 pixels, it stores steps to draw the picture. For example, it may store something like "set colour->blue", "draw line from (36,43) to (99,124)". This saved significant space, but is not as efficient speed-wise.

Each pic can store up to three seperate screens in it: Visual, Priority and Control.

  • Visual - The visible screen which the player sees.
  • Priority - Used to give the "3D" look. An example of it's use would be to colour a tree, so that when the game's character walks behind it, they become hidden. For more information on priorities, take a look at the priority overview.
  • Control - The boundries. This tells the interpreter to prevent the game's character from going to certain parts of the screen. For example, you could use it on a fence, or a rock. You can't have the player walking though rocks!

Though SCI0 games are only 14 colours, pic resources contain 4 palettes. Each palette contains 40 colours. The colours in the palettes are each made up of two of the 16 colours. One palette is displayed at a time. The best use of this feature would be for showing the picture with both a day and a night look. This was used frequently in Quest for Glory.

You can use the picture editor To create and edit pics.