ルート設定の向きと対応するキャラの位置について

返信する
アバター
甘辛みかん
記事: 29
登録日時: 2020年6月01日(月) 13:26

ルート設定の向きと対応するキャラの位置について

投稿記事 by 甘辛みかん »

カスタム移動のルート設定で添付画像の1から12までの数字の順にキャラを表示させたいのですが、向きの設定はどう入力したらいいのでしょうか?
オブジェクトをアニメーションとさせるのが目的です

基本的な事なのでしょうか、検索しても見つけられませんでした
教えて頂けると嬉しいです
よろしくお願いします
添付ファイル
!$test.png
!$test.png (3.48 KiB) 閲覧された回数 1541 回
アバター
ムノクラ
記事: 2118
登録日時: 2018年2月23日(金) 11:41
連絡する:

Re: ルート設定の向きと対応するキャラの位置について

投稿記事 by ムノクラ »

甘辛みかん さんが書きました:カスタム移動のルート設定で添付画像の1から12までの数字の順にキャラを表示させたいのですが、向きの設定はどう入力したらいいのでしょうか?
オブジェクトをアニメーションとさせるのが目的です

基本的な事なのでしょうか、検索しても見つけられませんでした
教えて頂けると嬉しいです
よろしくお願いします
自分もこの指定は知らなかったので、興味があって教えてもらってきました。
下記で詳細が説明されています。
https://forum.tkool.jp/index.php?threads/989/

コード: 全て選択

this._direction = 2; this._pattern = 0; this._originalPattern = 0;
this._direction = 2; this._pattern = 1; this._originalPattern = 1;
this._direction = 2; this._pattern = 2; this._originalPattern = 2;
this._direction = 4; this._pattern = 0; this._originalPattern = 0;
this._direction = 4; this._pattern = 1; this._originalPattern = 1;
this._direction = 4; this._pattern = 2; this._originalPattern = 2;
this._direction = 6; this._pattern = 0; this._originalPattern = 0;
this._direction = 6; this._pattern = 1; this._originalPattern = 1;
this._direction = 6; this._pattern = 2; this._originalPattern = 2;
this._direction = 8; this._pattern = 0; this._originalPattern = 0;
this._direction = 8; this._pattern = 1; this._originalPattern = 1;
this._direction = 8; this._pattern = 2; this._originalPattern = 2;
ウェイトを入れないと、動作が分かりづらかったのでサンプルマップデータ(zip)をつけます。
新規プロジェクトのdataフォルダ内を入れ替えれば、動作確認できると思います。
SS01.png
SS02.png
Map001.zip
(802 バイト) ダウンロード数: 5 回
---
JavaScriptの基本を学習せずにツクールのプラグインやスクリプトを使って横着してゲームを作ろうとしている人間です。
そのような者なので、適当な投稿をするかも知れません。
他の方の投稿を信用してください。
アバター
甘辛みかん
記事: 29
登録日時: 2020年6月01日(月) 13:26

Re: ルート設定の向きと対応するキャラの位置について

投稿記事 by 甘辛みかん »

まさに希望の動作です
これで細やかなアニメーションを実現できます
ほんとにありがとうございます
大感謝です!
返信する

“MV:質問”に戻る