プレイ日記
MBGPokéBro Michaelrules555
How do I add collision to objects?
0そうだね
プレイ済み
返信[1]
親投稿
PChicken NerdChicken
check if the sprite is going into something, if so, move the sprite back to where it was before it moved into it.
0そうだね
プレイ済み
返信[2]
親投稿
Clayton DarkClay88
Like SPHITSP?
0そうだね
プレイ済み
返信[3]
親投稿
Hanzo rzsense
You can judge collision by distance between two objects. You can calculate it with the Pythagorean theorem as follows. DX=X2-X1:DY=Y2-Y1 D=SQR(DX*DX+DY*DY):'distance between two objects
0そうだね
未プレイ
返信[4]
親投稿
MBGPokéBro Michaelrules555
Ok! Thanks!
0そうだね
プレイ済み