プレイ日記
Pikachu Squi-Volt
Is there a way to detect collision with a background layer, without grabbing/using player coordinates to check for every single wall?
2そうだね
プレイ済み
返信[1]
親投稿
Not that I know of... I usually use the player coordinates and check the blocks around the player for colision.
2そうだね
プレイ済み
返信[2]
親投稿
*J.P.* DEV NEWPICY3
well I simple way I do it is using bgget, ok lets say you have your player in the middle of the screen and your player is moved using the circle pad I would use this code. (brb)
0そうだね
プレイ済み
返信[3]
親投稿
*J.P.* DEV NEWPICY3
so this would be used for overhead movement where the bg moves and player stays in place the x/y is the bg location.
0そうだね
プレイ済み
返信[4]
親投稿
*J.P.* DEV NEWPICY3
maybe this helps but tell me what you think or if you have a question.
0そうだね
プレイ済み
返信[5]
親投稿
DragonOte♪ WiiU_2005Bbv.inc
if no standard method exists, i would say make your own algorithm that acts as its own collision detection.
0そうだね
プレイ済み