@[email protected] to Microblog [email protected]English • 4 months agoYou know it in your heart to be truelemmy.worldimagemessage-square84arrow-up11.04Karrow-down127
arrow-up11.01Karrow-down1imageYou know it in your heart to be truelemmy.world@[email protected] to Microblog [email protected]English • 4 months agomessage-square84
minus-square@[email protected]linkfedilinkEnglish1•4 months agoHow do you put something in a 2 dimensional space? A square has no height.
minus-square@[email protected]linkfedilinkEnglish4•edit-24 months agoif(player1.x < player2.x + player2.width && player1.x + player1.width > player2.x && player1.y < player2.y + player2.height && player1.y + player1.height > player2.y) { //collision }
How do you put something in a 2 dimensional space? A square has no height.