Update Making Maps authored by Alecia Meredith's avatar Alecia Meredith
...@@ -35,7 +35,7 @@ The format for defining a hotspot in the map is ...@@ -35,7 +35,7 @@ The format for defining a hotspot in the map is
### Complex Layers ### Complex Layers
If you find yourself making a butt-ton of complex layer groups to do cool overlapping and buildings, it's most likely in your best interest to compress your layers into a single image layer. You can do this by checking which layers you want visible and going to `Save As Image`. Make sure `Use current zoom level` is unchecked to keep things in the proper resolution as the tiles. If you find yourself making a butt-ton of complex layer groups to do cool overlapping and buildings, it's most likely in your best interest to compress your layers into a single image layer. You can do this by checking which layers you want visible and going to `Export As Image`. Make sure `Use current zoom level` is unchecked to keep things in the proper resolution as the tiles. For any layers that are added above, it should have 'Include background color' selected also.
<p align="center"> <p align="center">
<img src="http://i.imgur.com/4O9U09N.png"/> <img src="http://i.imgur.com/4O9U09N.png"/>
...@@ -65,4 +65,4 @@ Next, make sure the Tile Layer Format is saved as csv. If it is not, change it. ...@@ -65,4 +65,4 @@ Next, make sure the Tile Layer Format is saved as csv. If it is not, change it.
</p> </p>
## Adding to the Game ## Adding to the Game
Once you are done with your map, it should be saved into the GameClient's /maps folder. The map must be added into the ServersForTest.java class in GameShared, making sure to increment the port number. ***IMPORTANT: The map must also be saved into the GameServer's /maps folder, otherwise inconsistent collision/tile layer information could exist between the client and server***. Finally a new run configuration must be created to run the new server (Make sure to add this run config to the wiki). Once you are done with your map, it should be saved into the GameServer's /maps folder. The map must be added into the ServersForTest.java class in GameShared, making sure to increment the port number. Finally a new run configuration must be created to run the new server (Make sure to add this run config to the wiki).
\ No newline at end of file \ No newline at end of file