preview goes jittery when shooting
louise-db
Member Posts: 2
Hi,
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:
https://www.dropbox.com/s/t1nrrst82ij9hsz/game-preview-issues.mov?dl=0
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
Comments
Try changing 'in back of actor' to one of the other options.
Hi, I have tried all 4 options and it's always the same.
I have an interpolate on the bullets to fade them out when they are over 200 px from the player, and when i turned these off the jittering stopped, but then it started shooting when the movement arrows were pressed instead and the player carries on moving when nothing is pressed.
Edit : Sorry I thought the issue was different didnt pay attention the video
@louise-db
Looking at your video, I have the sneaky feeling that you have a "control camera" behavior in your bullet actor, or that the values, controlling the camera offset, are being overwritten in the bullet actor.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com