N
NeoIdea
Guest
Hello!
I am wanting to find a way to shoot with 'Mouse Left Button action' rather than with the 'Left Button Pressed' action, as I'd rather not have to click a bunch of times.
With 'Mouse Left Button action' it seems that it fires each frame. I would like to fire say.. every 3 frames instead and keep the speed of each bullet instance.
Here's the code just in case it helps. It's a project that is a deviation of the Asteroids Shaun Spalding tut series.
And thank you for all the amazing tutorials, if you happen to see this!
bullet = instance_create(x, y, obj_bullet);
bullet.direction = image_angle;
bullet.image_angle = image_angle;
bullet.speed = 10
Thanks!
I am wanting to find a way to shoot with 'Mouse Left Button action' rather than with the 'Left Button Pressed' action, as I'd rather not have to click a bunch of times.
With 'Mouse Left Button action' it seems that it fires each frame. I would like to fire say.. every 3 frames instead and keep the speed of each bullet instance.
Here's the code just in case it helps. It's a project that is a deviation of the Asteroids Shaun Spalding tut series.
And thank you for all the amazing tutorials, if you happen to see this!
bullet = instance_create(x, y, obj_bullet);
bullet.direction = image_angle;
bullet.image_angle = image_angle;
bullet.speed = 10
Thanks!