| 赞 | 1 |
| VIP | |
| 好人卡 | |
| 积分 | 3 |
| 经验 | |
| 最后登录 | 2026-11-2 |
| 在线时间 | 73 小时 |
- 梦石
- 0
- 星屑
- 327
- 在线时间
- 73 小时
- 注册时间
- 2019-1-10
- 回帖
- 10
|
楼主 |
发表于 2019-5-16 03:37:51
|
显示全部楼层
感谢永逝大佬
- function Scene_FHSS() {
- this.initialize.apply(this, arguments);
- }
- Scene_FHSS.prototype = Object.create(Scene_MenuBase.prototype);
- Scene_FHSS.prototype.constructor = Scene_FHSS;
- Scene_FHSS.prototype.initialize = function() {
- Scene_MenuBase.prototype.initialize.call(this);
- };
- //---------------------------------------------------------------
- function indexwindow() {
- this.initialize.apply(this, arguments);
- };
- indexwindow.prototype = Object.create(Window_Selectable.prototype);
- indexwindow.prototype.constructor = indexwindow;
- indexwindow.prototype.initialize = function(x, y, width, height) {
- Window_Selectable.prototype.initialize.call(this, x, y, width, height);
- this.refresh();
- };
- function leftwindow() {
- this.initialize.apply(this, arguments);
- };
- leftwindow.prototype = Object.create(Window_Selectable.prototype);
- leftwindow.prototype.constructor = leftwindow;
- leftwindow.prototype.initialize = function(x, y, width, height) {
- Window_Selectable.prototype.initialize.call(this, x, y, width, height);
- this.refresh();
- };
- function topwindow() {
- this.initialize.apply(this, arguments);
- };
- topwindow.prototype = Object.create(Window_Selectable.prototype);
- topwindow.prototype.constructor = topwindow;
- topwindow.prototype.initialize = function(x, y, width, height) {
- Window_Selectable.prototype.initialize.call(this, x, y, width, height);
- this.refresh();
- };
- Scene_FHSS.prototype.create = function() {
- Scene_MenuBase.prototype.create.call(this);
- this.topwindow();
- this.leftwindow();
- this.indexwindow();
-
- };
- Scene_FHSS.prototype.leftwindow = function(){
- this._leftwindow = new leftwindow(0,115, 340, 749);
- this.addWindow(this._leftwindow);
- };
- Scene_FHSS.prototype.indexwindow = function(){
- this._indexwindow = new indexwindow(340,115, 908, 749);
- this.addWindow(this._indexwindow);
- };
- Scene_FHSS.prototype.topwindow = function(){
- this._topwindow = new topwindow(0,0, 1248, 115);
- this.addWindow(this._topwindow);
- };
- Scene_FHSS.prototype.update = function() {
- Scene_MenuBase.prototype.update.call(this);
- if (Input.isTriggered('escape') || Input.isTriggered('cancel') || TouchInput.isCancelled()) {
- this.popScene();
- }
- };
复制代码 |
|