How do I shoot and walk?

Get help using Construct 2

Post » Wed May 11, 2016 12:38 pm

how can i walk and shoot

how can i jump and shoot

(i have animation for jump, run and shoot
B
4
Posts: 10
Reputation: 201

Post » Wed May 11, 2016 12:42 pm

Do you mean the animations? I think you need an extra anim for walk+shoot and jump+shoot where the char has the gun in his hands or the proper pose to hold the weapon you use.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

Post » Wed May 11, 2016 1:41 pm

Hi the best solution is to make a variable global name "Action"

when Action=1>> hero set animation "Walk or jump or Shoot"
>>Hero set Plateform Moov (left or Right or Jump)

IF you have a Shoot animation

when Action=1>> hero set animation " Shoot"
>> system create object at Hero.imagepoint.X(1,2 or 3) for x
>> system create object at Hero.imagepoint.Y(1,2 or 3) for Y


OR IF you have a Shoot animation

when Action=1>> hero set animation " Shoot"
>> hero spawn Bullet with bullet behavior


SO IF you have a Shoot AND JUMP animation
when Action=1>> hero set animation "Walk or jump or Shoot"
>> hero spawn Bullet with bullet behavior


:ugeek: :ugeek: what else
B
11
S
1
Posts: 29
Reputation: 1,965


Return to How do I....?

Who is online

Users browsing this forum: dereck28 and 29 guests