设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MV 讨论区 › Mini tutorial package.json: Mini tutorial package.json-1.jpg

Mini tutorial package.json: Mini tutorial package.json-1.jpg

 

Mini tutorial package.json:
this tutorial counts for NWJS 48.4 or higher (might be for some lower version).

MV start with 0.29 and the game resolution start in the center.

when you update the NWJS it always start in the upper top-left corner and cannot be set
to the center or coded to make it effective.

this require YOU as dev to code a single line of code to the package.json file (as shown below).
toolbar might crash if used while coding for higher version as this is REMOVED, probably called
differently but has no effect on the game itself (this require some coding to disable it effectively).




the width/height are probably changeable by plugins useage and altered there dynamicly.
but once you set position to center as shown, this start your game in the center of your screen,
not in the top-left corner.

so if you use a different version of NWJS other then 0.29 or does not work in MZ, this might work
for you as well



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

幸运抽奖

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

立即查看

Loading...

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

GMT+8, 2026-10-3 10:48 , Processed in 0.113623 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部