Permalink
Browse files

Update map exporter docs

1 parent fc9f6c6 commit af32d247cac3495ca430d0effbb88dd5f3250b2c @sork sork committed Apr 10, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 tools/maps/README.md
@@ -11,7 +11,7 @@ Install the Tiled editor: http://www.mapeditor.org/
Open the `tmx/map.tmx` file in Tiled and start editing.
-Note: there currently is no documentation on how to edit BrowserQuest-specific objects/layers in Tiled. Please refer to `tmx/map.tmx` as an example if you want to create your own map.
+**Note:** there currently is no documentation on how to edit BrowserQuest-specific objects/layers in Tiled. Please refer to `tmx/map.tmx` as an example if you want to create your own map.
Using the exporter
@@ -32,9 +32,7 @@ Note: This tool was written with OSX in mind. If you are using a different OS (e
1. `cd tools/maps/`
-2.
-- Converting the client map: `./export.py client`
-- Converting the server map: `./export.py server`
+2. `./export.py client` or `./export.py server`
You must run both commands in order to export the client and server map files. There is no one-step export command for both map types yet.
@@ -50,6 +48,7 @@ These are both required because, depending on the browser, the game will load th
The client map file contains data about terrain tile layers, collision cells, doors, music areas, etc.
The server map file contains data about static entity spawning points, spawning areas, collision cells, etc.
+Depending on what you want to change, it's therefore not always needed to export both maps. Also, each `world_server.json` file change requires a server restart.
**How the exporting process works:**

8 comments on commit af32d24

@Justbod

Hey! I'm just and i'm 13 years old. I have a website and wanna make a virtual world. Can i use your source to make some things?

@nickdesaulniers
Collaborator

Hello young hacker! Welcome! Indeed you may; take a look at the software license for this project to see what you have the right to do with it. Go forth and with this power change the world!

@Justbod

Thanks! :)

@C0deAMet

I tried to play it to test but it said it could not connect to the server, could you tell me if this is a problem or if it's just down. thx
THENEWGAMECREATOR (TNGC)

@Zodzie
Zodzie commented on af32d24 Sep 1, 2016

@THENEWGAMECREATOR to play to test it, seems like it works: http://browserquest.mozilla.org/

If you have downloaded the code, make sure you have the server running before your run the client - client must also be directed to your server location

@C0deAMet

@Zodie, I have been trying to use it through the site but that's where it says I cannot connect to the server
THENEWGAMECREATOR (TNGC)

@Zodzie
Zodzie commented on af32d24 Sep 2, 2016

@THENEWGAMECREATOR http://browserquest.mozilla.org/ loads and connects for me over port 80. Maybe you have some type of parental filter

@C0deAMet

@Zodie that's probably it, yeah I've been on my school laptop, I'll try later on a different computer then tell you what happened.

Please sign in to comment.