设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MZ 讨论区 › OcRam_Map_Editor (edit maps in-game!): OcRam_Map_Editor.js

OcRam_Map_Editor (edit maps in-game!): OcRam_Map_Editor.js

 

OcRam_Map_Editor (edit maps in-game!):
Introduction

Unlike my other plugins this plugin won't need OcRam_Core in order to work.

This plugin provides autotiling (and B-E tiling) in-game for your RPG Maker projects! Enable autosave/load for edited map data with 1 plugin parameter!

OR then just do it with custom logics and disable autosave/load. Save map data with $gameMap.saveData() and load it with $gameMap.loadData()

Edit tiles with $gameMap.setAutoTile(x, y, z, tile_idx, d4)
x = X coordinate to paint
y = Y coordinate to paint
z = Layer to paint (starts with 0)
tile_idx = Tile index from left-to-right (starts with 0)


Spoiler: Tile indexes
Indexes 0 to 127 are autotiles. Indexes 128 to 255 will be processed as 'Normal tiles' even if used 'setAutoTile'.


And draw B-E tiles (or choose ANY shape from autotiles!)
$gameMap.setNormalTile(x, y, z, tile_id)
x = X coordinate to paint
y = Y coordinate to paint
tile_id = See spoiler


Spoiler: Tile id help
B = 0 to 255
C = 256 to 511
D = 512 to 767
E = 768 to 1023
A1 (Animations) = 2048 to 2815
A2 (Ground) = 2816 to 4351
A3 (Buildings) = 4352 to 5887
A4 (Walls) = 5887 to 8191
A5 = 1536 to 1663
I've tested this also in MV and seems to work same way as in MZ.

Terms of Use: Free to use with credits to 'OcRam'

This plugin has no overwrites at all, so it should be placed bottom of your plugin list.

Happy RPG Making!


本贴来自国际rpgmaker官方论坛作者:OcRam处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/ocram_map_editor-edit-maps-in-game.151717/
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-5 22:47 , Processed in 0.098520 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部