While I am turning a direction (while moving foward) it works, but when I try to shoot it has problems.
While moving and turning right it works fine but when I turn left it doesn't.
So if I dont shoot the movement is fine and while standing still is fine but when i add the shoot button it has troubles.
I have this set for the 'Left Key':
dir,5, Relative
'Right Key':
(variable)dir, -5, Relative
'Up Key':
(check variable)if speed smaller than 5
(variable)Speed, 1, Relative
then for the 'Shoot Key':
(check variable)if shoot is smaller than 30
(variable)shoot, 1, Relative
else
(check variable) if shoot is equal to 30
(variable) shoot, 0
(create moving mbject)object_mbullet,object_mainship1.x,object_mainship1.y,20,direction
and in the step event I have
(variable) image_angle, direction
(variable) dir,direction
so the movement and shooting works fine but when I try to turn left while moving and shooting it doesnt work or
if I start shooting whilst mturning left it doesn't start shooting.
If you guys could help it would be awesome, Thanks



Find content
Not Telling
