Headers
Tags: Mobile edit Mobile web edit Advanced mobile edit
Adding a new Map Background: Minor spelling mistakes
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 79: Line 79:




Double click on Map Background, then click Add Background. All Map Backgrounds are divided by categories, depending on the first letter in the name, so it's preferred if the name for a new background won't start with S, T, D, G, H, P, V or W.  
Double click on Map Background, then click Add Background. All Map Backgrounds are divided by categories, depending on the first letter in the name, so it's preferred if the name for a new background doesn't start with S, T, D, G, H, P, V or W.  


After adding a new background, find it in the list, then double click on it. Then, click on Map, then Width and Height. Then, in your own file explorer, go to wherever a background you want to add is located, then find the image resolution. If the width or height are not multiple of 24, you must edit the image to fix it. Then, divide the image width and height by 24, and put the result in Width in chunks and Height in chunks respectively. If a background you want to add has two layers, go to Map->Settings and change the Number of layers to 2.
After adding a new background, find it in the list, then double click on it. Then, click on Map, then Width and Height. Then, in your own file explorer, go to wherever a background you want to add is located, then find the image resolution. If the width or height are not multiple of 24, you must edit the image to fix it. Then, divide the image width and height by 24, and put the result in Width in chunks and Height in chunks respectively. If a background you want to add has two layers, go to Map->Settings and change the Number of layers to 2.
Line 87: Line 87:
Now, go to Map->Import layers from image, select your image(s) and press Import. If your image imported - you're good. But sometimes, you may encounter an error about unique tiles.  
Now, go to Map->Import layers from image, select your image(s) and press Import. If your image imported - you're good. But sometimes, you may encounter an error about unique tiles.  


An image is divided by 8x8 tiles, and one image can only contain 1024 of unique tiles. Unique tile is a tile in the image that you cannot get even if you flip any other tile on X or Y axis. If you'll get an error stating that you have too much of them, you must either divide the image in 2 layers of you only have one layer, or by simplifying an image as much as you can.  
An image is divided by 8x8 tiles, and one image can only contain 1024 of unique tiles. Unique tile is a tile in the image that you cannot get even if you flip any other tile on X or Y axis. If you'll get an error stating that you have too much of them, you must either divide the image in 2 layers if you only have one layer, or by simplifying an image as much as you can.  


After a successful import, if your map will be used in the overworld, go to Map->Settings, change the amount of collisions to 1, then go to Collision 1 and put collision everywhere you need.  
After a successful import, if your map will be used in the overworld, go to Map->Settings, change the amount of collisions to 1, then go to Collision 1 and put collision everywhere you need.  


After that, go to '''Creating a scene''' part of this page to use this background.
After that, go to '''Creating a scene''' part of this page to use this background.