[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.
Just a simple collision detection system saw on "Doc_robs" Youtube channel.
Checkout his work guys, it permits me to understand it in no time. :)
https://www.youtube.com/watch?v=LwMNPEG4OPo
And here is a little drawing to understand the code, if you don't want to check the video.
Hope this could help somebody :).
P#65264 2019-06-18 19:12 ( Edited 2019-06-19 21:14)