Some usefully scripts I have made for the blender game engine that might prove useful for your own projects