Difference between revisions of "Game Box Creation - Control File Semantics"

From BOARD18 Project WIKI
Jump to navigation Jump to search
(Initial version of this page)
 
(take two)
Line 1: Line 1:
{{Game Box Creation Index}}
{{Game Box Creation Index}}
Until this page is written, you should look at the [[Design_Document_Game_Boxes#Control_Structures|design document]] for help.
'''Until this page is completed, you may want to look at the [[Design_Document_Game_Boxes#Control_Structures|design document]] for more help.'''
 
==Measurements==
Before starting work on the JSON file, you should create the image files for your game box.
After you have these image files you will have to determine a number
of measurements for each image file. These will make up most of the values in the JSON file.
The next two sections discuss this process on a image type basis.
 
===Game Board and Stock Market Image Files===
* Measure in pixels the hight and width of the file.
* Measure the distance in pixels from the left edge of the image to the start of the first [left most] hex on the map. This is the "xStart" value.
* Measure the distance in pixels from start of the left most hex on the map to the start of the second left most hex on the map. These two hexes will '''not''' be on the same row. On a properly scaled image file this will always be 50 pixels. This is the "xStep" value.
* Measure the distance in pixels from the top edge of the image to the start of the first [top most] hex on the map. This is the "yStart" value.
* Measure the distance in pixels from start of the top most hex on the map to the start of the second top most hex on the map. On a properly scaled image file this will always be 87 pixels. This is the "yStep" value.
 
===Tile and Token Sheet Image Files===
* Measure the distance in pixels from the left edge of the image to the start of the first [left most] tile or token on the sheet. This is the "xStart" value.
* Measure the width in pixels of a tile or token on the sheet. On a properly scaled image file this will always be 100 pixels. This is the "xSize" value.
* Measure the distance in pixels from start of the left most tile or token on the sheet to the start of the second left most tile or token on the sheet. On a single column token sheet this value is not used and could be zero. This is the "xStep" value.
* Measure the distance in pixels from the top edge of the image to the start of the first [top most] tile or token on the map. This is the "yStart" value.
* Measure the hight in pixels of a tile or token on the sheet. On a properly scaled image file this will always be 116 pixels. This is the "ySize" value.
* Measure the distance in pixels from start of the top most tile or token on the map to the start of the second top most tile or token on the map. This is the "yStep" value.
 
==Other Values==


{{Stub}}
{{Stub}}

Revision as of 11:03, 17 September 2013

Game Box Creation edit

Until this page is completed, you may want to look at the design document for more help.

Measurements

Before starting work on the JSON file, you should create the image files for your game box. After you have these image files you will have to determine a number of measurements for each image file. These will make up most of the values in the JSON file. The next two sections discuss this process on a image type basis.

Game Board and Stock Market Image Files

  • Measure in pixels the hight and width of the file.
  • Measure the distance in pixels from the left edge of the image to the start of the first [left most] hex on the map. This is the "xStart" value.
  • Measure the distance in pixels from start of the left most hex on the map to the start of the second left most hex on the map. These two hexes will not be on the same row. On a properly scaled image file this will always be 50 pixels. This is the "xStep" value.
  • Measure the distance in pixels from the top edge of the image to the start of the first [top most] hex on the map. This is the "yStart" value.
  • Measure the distance in pixels from start of the top most hex on the map to the start of the second top most hex on the map. On a properly scaled image file this will always be 87 pixels. This is the "yStep" value.

Tile and Token Sheet Image Files

  • Measure the distance in pixels from the left edge of the image to the start of the first [left most] tile or token on the sheet. This is the "xStart" value.
  • Measure the width in pixels of a tile or token on the sheet. On a properly scaled image file this will always be 100 pixels. This is the "xSize" value.
  • Measure the distance in pixels from start of the left most tile or token on the sheet to the start of the second left most tile or token on the sheet. On a single column token sheet this value is not used and could be zero. This is the "xStep" value.
  • Measure the distance in pixels from the top edge of the image to the start of the first [top most] tile or token on the map. This is the "yStart" value.
  • Measure the hight in pixels of a tile or token on the sheet. On a properly scaled image file this will always be 116 pixels. This is the "ySize" value.
  • Measure the distance in pixels from start of the top most tile or token on the map to the start of the second top most tile or token on the map. This is the "yStep" value.

Other Values


This page is a stub.
The BOARD18 Project will soon be expanding it.