var oldSceneMap_start = Scene_Map.prototype.start;
Scene_Map.prototype.start = function(){
oldSceneMap_start.call(this);
this.createCunstomHudWindow();
};
Scene_Map.prototype.createCunstomHudWindow = function(x,y,width,height){
var backSprite = new Sprite(ImageManager.loadPicture("HP_Bar"));
var suilie = new Sprite(ImageManager.loadPicture("HP_Red"));
var xuetiao = new Sprite(ImageManager.loadPicture("HP_Yellow"));
backSprite.x =200;
backSprite.y=200;
suilie.x =200;
suilie.y=200;
//suilie.opacity = 0 ;
xuetiao.x =200;
xuetiao.y=200;
this.addChild(backSprite);
this.addChild(xuetiao);
this.addChild(suilie);
}
var oldSceneMap_start = Scene_Map.prototype.start;
Scene_Map.prototype.start = function(){
oldSceneMap_start.call(this);
this.createCunstomHudWindow();
};
Scene_Map.prototype.createCunstomHudWindow = function(x,y,width,height){
var backSprite = new Sprite(ImageManager.loadPicture("HP_Bar"));
var suilie = new Sprite(ImageManager.loadPicture("HP_Red"));
var xuetiao = new Sprite(ImageManager.loadPicture("HP_Yellow"));
backSprite.x =200;
backSprite.y=200;
suilie.x =200;
suilie.y=200;
//suilie.opacity = 0 ;
xuetiao.x =200;
xuetiao.y=200;
this.addChild(backSprite);
this.addChild(xuetiao);
this.addChild(suilie);
}