切換
舊版
前往
大廳
主題

RPGMV開發日誌2---修改狀態欄屬性文字位置

樟善 | 2016-08-13 09:50:57 | 巴幣 0 | 人氣 743

在RPGMV的狀態欄中,一開始會變成這樣:

但是這樣就會遮到臉了,所以同樣修改rpg_windows.js
在下方:
//更改狀態欄屬性位置
Window_Status.prototype.drawBlock1 = function(y) {
    this.drawActorName(this._actor, 250, y);    //名字的位置
    this.drawActorClass(this._actor, 400, y);    //職業的位置
    this.drawActorNickname(this._actor,550, y);
};

Window_Status.prototype.drawBlock2 = function(y) {
    this.drawActorFace(this._actor, 250, y);   //圖片的位置
    this.drawBasicInfo(20, y-50);              //基本資料的位置
    this.drawExpInfo(20, y+350);               //經驗值的位置
};

Window_Status.prototype.drawBlock3 = function(y) {
    this.drawParameters(20, y-70);
    this.drawEquipments(432, y);

調整之後,就變成:

有沒有比較好一點呢!

創作回應

更多創作