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
Spoiler 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
复制代码
本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/change-tile-size.46748/