したらばTOP ■掲示板に戻る■ 全部 1-100 最新50 | |

ツクール質問スレ3

1名無しさん:2017/07/17(月) 08:50:47 ID:Qktcsy.2
ここはRPGツクールシリーズの製作技術に関する質問を扱うスレです。

■質問する前に■
質問前にマニュアルやヘルプを読んでみましょう。
ヘルプ・公式サイトの講座・FAQ・wikiを調べる、ググるなどしましょう
解決するかもしれません。

■質問者の心構え■
・質問の冒頭でツクールのバージョンは必ず申告すること。(2000/XP/VX/VX Ace/MVを書く)
・煽られても煽り返さず放置。(質問者にとってますます悪い結果になる)
・回答を催促しない。(回答が得られない理由を考えよう)
・納得のいかない回答しか得られなくても文句を言わない。
・情報の小出しはしない。一回にまとめて。
・回答が得られた場合、その経過を報告する。(上手く行ったかどうか)

■回答者の心構え■
・質問の答えが解り、気が向いたならレスを。解らないor気が向かないなら放置を。
・回答に関係のないレスは基本しない事。
・質問者への煽りは禁止。(気に入らない質問内容は放置で)
・荒らしには放置を徹底。
・質問者の態度等が気に入らない場合は放置してください。
・違法行為や不正に関する話題は放置する事。
・質問とは関係ない雑談はやめましょう。


【関連サイト】
●ツクール公式
http://tkool.jp/

535名無しさん:2020/03/05(木) 03:59:32 ID:NHqpPRUo
https://tm.lucky-duet.com/viewtopic.php?t=2606

Scene_Battle.prototype.createStatusWindowInBattle = function() {
this._statusWindowInBattle = new Window_Status();
this._statusWindowInBattle.setHandler('ok', this.onStatusWindowClose.bind(this));
this._statusWindowInBattle.setHandler('cancel', this.onStatusWindowClose.bind(this));
this._statusWindowInBattle.setHandler('pagedown', this.nextActor.bind(this));
this._statusWindowInBattle.setHandler('pageup', this.previousActor.bind(this));
this._statusWindowInBattle.hide();
this._statusWindowInBattle.deactivate();
this.addWindow(this._statusWindowInBattle);
};
Scene_Battle.prototype.nextActor = function() {
var index = $gameParty.members().indexOf(this._statusWindowInBattle._actor) + 1;
if(index > $gameParty.members().length - 1)index = 0
this._statusWindowInBattle.setActor($gameParty.members()[index]);
this._statusWindowInBattle.activate();
};
Scene_Battle.prototype.previousActor = function() {
var index = $gameParty.members().indexOf(this._statusWindowInBattle._actor) - 1;
if(index < 0)index = $gameParty.members().length - 1
this._statusWindowInBattle.setActor($gameParty.members()[index]);
this._statusWindowInBattle.activate();
};
Scene_Battle.prototype.createPartyCommandWindow = function() {
this._partyCommandWindow = new Window_PartyCommand();
this._partyCommandWindow.setHandler('fight', this.commandFight.bind(this));
this._partyCommandWindow.setHandler('escape', this.commandEscape.bind(this));
this._partyCommandWindow.setHandler('status', this.commandStatusWindow.bind(this));
this._partyCommandWindow.deselect();
this.addWindow(this._partyCommandWindow);
};
Scene_Battle.prototype.commandStatusWindow = function() {
this._statusWindowInBattle.setActor($gameParty.members()[0]);
this._statusWindowInBattle.show();
this._statusWindowInBattle.activate();
};
Scene_Battle.prototype.onStatusWindowClose = function() {
this._statusWindowInBattle.hide();
this._statusWindowInBattle.deactivate();
this._partyCommandWindow.activate();
};
Window_PartyCommand.prototype.makeCommandList = function() {//ここの順番を自由に入れ替えるが良い
this.addCommand(TextManager.fight, 'fight');
this.addCommand(TextManager.escape, 'escape', BattleManager.canEscape());
this.addCommand(TextManager.status, 'status');
};
Window_ActorCommand.prototype.addWindowStatusCommand = function() {};

536名無しさん:2020/03/05(木) 04:25:17 ID:NHqpPRUo
最初顔グラ表示されないからやり直しこれだからmvは

var hogehogehogehogestart = Scene_Battle.prototype.start;
Scene_Battle.prototype.start = function() {
var members = $gameParty.members()
for(var i = 0; i < members.length; i++)ImageManager.loadFace(members[i].faceName())
hogehogehogehogestart.call(this);
};
Scene_Battle.prototype.createStatusWindowInBattle = function() {
this._statusWindowInBattle = new Window_Status();
this._statusWindowInBattle.setHandler('ok', this.onStatusWindowClose.bind(this));
this._statusWindowInBattle.setHandler('cancel', this.onStatusWindowClose.bind(this));
this._statusWindowInBattle.setHandler('pagedown', this.nextActor.bind(this));
this._statusWindowInBattle.setHandler('pageup', this.previousActor.bind(this));
this._statusWindowInBattle.hide();
this._statusWindowInBattle.deactivate();
this.addWindow(this._statusWindowInBattle);
};
Scene_Battle.prototype.nextActor = function() {
var index = $gameParty.members().indexOf(this._statusWindowInBattle._actor) + 1;
if(index > $gameParty.members().length - 1)index = 0
this._statusWindowInBattle.setActor($gameParty.members()[index]);
this._statusWindowInBattle.activate();
this._statusWindowInBattle.refresh();
};
Scene_Battle.prototype.previousActor = function() {
var index = $gameParty.members().indexOf(this._statusWindowInBattle._actor) - 1;
if(index < 0)index = $gameParty.members().length - 1
this._statusWindowInBattle.setActor($gameParty.members()[index]);
this._statusWindowInBattle.activate();
};
Scene_Battle.prototype.createPartyCommandWindow = function() {
this._partyCommandWindow = new Window_PartyCommand();
this._partyCommandWindow.setHandler('fight', this.commandFight.bind(this));
this._partyCommandWindow.setHandler('escape', this.commandEscape.bind(this));
this._partyCommandWindow.setHandler('status', this.commandStatusWindow.bind(this));
this._partyCommandWindow.deselect();
this.addWindow(this._partyCommandWindow);
};
Scene_Battle.prototype.commandStatusWindow = function() {
this._statusWindowInBattle.setActor($gameParty.members()[0]);
this._statusWindowInBattle.show();
this._statusWindowInBattle.activate();
};
Scene_Battle.prototype.onStatusWindowClose = function() {
this._statusWindowInBattle.hide();
this._statusWindowInBattle.deactivate();
this._partyCommandWindow.activate();
};
Window_PartyCommand.prototype.makeCommandList = function() {//ここの順番を自由に入れ替えるが良い
this.addCommand(TextManager.fight, 'fight');
this.addCommand(TextManager.escape, 'escape', BattleManager.canEscape());
this.addCommand(TextManager.status, 'status');
};
Window_ActorCommand.prototype.addWindowStatusCommand = function() {};


新着レスの表示


名前: E-mail(省略可)

※書き込む際の注意事項はこちら

※画像アップローダーはこちら

(画像を表示できるのは「画像リンクのサムネイル表示」がオンの掲示板に限ります)

掲示板管理者へ連絡 無料レンタル掲示板