| 
如图,在对话框显示同时显示了图片,但是这个图片是在文字和对话框的上面的,如何把图片放在他们之下呢?
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  
 我试了this._backSprite.z = -1 但是没作用……
 
 
 Padthai_Message_enhance = Window_Message.prototype.createSubWindows;Window_Message.prototype.createSubWindows = function() {        Padthai_Message_enhance.call(this);        //=============新添加=================================    this._backSprite = new Sprite();        this._backSprite.bitmap = ImageManager.loadSystem('Dialog_1366');        this._backSprite.x = Graphics.boxWidth/40;        this._backSprite.y = -50        //this._backSprite.z = -99        //alert(Graphics.boxHeight)        //alert(this._backSprite.bitmap.rect[0])    this.addChild(this._backSprite);};
Padthai_Message_enhance = Window_Message.prototype.createSubWindows; 
Window_Message.prototype.createSubWindows = function() { 
        Padthai_Message_enhance.call(this); 
        //=============新添加================================= 
    this._backSprite = new Sprite(); 
        this._backSprite.bitmap = ImageManager.loadSystem('Dialog_1366'); 
        this._backSprite.x = Graphics.boxWidth/40; 
        this._backSprite.y = -50 
        //this._backSprite.z = -99 
        //alert(Graphics.boxHeight) 
        //alert(this._backSprite.bitmap.rect[0]) 
    this.addChild(this._backSprite); 
}; 
 
   |