Bullet spawns twice

For questions about using Classic.

Post » Thu Oct 30, 2014 4:28 pm

I'm stumped. :( The shotgun and pistol create twice the bullets on every event.

Image
B
5
S
1
Posts: 20
Reputation: 446

Post » Sat Nov 01, 2014 5:09 am

try replacing the triggers ("on Left mouse button pressed" etc), with something using trigger once eg:

On right mouse down
-> On left mouse down+ Trigger once
(also move the for loop to sub event) -> 4 times create shotgun bullet
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,201
Reputation: 19,539

Post » Sat Nov 01, 2014 9:10 am

I didn't even think about using the mouse down event, that did the trick! It even fixed the bullet going through walls bug I had when I got too close to it. Thanks again Jay. :)

I should probably just make a single thread for all my silly questions :?
B
5
S
1
Posts: 20
Reputation: 446

Post » Sat Nov 01, 2014 2:24 pm

Anytime! and it's no problem, keeping them with separate topic titles might be good for others using search :)
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,201
Reputation: 19,539


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest