MacedWindow@lemmy.world to Microblog Memes@lemmy.worldEnglish · 3 months agoYou know it in your heart to be truelemmy.worldimagemessage-square76fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageYou know it in your heart to be truelemmy.worldMacedWindow@lemmy.world to Microblog Memes@lemmy.worldEnglish · 3 months agomessage-square76fedilink
minus-squareDaxtron2@startrek.websitelinkfedilinkEnglisharrow-up0·edit-23 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 }