I thought it may be a good idea to have a thread where we could post about bugs (or incomplete behaviors) that happen in our code that result in rather amusing outcomes (as opposed to just a crash or an erroneous number or something like that). The wackier the bug, the better.
I'll start with this:
I was working on a menu, and the code is very incomplete, and quitting it by-passes some stuff. One of those things it by-passes is unloading the background. Apparently, loading a new background without unloading the previous one will literally merge them. I went to check the background code, and amusingly, that's exactly what it does. Apparently I coded a feature without even intending to do so! Keeping this around, this may be useful later =P
Though this doesn't beat some bug I caused some time ago while rewriting some climbing enemy, basically I forgot a check and the enemy would literally hump the wall, suitable animation and all o_O I'm not sure I'm allowed to show that here without getting banned though XD