Unity物理エンジンの2Dゲームにおける応用
Unity 物理 完全に理解した 勉強会
2026/06/19
lufy
本日話したいこと
簡単な Mario-like ゲーム紹介
目的
ゲーム構成
Rigidbody2D 和 Collider2D
Ground
プレイヤー移動
rb.linearVelocity = new Vector2(
inputX * moveSpeed,
rb.linearVelocity.y
);
ジャンプ
敵の移動
敵を踏める
コイン
Question Block
Unity実機デモ
まとめ
https://github.com/lufylegend/mario-like
ありがとうございました