プレイ日記
Marigio X Marigio300X
How do I check collisions? I've got player gravity down, but the character passes throughthe floor! What do I do to ensure it doesn't happen?
0そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
You can try code like "IF PLAYERY>203 THEN PLAYERY=203" for the bottom ground (assuming that the Y for the player is based off of pixels). You can set up the player collision with SPCOL 0,1 and set SPHITRCs up to detect the collisions between blocks.
0そうだね
プレイ済み
返信[2]
親投稿
Marigio X Marigio300X
That's what I ended up doing.
0そうだね
プレイ済み