Game Box Creation - Control File Semantics
Jump to navigation
Jump to search
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. |