| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 1222 | 
 
| 最后登录 | 2016-11-8 | 
 
| 在线时间 | 10 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 50 
 
        - 在线时间
 - 10 小时
 
        - 注册时间
 - 2016-9-1
 
        - 帖子
 - 10
 
 
 
 | 
	
function Window_Testing() { 
    this.initialize.apply(this, arguments); 
} 
Window_Testing.prototype = Object.create(Window_Selectable.prototype); 
Window_Testing.prototype.initialize = function(x, y, width, height) { 
    Window_Selectable.prototype.initialize.call(this, x, y, width, height); 
    this.drawSomeText(); 
} 
  
Window_Testing.prototype.drawSomeText = function() { 
    var textW = 360; 
    var textH = 0; 
    this.drawText("喵喵喵喵", 0, 0, textW, 'left'); 
    textH += this.lineHeight(); 
    this.drawText("下面", 0, textH, textW, 'left'); 
    textH += this.lineHeight(); 
    this.drawText("哇", 0, textH, textW, 'center'); 
    textH += this.lineHeight(); 
    this.drawText("走你", 0, textH, textW, 'right');} 
  
function Scene_Testing() { 
    this.initialize.apply(this, arguments); 
} 
Scene_Testing.prototype = Object.create(Scene_MenuBase.prototype); 
Scene_Testing.prototype.initialize = function() { 
    Scene_MenuBase.prototype.initialize.call(this); 
}; 
Scene_Testing.prototype.create = function() { 
Scene_MenuBase.prototype.create.call(this); 
    this._commandWindow = new Window_Testing(0,470, 810, 150); 
this.addWindow(this._commandWindow); 
} 
Scene_Testing.prototype.update = function() { 
    if (Input.isTriggered('escape') || Input.isTriggered('cancel')) { 
        this._commandWindow.hide(); 
        SceneManager.goto(Scene_Map); 
    } 
}; 
 
拿去吧,窗口插件 |   
 
 
 
 |