Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

境界条件6を追加 #1

Merged
merged 1 commit into from
Jun 22, 2022
Merged

境界条件6を追加 #1

merged 1 commit into from
Jun 22, 2022

Conversation

houkensjtu
Copy link
Contributor

takah29様:

Taichi Graphicsの包です。

境界条件の追加が非常に便利になっているようで、勝手ながら任意形状の障害物をpng画像から読み込む機能を実装してみました。試しにいくつかマスキング用の画像を.image/bc_mask/の下に置いておきました。
問題点としては、まだ固定解像度の画像にしか対応しておらず、800x400ではない画像を入れると入力エラーになります。

内容に関してもし興味があるようでしたらレビューしてみてください。

dragon.pngをマスキングとして読み込んだ時の様子です:
Screen Shot 2022-06-21 at 20 20 18

@takah29
Copy link
Owner

takah29 commented Jun 22, 2022

@houkensjtu さん

簡単に複雑な障害物を配置できて面白いですね。つい、色々な画像を読み込ませて遊んでしまいました。
マージさせてもらいます。

@takah29 takah29 merged commit 05b9ae4 into takah29:main Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants