| 本帖最后由 汪汪 于 2016-5-11 17:06 编辑 
 
 Scene_Map.prototype.createDisplayObjects = function() {        //创建精灵组    this.createSpriteset();        //创建地图名称窗口    this.createMapNameWindow();    //创建窗口层    this.createWindowLayer();        //创建所有窗口    this.createAllWindows();     //添加部分 创建一个显示名字的窗口    this.createNameWindow();   }; //创建一个显示名字的窗口Scene_Map.prototype.createNameWindow = function() {        this._nameWindow = new Window_Help(1) //设置为 一个 一行的  窗口帮助         this._nameWindow.setText("名字") //设置该窗口文本为 "名字"    this.addWindow(this._nameWindow); //窗口添加到窗口层 };
Scene_Map.prototype.createDisplayObjects = function() { 
        //创建精灵组 
    this.createSpriteset(); 
        //创建地图名称窗口 
    this.createMapNameWindow(); 
    //创建窗口层 
    this.createWindowLayer(); 
        //创建所有窗口 
    this.createAllWindows(); 
  
    //添加部分 创建一个显示名字的窗口 
    this.createNameWindow(); 
  
  
  
}; 
  
//创建一个显示名字的窗口 
Scene_Map.prototype.createNameWindow = function() { 
        this._nameWindow = new Window_Help(1) //设置为 一个 一行的  窗口帮助 
         this._nameWindow.setText("名字") //设置该窗口文本为 "名字" 
    this.addWindow(this._nameWindow); //窗口添加到窗口层 
  
}; 
 |