Platform movement behavior issue

Get help using Construct 2

Post » Wed Oct 12, 2016 3:47 pm

Hattori wrote:Ok my character is shooting but the bullet comes out just one time, how I make a loop for that? in the animation the loop is already on but just one bullet is coming out. thanks for the help that you can give me


If your animation is on a loop and there is a specific frame where he is shooting then I recommend:
on frame change
-frame = (frame number where he is shooting)
--player spawn bullet

If the frames look all the same around where he is shooting then you can just do an every x seconds or use a timer if there are other intricacies
ImageImageImage
B
39
S
22
G
11
Posts: 492
Reputation: 9,925

Post » Wed Oct 12, 2016 10:22 pm

Thanks for that option but didn't work, when the game start just get frozen.
B
5
Posts: 11
Reputation: 253

Post » Wed Oct 12, 2016 10:30 pm

I mean the every x second
B
5
Posts: 11
Reputation: 253

Post » Wed Oct 12, 2016 11:03 pm

Ok I want that for every time that the actor shoot comes out a bullet. I tried 20 moves to do it and didn't work.
B
5
Posts: 11
Reputation: 253

Post » Thu Oct 13, 2016 12:59 am

Not sure what you are doing—I don't see a reason this shouldn't work. What are you doing?
ImageImageImage
B
39
S
22
G
11
Posts: 492
Reputation: 9,925

Post » Thu Oct 13, 2016 12:58 pm

ok is a sidescrolling game, My character is like a police and the enemies are some bad guys, then when my character collide with an object the enemies start shooting. The animation of the enemies shooting is ok, you can see the movement of the guns firing but just one bullet come out.
B
5
Posts: 11
Reputation: 253

Post » Thu Oct 13, 2016 2:10 pm

Every X seconds or on specific frames should work. You aren't putting them as a sub-event to the collision are you? Collision is a triggered event so only occurs once and won't be repeatedly checked.

Hard to guess the problem without knowing your events.
ImageImageImage
B
39
S
22
G
11
Posts: 492
Reputation: 9,925

Previous

Return to How do I....?

Who is online

Users browsing this forum: DharmaOne, namaewayukidesu, nirwan1911, Yahoo [Bot] and 7 guests