Permalink
Browse files

Update map exporter docs

  • Loading branch information...
sork committed Apr 10, 2012
1 parent fc9f6c6 commit af32d247cac3495ca430d0effbb88dd5f3250b2c
Showing with 3 additions and 4 deletions.
  1. +3 −4 tools/maps/README.md
View
@@ -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:**

9 comments on commit af32d24

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?

Collaborator

nickdesaulniers replied Feb 12, 2015

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!

Thanks! :)

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)

@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

@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)

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

@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.

Hey! I have played the game in my school's BT site. So maybe our website is controlled by someone who wants to test your game HaHa~ no care.And when the number of users is above 200, I always lose the Internet connection...

Please sign in to comment.