大きなソースコードを取り扱うときは、 区切りのいいところをみつけて、分割すると、 考えやすくなります。 When reading a large codebase.it’s helpful to identify its structure and divide it into...
尼崎市
クローンを作るを呼ばれると、クローンされたらが反応します。 旗が押されたときと違うイベントが来るので注意が必要です。 The “when i start as a clone”blick triggers a distinct event compared to the “when...
回転するとき、 SinはY、CosはXとおぼえておくと 感覚掴みやすいです。 if you’re rotating something. just remember:sine is your y-axis,and cosine is your x-axis.that’ll be...
中心点からものを回転させるには、 距離と何度ずつ回すか?という値があれば三角関数を使って回すことができます。 you can rotate from a center point. you need to decide how far from...
式が正しくても、入ってくる変数の値が 想定していたものと違っていたら思った動きになりません。 プログラム中は変数の値を正しく確認すると間違いに気づきやすいです。 you should fail when you have right faumula input not good value. you can...
差分のベクトルがわかっていると、 オブジェクト同士の角度を出すことが出来ます。 この角度からベクトルを出せば、射撃方向を計算できますね。 you can make angle when you know difference vector. you can make vector of...
余りの計算は範囲の中で値を決定したいときに、 とても役に立ちます。 配列の範囲何かのときはよく使いますね。 Calculating the remainder is very useful when you want to determine a value...
ジャンプの処理は定義にまとめることもできますね。 定義にした場合は引数で向きの設定を反映できるようにしておけばソースコードをまとめることができます。 you can create a function for the jump process in todays program.this function will require...
角度を変えることによって あたりの取り方が変わります。 あたりの取り方が変わるとゲーム性が変化しますね。 The collision process affects the changing angle. Changing the collision process impacts game balance....
同じものがあるときはコピーをうまく使いましょう。 地味な技術ですが、作業時間にとても大きく作用します。 you should use copy command for making code. its so better effective your coding...