Original Post
I know a whole bunch of n00bs ask this a lot, but it's 5:30 in the morning and I have forgotten the most basic collision code of all. The collision between two rectangles. I don't want to piss anyone off, but I've been thinking about it for a while and either the Mountain Dew just isn't working or my brain is dead, or both. What would be the code to detect the intersection of two rectangles? I'm sorry about this. I'm sorta embarassed.