すべてのスプライトが
共通の変数を見て各自状態を変化させます。
ステートマシンの処理方法ですね。
all of sprites watch common value and change themselves.
its process of state machine.
次回
出屋敷プログラミング教室のブログ
すべてのスプライトが
共通の変数を見て各自状態を変化させます。
ステートマシンの処理方法ですね。
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 you copies other codes in your programming,you need to read again.
次回
正確にベクトル計算しなくても
それっぽい簡単な処理でごまかす、
ことはよくあることと思っています。
its useful case,they use simple process to its not truece process for real near by looking for real.that its my opinion.
次回
変数の名前をわかりやすくすると
処理の流れが追いやすくなります。
英語の力がすこし必要になりますね。
values name is better than easly to understund for programming process.
its need to your english understand comunication.
次回
ばねの動きは制御が難しいです。
変数を増やすと
コントロールがやりやすいですが、
今回は基本だけやりました。
spring action coding is difficult for control.
i think more add values to be better than control but made base coding in today.
次回
引き算をすることで
ものの向きを表現することができます。
普段何気なく使っている
算数がプログラムではとても重要な役割をしてくれますよ。
you can know vector when you use subtraction value to value.
its important useful tools in your normal life.
次回
スプライトの状態をみて
処理を切り替えることができます。
色違いキャラとか
簡単に作成してキャラ数を増やすテクニックですね。
you should see that sprite states.
Checked states is to become your decide base.
different color character is low cost paformance for developing games.
次回
敵を強くすると
プレイヤーも少し強くする。
バランスが崩れないように
少しずつできることを増やすと
面白いゲームになります。
you should to be level up for enemy ,after you have to be level up for player too.
its need to save average of games so you step by step to add anything levelup.
次回
同じ処理をするときも
処理をする場所とタイミングが違うと
効果が変わります。
プログラミングは順番が大事。
it’s not same when you different process effect where or timing.
its important to do in order in programming.
次回
xとyを間違うと
動きがぜんぜん違ってしまいますね。
一文字ですが気を付けましょう。
change the x and y you should happen a lot of different things in your programing.
you should check more the one string.
次回