preview goes jittery when shooting
I'm building a platformer, and have controls in to move, jump, take damage, but when i added in a shoot, the game goes all jittery when i press to shoot in preview. Once I have pressed to shoot, it carries on even when the player is not moving. Here's a video to show the issue:
Is this a bug with the preview, or something in the code?
Here's a screenshot of the shooting controls, which I got from a template that does work correctly: https://www.dropbox.com/s/piyvo28cve9uf9p/Screen Shot 2016-08-30 at 10.53.52.png?dl=0
Edit: Also when it starts going jittery, it doesn't shoot at all