wabcmcc 发表于 2017-3-9 23:07 十分感谢! |
rpgmakermv論壇有方法解決置中問題:https://rpgmakermv.co/threads/scripting-centering-drawtextex.1306/ 程式我不懂,希望幚到你, 轉載以下, Code (Text): Window_Pop.prototype.drawCustomContents = function() { var popString = WPOP._popString; var stringWidth = this.textWidth(popString) / 2; var tx = LTN.Param.windowWidth / 2 - stringWidth; this.drawTextEx(popString, tx, 0); }; |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-1-14 18:39
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.