How do I Create 2 Different Concept Mouse Click Funtion

Get help using Construct 2

Post » Fri Jan 20, 2017 2:45 am

I had mouse click event with two different method, one for spam mouse "left button clicked" and another one for mouse "left button is down".
The problem is I want to spawn the bullet sprite from turret with this two of kind concept, player can spam click for fast bullet effect or hold down the left button of mouse to continue effect of bullet. I stuck at when I create two different events and make statement "else", but no luck, it work but not at all, the first bullet is double.
I appreciated any people can help me or give me some clue.

Thanks.
B
15
S
6
G
3
Posts: 13
Reputation: 2,674

Post » Fri Jan 20, 2017 4:02 am

Can you make some kind of timer so that when the player holds down the button, the bullet doesn't fire until after the bullet that is fired from the initial click is shot?
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Fri Jan 20, 2017 11:33 am

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sun Jan 22, 2017 1:00 am

Solved, Thanks guys.
Im using and following this capx example http://www.blackhornettechnologies.com/ ... ullet.capx
B
15
S
6
G
3
Posts: 13
Reputation: 2,674

Post » Sun Jan 22, 2017 1:04 am

Glad you got it figured out.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986


Return to How do I....?

Who is online

Users browsing this forum: Yumbrone and 26 guests