Am i doing something wrong here? I boiled my whole game down to a simple process of placing a white square over my 'player' placeholder. There's another function that should drop a red sprite in the same place i am currently standing when you hit spacebar.
Both actions behave completely unexpectedly (they place the sprites in the wrong spot... not on the player.. ) and I cant see what Im doing wrong... I would be in someone's debt to have a quick look.... maybe this is a bug? Is my game corrupt?
Download the file here: (Droplr Link)
Thank you so much to anyone who can look into this for me.