0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ray-Castingを使用しての3D Actionゲームを作成しました。

0
Posted at

Ray-Castingを使用して、C言語で3D Actionゲームを作成しました。

スクリーンショット 2026-09-19 16.17.29.png

github: https://github.com/Hen00af/Cub3D

↓なお、このゲームのコンパイル時にminilibx-libraryを使用しています。
https://github.com/42paris/minilibx-linux

Ray-Castingについて

マップをtxtから読み取っているのですが、現在位置と壁との距離を測る際に離散的な数値をDouble型の連続的な数値に変換する必要がありました。
その際にDDAアルゴリズムを使用しています。

DDA algorithmについて

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?