- Joined
- Mar 2, 2012
- Messages
- 46,153
- Reaction score
- 16,960
- First Language
- English
- Primarily Uses
- RMMV
Change Tile Size
by Shaz
version 1.1 2016.10.23
Introduction
This plugin allows you to change from the default tile size of 48x48 to something larger or smaller.
How to use
Add to your plugins folder (file name should be ChangeTileSize.js).
Set the Tile Size parameter to whatever you want your tile/grid size to be (ex 32).
If you want to edit your maps in the editor, duplicate your img/tilesets folder and set the Tileset Image Folder name to the new folder name - remember to include the / at the end. Then in the original img/tilesets folder, resize your images so they match a 48x48 tile size.
If you use parallax maps and want to edit your maps in the editor, duplicate your img/parallaxes/ folder and set the Parallax Image Folder name to the new folder name - remember to include the / at the end. Then in the original img/parallaxes folder, resize your images so they match a 48x48 tile size.
The new folders created are the ones that will be used when playing the game, and should contain your tilesets/parallaxes at the correct size. The originals are only going to be used for the editor, and resizing will lower the quality of the graphics, but it should be enough to allow you to work with your maps and events. These files should be removed when you build your game for distribution.
Plugin
Download from pastebin
Note - for anyone who's trying to increase the tile size, so you don't have to go searching for it, here's a mod you can make to allow Pixi to load larger files. Many thanks to Brogar for these instructions!
Credit
- Shaz
Terms
- free for use in commercial games
Revisions
by Shaz
version 1.1 2016.10.23
Introduction
This plugin allows you to change from the default tile size of 48x48 to something larger or smaller.
How to use
Add to your plugins folder (file name should be ChangeTileSize.js).
Set the Tile Size parameter to whatever you want your tile/grid size to be (ex 32).
If you want to edit your maps in the editor, duplicate your img/tilesets folder and set the Tileset Image Folder name to the new folder name - remember to include the / at the end. Then in the original img/tilesets folder, resize your images so they match a 48x48 tile size.
If you use parallax maps and want to edit your maps in the editor, duplicate your img/parallaxes/ folder and set the Parallax Image Folder name to the new folder name - remember to include the / at the end. Then in the original img/parallaxes folder, resize your images so they match a 48x48 tile size.
The new folders created are the ones that will be used when playing the game, and should contain your tilesets/parallaxes at the correct size. The originals are only going to be used for the editor, and resizing will lower the quality of the graphics, but it should be enough to allow you to work with your maps and events. These files should be removed when you build your game for distribution.
Plugin
Download from pastebin
Note - for anyone who's trying to increase the tile size, so you don't have to go searching for it, here's a mod you can make to allow Pixi to load larger files. Many thanks to Brogar for these instructions!
Credit
- Shaz
Terms
- free for use in commercial games
Revisions
Code:
1.1 2016.10.17 Catered for Tilemap tilesize to reduce choppiness
Removed dependency on js file name
2016.10.23 Ensure correct resources are included in build
1.2 2017.04.12 Fixed issue with 'exclude unused resources' on deployment
Last edited: