Difference between revisions of "Game Box Creation - Control File Semantics"
Jump to navigation
Jump to search
(take two) |
(Added section for text values) |
||
Line 2: | Line 2: | ||
'''Until this page is completed, you may want to look at the [[Design_Document_Game_Boxes#Control_Structures|design document]] for more help.''' | '''Until this page is completed, you may want to look at the [[Design_Document_Game_Boxes#Control_Structures|design document]] for more help.''' | ||
Before starting work on the JSON file, you should create the image files for your game box. | Before starting work on the JSON file, you should create the image files for your game box. | ||
of measurements for each image file. These will make up most of the values in the JSON file. | ==Text Values== | ||
The start of the JSON file contains a number of text values. There are also some text values at the start of some top level objects in the file. These values are discussed here. | |||
==Measured Numeric Values== | |||
You will have to determine a number | |||
of measurements for each image file. These will make up most of the numeric values in the JSON file. | |||
These two sub-sections discuss this process for each image file type. | |||
===Game Board and Stock Market Image Files=== | ===Game Board and Stock Market Image Files=== |
Revision as of 05:49, 18 September 2013
Game Box Creation edit | |
Until this page is completed, you may want to look at the design document for more help.
Before starting work on the JSON file, you should create the image files for your game box.
Text Values
The start of the JSON file contains a number of text values. There are also some text values at the start of some top level objects in the file. These values are discussed here.
Measured Numeric Values
You will have to determine a number of measurements for each image file. These will make up most of the numeric values in the JSON file. These two sub-sections discuss this process for each image file type.
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. |