座標を変換することで 見た目を変化させることができます。 3Dに見えるけど実際には2Dの平面ですからね。 look is change to convert coordinate. you see 3d but you are seeing...
大なり小なりの感覚は 慣れるのに少し時間がかかりますね。 何度も使いましょう! more or less mark is little difficult with understand. you need to use...
コードの意味はわかるが、 式の説明がうまくできないのは、 式の説明に慣れていないから。 i know this code,but formura expranation is difficult. its just you use to...
2点あれば直線が引けます。 曲線上の点が2つあれば、そこに角度を見出すことができますね。 we can draw line at two point . by the way on the curve...
キャラクターのステートを 切り替えることで その時の動きをプログラミングすることができます。 ダメージを受けた、 吹っ飛ぶ 倒れる 立ち上がる それぞれにステートを持たせる必要があります。 we changed character sprite state so can do...
計算の順番は プログラミングでも大事なことです。 スプライトの動きがおかしいなと思ったら 計算式を見直しましょう。 calculation order is also important for programming code. when your sprite is strange...
すべてのスプライトが 共通の変数を見て各自状態を変化させます。 ステートマシンの処理方法ですね。 all of sprites watch common value and change themselves. its process of state machine....
プログラムを続ける場合は、 コードを読む能力が必要になります。 コピーして使っているコードは 再度確認も含めて読むことをおすすめします。 you should need to read codes if you become work for programmer. when...
正確にベクトル計算しなくても それっぽい簡単な処理でごまかす、 ことはよくあることと思っています。 its useful case,they use simple process to its not truece process for real...
変数の名前をわかりやすくすると 処理の流れが追いやすくなります。 英語の力がすこし必要になりますね。 values name is better than easly to understund for programming process. its need...