How do i make a crosshair and fire button to work

Get help using Construct 2

Post » Thu Oct 15, 2015 1:04 am

How do I make it when I press a fire button, whatever the crosshair is on, hits or selects? How do I get the 2 sprites to work?
B
3
Posts: 2
Reputation: 179

Post » Thu Oct 15, 2015 4:52 am

along the lines of

if button pressed
crosshair overlapping sprite - sprite destroyed

so you have two conditions - if the first is true then construct will then check the second. if all conditions are found to be true then the actions will be done.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Thu Oct 15, 2015 5:09 am

here you go....

https://goo.gl/NHIUAl (R214)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Thu Oct 15, 2015 7:24 am

cool, thank you
B
3
Posts: 2
Reputation: 179

Post » Fri Oct 16, 2015 11:16 am

I've made a "Shooting gallery" tutorial that could help on the matter.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests