Yamiikage [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=25657 simple_collision_det <p> <table><tr><td> <a href="/bbs/?pid=65264#p"> <img src="/bbs/thumbs/pico8_simple_collision_det-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65264#p"> simple_collision_det</a><br><br> by <a href="/bbs/?uid=25657"> Yamiikage</a> <br><br><br> <a href="/bbs/?pid=65264#p"> [Click to Play]</a> </td></tr></table> </p> <p>[FIXED:] Bug that occured when the player was below the grey box. The program was detecting a collision even if it was far below the grey box.</p> <p>Just a simple collision detection system saw on &quot;Doc_robs&quot; Youtube channel.<br /> Checkout his work guys, it permits me to understand it in no time. :)</p> <p><a href="https://www.youtube.com/watch?v=LwMNPEG4OPo">https://www.youtube.com/watch?v=LwMNPEG4OPo</a></p> <p>And here is a little drawing to understand the code, if you don't want to check the video.<br /> Hope this could help somebody :).</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/25657/IMG_0815.JPG" alt="" /> https://www.lexaloffle.com/bbs/?tid=34539 https://www.lexaloffle.com/bbs/?tid=34539 Tue, 18 Jun 2019 19:12:23 UTC