Added wall collision and shooting

Using a few things called masks, I managed to implement detecting wall collisions and doing something about them. Now, it is impossible to walk out of the playing area because the walls will block you. Also, if you press E, you will shoot a small bullet in whatever direction you last moved. The bullet goes on forever until you press E again and it will teleport back to you. The bullet currently had no effect on the environment.

Comments