Gambas Map Format

From PigaLore
Jump to navigation Jump to search

The Gambas Map Format is the standard map format for all of the Piga Software game engines.

Elements

One line per grid point, with commas separating elements and carriage returns defining the next point.

  • # (Identifier)
  • X: (X coordinate)
  • Y: (Y coordinate)
  • Z: (Z coordinate)
  • A: (Angle)
  • W: (Width value)
  • H: (Height value)
  • D: (Depth value)
  • S: (Scale factor)
  • L: (Luminance)
  • C: (Colouration)
  • T: (Translucency)
  • B: (Base graphic)
  • O: (Overlay graphic)
  • K: (Kind)
  • M: (Material)
  • N: (Notification)

Example

#0, X: 22, Y: 22, Z: 0, A: 0, W: 32, H: 32, D: 0, S: 1, L: 1, C: Green, T: 100, B: "One.png", O: "Two.png", K: "Block", M: "Stone", N: "Stone wall blocks the way."

Engines

Engines to use the format.