Join Nostr
2026-04-06 05:38:54 UTC

SyoBoN on Nostr: プレイヤーとブロックの当たり判定 ...

プレイヤーとブロックの当たり判定
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L1798-L1808
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L1907-L1917
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L2011-L2019
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L2026-L2035

プレイヤーとブロック以外の地形(土管とか)との当たり判定
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L2505-L2509
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L2514-L2518
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L2522-L2526
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L2530-L2535

敵とブロック以外の地形(土管とか)との当たり判定
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4511-L4514
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4518-L4521
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4526-L4530
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4536-L4539

敵とブロックの当たり判定
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4564-L4569
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4585-L4589
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4605-L4609
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4615-L4620

敵とプレイヤーの当たり判定
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L3921-L3926
https://github.com/akemin-dayo/OpenSyobonAction/blob/master/main.cpp#L4027-L4031

となっています
当たり判定、愚直に移植すると判定用のコードがぐっちゃぐちゃになるのでいいかんじに整理したいものの、うまく整理できる目処も立たない