プレイ日記
Simon Snoofles
I was messing around with raycasting and I was wondering, how could you do sprite collision with the player?
4そうだね
プレイ済み
返信[1]
親投稿
Joe Hollowsky
What is key code for raycast? I going messing with dungeon tanker for try new thing.
0そうだね
プレイ済み
返信[2]
親投稿
Simon Snoofles
Dungeon Tanken doesn't use this raycasting engine. Im pretty sure that it doesn't use raycasting at all.
0そうだね
プレイ済み
返信[3]
親投稿
*J.P.* DEV NEWPICY3
well the only way i know of is to use the objects x and y, and the player x and y, then check if the player is near it (if you know how to make a touch screen box, its like that) but if you dont know its like (lets say item x/y is 3) IF PX>3 AND PX<3.9 THEN IF PY>3 AND PY<3.9 THEN BEEP 5 ENDIF ENDIF something like this i think.
0そうだね
プレイ済み