How do I make an attack

Get help using Construct 2

Post » Sun May 24, 2015 1:27 pm

I want to make my it to when my sword collides with the enemy it loses health is the best way to make the sword a seperate object or to spawn an object when animation is playing or is there a simpler way.
B
8
S
1
Posts: 76
Reputation: 646

Post » Sun May 24, 2015 5:23 pm

Yeah you can keep it a separate object so that you can have different weapons. Here is an example, expanding on a topDown.capx example I did last night for @ozboybrian.

The sword follows image point 1 of the player, every tick. During the attack animation I simply move move image point 1 of the player.

Image
Example.capx
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Sun May 24, 2015 7:13 pm

thank you its working
B
8
S
1
Posts: 76
Reputation: 646


Return to How do I....?

Who is online

Users browsing this forum: amazingdream and 22 guests