How do I stop my sprite from spawning upon touch?

Get help using Construct 2

Post » Thu May 14, 2015 3:05 pm

I have two layout -Game & Menu whereby the menu event sheet will (on any touch start)-sprite-Play->Go to Layout -Game

In the Game event sheet, I have
Touch ->on any touch end , Gun -Spawn bullet

I seem to be unable to stop the gun from spawning once I touch on sprite-Play" and it goes to next layout-Game.

I tried the global variables e.g in Game event sheet but dont seem to be getting it right.

Any samples that I can refer to? Thanks
B
10
S
3
G
1
Posts: 19
Reputation: 761

Post » Thu May 14, 2015 4:25 pm

thats because the gun spawns the bullet on any touch end , :) whenever the mouse or touch is unclicked the gun will start to spawn bullets try making the gun spawn bullets when is in touch
B
75
S
22
G
68
Posts: 1,337
Reputation: 43,271

Post » Sat May 16, 2015 3:39 pm

Noted.Will test it out.thanks
B
10
S
3
G
1
Posts: 19
Reputation: 761


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, David181, dop2000, fens and 13 guests