BGE shaking camera when i walk or run
You can make an animation with the camera. Click this little red button in the timeline. (That inserts keyframes automatically when something is moved.) Select the camera, press alt + a to start the timeline, press g to grab it, and shake it around. press escape when you are finished. You can do this a much more sophisticated way, of course. :) Save your action. In the logic editor, use whatever sensor that causes you to run and link it to the action actuator also (where your camera is animated.) Remember to set the beginning and end keyframes to be where you had started and stopped the shaking. If you want a much more controllable way to do it, try using something from this video: https://youtu.be/PU_uhfO1Bsk

Hope that helps. ;) Tell me if you need more information. It would be a good idea to add more information to your question as well.