CalebJohn/hawkthorne-journey — pull request #8 by niamu (2014-09-05 23:17:59+00:00)
Title: Chest spawns direction based on player direction

I realize the math looks a bit convoluted. I don't really understand why the +4 is actually needed there, but it does seem to center the item more on screen so I went with it. If you can come up with something cleaner that works better, by all means.