User Tools

Site Tools


gikopoi:maps

Gikopoi Maps

aka “Rooms” in the source code

Ctrl+shift+8 makes map grid visible

  • Blue: standing
  • Yellow: sitting
  • Red: blocked
  • Green: door

Map JSON

  • Default block size: 80x, 40y
  • For objects:
    • offset indicates where the top-left of image is placed, relative to background
    • x,y is used to determine what objects are drawn over others (eg, parts of the bar)
  • originCoordinates: bottom-left corner of 0,0 square

  • id – map name
  • group – irrelevant
  • scale – almost always “1”
  • size {x, y}
  • originCoordinates (x, y)
  • spawnPoint (named)
  • objects [ {x, y, offset, url} ]
  • sit [ {x, y} ]
  • blocked [ {x, y} ]
  • forbiddenMovements [ {xFrom, yFrom, xTo, yTo } ]
  • doors { named: {x, y, direction, target {roomId, doorId} }

The “offset” of objects appears to be relative to the map dimensions

gikopoi/maps.txt · Last modified: 2023-06-08 16:13 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki