Collision detection problem base off the lazyfoo tutorials

Hello all

I have come across a confusing problem with my collision detection. My collision detection is base off of the legacy tutorials of lazy foo for tilting. I was recently doing some testing and noticed not all my blocks were registering detection with my character. I scanned over my code quite a few times in multiple places and could not figure out why this was happening. Finally I decided to alter the camera a little and check for collision and strangely the blocks disappeared and reappeared as expected since the tutorial teaches you to only print imagines on screen that are with in the camera’s view and this does requires collision detection.

Hmm strange. I think i can help you. Tough im on my phone ATM so takes to long to write. Ill be back by tomorrow.