同じものがあるときはコピーをうまく使いましょう。 地味な技術ですが、作業時間にとても大きく作用します。 you should use copy command for making code. its so better effective your coding...
プログラミング教室
クローンしたスプライトに このスプライトのみの変数を持たせることで、 一定の規則に沿った処理を行うことができます。 今回の卵を並べる処理はそういった理由ですね。 todays line up eggs program was use for only this sprite value...
二次元配列を使うことで 画面グリッドを扱うような場面の処理で直感的に参照しやすくなります。 配列のオーバーフローには注意が必要です。 two dimensional array is useful for grid monitor view datas process is getting...
配列は格納する数字を変えることで簡単に初期化できます。 連番なので、ループととても相性がいいのです。 array is changing index number for change memory ranges. those indexes are continue number...
不具合の調査をするとき、 もともとの条件がおかしいこともあります。 基準となる条件を再度確認してみましょう。 if you check bug of programing codes, may base codes has earth code. that...
隠しているスプライトに向かって向かうようにすることにより 何かに集まっているように見せる処理が書けます。 You can program the hidden sprite to attract others, creating the appearance that they...
同じスプライトで違う動きをさせる場合、 切り替えるタイミングで変数をキーに使うと うまく連携が取れます。 if you use same sprite,you better use variables when switch sprites. 次回 出屋敷教室 03月22日...
当たり判定の処理で悩むところが 不等式部分。 よくこの判定を間違えて誤動作します。 図に書いてイメージをしっかり持つとやりやすいですね。 you should make collision process in inequality. i often mistake that process.you should...
自分自身をクローンさせて 移動をすると連なった絵を作ることができます。 つながったものを長く見せると、蛇のような表現ができますね。 making clone sprite itself and moving that you can see long sprite shape....
引き算をすることで座標の差がわかります。 つまり、ずらして表示することができるということになります。 if you use subtraction,you know difference of cordinate.in other words you move sprites. 次回 出屋敷教室 02月22日...