- Joined
- Oct 13, 2016
- Messages
- 97
- Reaction score
- 9
- First Language
- Filipino
- Primarily Uses
- N/A
Ive watched a tutorial about making custom windows, so I tried making some. Date window, currency window but I cant make a window with the actors face. it just wont show
am I doing it wrong
am I doing it wrong
Code:
/*:
* @plugindesc FaceWindow
* @author JohanesGroon
* @help
*/
(function(){
var _Scene_Map_start = Scene_Map.prototype.start;
Scene_Map.prototype.start = function() {
_Scene_Map_start.call(this);
this._createfacewindow = new Face_Window(544, 417);
this.addChild(this._createfacewindow);
};
function Face_Window() {
this.initialize.apply(this, arguments);
}
Face_Window.prototype = Object.create(Window_Base.prototype);
Face_Window.prototype.constructor = Face_Window;
Face_Window.prototype.initialize = function(x, y) {
Window_Base.prototype.initialize.call(this, x, y, 252,187);
this.drawFace("Actor1", 1, 0, 0, 144, 144);
};
})();
