How make stop my character when i press attack

Discussion and feedback on Construct 2

Post » Wed Jul 29, 2015 3:04 pm

Message: GibonArt can only post plain text URLS until they have 500 rep. 4 URLS modified. Why?
And how make low shoting bullets like this game
https://www.youtube.com/watch?v=GcBd2v5rVpc

be cous atm i have this
http://zapodaj.net/5d5997a9e7b9d.jpg.html

and this is me source about stop character but i can move a little

http://zapodaj.net/fd5ab81afb67f.jpg.html

Somebody can help me capx here https://mega.co.nz/#!7wEFwQiL!NH9wMQoqI ... TFjB0i_5yU
B
11
S
3
Posts: 55
Reputation: 815

Post » Wed Jul 29, 2015 5:08 pm

Hi, Gibon.

To stop a character when you shoot, I believe disabling the platform behavior is the easiest way. I would set a variable called 'Fire' as true/false. When the player presses the shoot button, set it to true. When this variable is set to true, create an event that disables the platform behavior. Then add in a wait() command through System for a second before setting the 'Fire' variable back to false. This will re-enable the platform behavior.

On your second point: This is covered the beginners tutorial (specifically on page 5, under 'Get the Player to Shoot'). You should adjust an image point so the shots originate from it. I was going to include a link but I don't yet have enough rep to do so. You should be able to find it via Googling fairly easily. Or if someone else could link it, that would be great too.

If you would like clarification on anything I just mentioned, feel free to ask. You might also want to consider using DropBox in the future for sharing your capx files. It is more convenient and trustworthy, and from what I've seen it is the standard around here.
B
8
S
2
Posts: 19
Reputation: 528

Post » Wed Jul 29, 2015 6:28 pm

Message: GibonArt can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
u can dowl my capx on mega and try modificate and send my what u do on my email [email protected]
B
11
S
3
Posts: 55
Reputation: 815


Return to Construct 2 General

Who is online

Users browsing this forum: Lof and 11 guests