計算の順番は プログラミングでも大事なことです。 スプライトの動きがおかしいなと思ったら 計算式を見直しましょう。 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....
正確にベクトル計算しなくても それっぽい簡単な処理でごまかす、 ことはよくあることと思っています。 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...
ばねの動きは制御が難しいです。 変数を増やすと コントロールがやりやすいですが、 今回は基本だけやりました。 spring action coding is difficult for control. i think more add values...
引き算をすることで ものの向きを表現することができます。 普段何気なく使っている 算数がプログラムではとても重要な役割をしてくれますよ。 you can know vector when you use subtraction value to value. its important...
敵を強くすると プレイヤーも少し強くする。 バランスが崩れないように 少しずつできることを増やすと 面白いゲームになります。 you should to be level up for enemy ,after you have...
同じ処理をするときも 処理をする場所とタイミングが違うと 効果が変わります。 プログラミングは順番が大事。 it’s not same when you different process effect where or timing. its...
xとyを間違うと 動きがぜんぜん違ってしまいますね。 一文字ですが気を付けましょう。 change the x and y you should happen a lot of different things...
座標を保存するということを 知っておけば どこでも好きな場所へ ものを出すことができます。 knowledge of save coordinate if you can spawn everywhere as you wish....