The map builder allows you to modify the look of your maps.
If you have your own custom tiles you will need to put(FTP) them in the correct folder:
- “images” - For unit/character images, these can not be added to the map but will be used in the engine.
- “imagesFloorTiles” - These images can be used to set the floor/ground of the map to something else.
- “imagesObjTiles” - These images can be added anywhere on the map.
- “imagesUnitBase” - Class images
- “imagesUnitItems” - Items that the unit can add, use or equip.
Select a Map
You can select a map to edit, by default you enter the map that your unit is currently on. You can also click “Add a Map” to have a new map created.
Map Size
This section allows you to change the width and height of the map.
Floor Tile Size
If you want to use an alternate tile size you can modify the width and height of the tile. Note changing the tile size will require you to change the tile spacing as well. Don’t panic if things get screwy, just change the values back to the default.
Tile Spacing
This is how far apart each tile is from one another, this should be altered when you alter the tile sizes. Be careful as this is not necessarily a one for one change. IE if you double the tile size, that does not mean you should double the tile spacing.
Change
This saves the changes you made to the map size, tile size and tile spacing.
Clear
Clears the map of all objects and functions. It does NOT clear the map of any players or enemy units on the map. You will get a popup alert requiring you to confirm that you want to clear the map.
Refresh
If your map just does not look right or your changes are not sticking, click the refresh button, it will reload the map from scratch. (Same as hitting F5 or your browser refresh)
Erase
Clicking this link will enable the erase action, any tile you click will be removed from the map. This includes any hidden function or actions. It will NOT remove units or a.i. from the map.
Objects
Clicking this link will display objects in the “Tiles” section. These can then be added to the map. Any image in the “imagesObjTiles” will be displayed and can be used.
Base Tiles
Clicking this link will display tiles that can be set as the map base. Any image in the “imagesFloorTiles” will be displayed and can be used.
Walkables
Clicking this link will highlight all the tiles that a unit can walk on and see through. After clicking this link, you can click a tile to make it walkable or non walkable. When you are done, you will need to refresh the map.
Tiles Section
Display all the tiles you can select, by default it shows all images in the “imagesObjTiles” folder.
Set as Base
Once a tile is selected from the “Tiles Section” it will appear in the top corner. One option that appers is “Set as Base” clicking this link will set the entire map to that tile.
Walkable
This is a Y or N field. You can enter Y and the tile that you are adding can be walked on by a unit.
Enter N and the tile can not be walked on, the default is N.
Call Function
When a user attempt to walk on this tile, you can call a special javascript function. There are a number of pre-built functions you can use (Click “help” to see a list).
You can add your own functions to “demo_multiPlayerFunctions.js”. Lots of fun you could do there!!!
SQL
All objects that get added to the map are saved in the iso_objects table.
The map information is updated to iso_map table.
Leave a Reply
You must be logged in to post a comment.
