Creating a Magnetic Map

About Magnetic Map

Magnetic map allows for automatic alignment and rotation of chosen types of objects placed on the map. Its purpose is to ease the positioning of objects on the game boards and cards.

When a user drag-and-drops an object above the magnetic map cell, this object is automatically placed into the centre of the magnetic cell.

Features of the magnetic map:

  • Magnetic map can be attached to the game boards, cards, or tiles.
  • Cards, tiles, tokens, game pieces, dice, and counters can independently interact with magnetic map.
  • Magnetic map can be rectangular or round.
  • Angle of automatic rotation can be set for each cell of the magnetic map.
  • An object can be automatically flipped to the specified side (front or back) when placed on the map.

Examples:

Magnetic map in the Age of Steam game
Magnetic map in Age of Steam
Magnetic map in the King's Forge game
Magnetic map in King’s Forge
Magnetic map in the Septikon game
Magnetic map in  Septikon

Creating a Magnetic Map

Magnetic maps need to be created beforehand in a graphics editor and then uploaded to the Tabletopia. Magnetic maps can be created for game boards, card, and tiles.

To create a magnetic map:

  1. Open the graphics file of an object which will use a magnetic map in a graphics editor which allows for using layers and exporting to PNG or JPEG files, e. g. GIMP, Photoshop or Paint.NET.

magnetic_map4

2. Create a new backgroud layer and fill it with black color.

magnetic_map5

3. Make the initial image semi-transparent.

4. Make the background image active.

5. Draw magnetic cells using the tools of the image editor.

6. After you have done drawing, remove the initial image. Now you have only the magnetic cells painted on the black background.

magnetic_map8

 

Important Notes About Magnetic Cells

  • Only rectangular and round shapes are allowed. Other shape will lead to incorrect recognition of the magnetic cell.

magnetic_map9

  • Magnetic cells must not merge, there must be at least one pixel distance between them. Cell intersection will lead to incorrect recognition of the magnetic cells.

magnetic_map10

magnetic_map11

  • You can create a cell of a larger size than the marked zone on the initial image. But the center of the cell must coincide with the center of the marked zone.

magnetic_map12

Color of Magnetic Cells

Example of the different colored The color of the magnetic cell defines whether the object should be automatically flipped to the specified side (front or back):

  • Red color cell makes the object to be automatically placed front side up.
  • Blue color cell makes the object to be automatically placed back side up.

Any other color (excluding black) of the cell does not make the object to be automatically flipped. The object will keep its state when placed.

 

Automatic Rotation

When creating a magnetic map you can set a degree of an automatic rotation of the placed object. Draw a vector to do that:

  • The vector must be exactly 1 pixel width.

magnetic_map19

  • Use any color but black and the color of the magnetic cell.

magnetic_map20

  • The vector must be drawn roughly from the center of the cell to one of its sides.

magnetic_map21

 

Tip: If you need to place many identical cells, just copy the cell and paste it many times, adjusting the rotation degree when necessary.

Examples:

magnetic_map16
When the vector is going up from the centre the card is rotated up
magnetic_map17
When the vector is going down from the centre the card is rotated down

If there is no vector in the cell, the placed object will not be rotated when players place it down.

magnetic_map18
Card is not rotated automatically, when there is no vector

Adding Magnetic Map to Object

  1. After you have finished drawing the cells, remove the initial image. Now you have only the magnetic cells painted on the black background.

magnetic_map22

2. Export or save the image to a .PNG file.

3. Go to Workshop on Tabletopia.

4. Create new (click Create Object in Workshop) or edit an existent game board, card, or tile which will use this magnetic map.

5. Click Configure Magnetic Map in the object’s window and upload the magnetic map image. Note that the size in pixels of the initial image and its magnetic map must be exactly equal.

magnetic_map29

6. Click Publish and wait until the magnetic map preview is generated. Open the generated preview image and make sure all the magnetic cells and vectors are set correctly.

This magnetic map is correct
This magnetic map is correct
This magnetic map has intersection errors

7. Add the object to the setup (see Game Setups) and check it again by placing the objects on magnetic cells. If there are any errors, make corrections in the graphics editor and upload the image again.

magnetic_map28

Congratulations! Your magnetic map is complete.

Rate This Article

(64 out of 84 people found this article helpful)