Sword Fighting style game?

Get help using Construct 2

Post » Sun Jun 02, 2013 3:57 pm

Im looking for some answers, been lurking around the forums but cant seem to find any.

1. How do i make a sword fighting game? i mean how do i make the kind of style so when u hit someone with your sword (play sword attack animation" to actually dmg the enemy? Do i use a bullet or something?

2. in old construct i think i remember that there was an easy option to make hand/arm follow your mouse, how do i make this possible in construct 2?

Thanks , / Ice
B
4
Posts: 10
Reputation: 220

Post » Sun Jun 02, 2013 4:12 pm

1) Animate your player attacking with the sword. Duplicate the object. For your player, erase the sword & for your sword, erase the player. Set the sword to 0,0 of the player.

2) Set arm angle to Angle(x1,y1,x2,y2) 1 being the arm 2 being the mouse.Tokinsom2013-06-02 16:14:22
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sun Jun 02, 2013 5:46 pm

Ty for that answer, explains most of my issue. Anyways, and for the fighting style? any answers?
B
4
Posts: 10
Reputation: 220

Post » Mon Jun 03, 2013 10:01 am

For my own game I used an invisible box with the Platform behavior and another object pinned to it containing all my animations. if an enemy is overlapping my animation object and the attack animation is playing they receive damage while for damage dealt to the player I check if an enemy is overlapping my invisible box.Vercingetorix2013-06-03 10:03:44
B
6
S
2
G
1
Posts: 52
Reputation: 1,347


Return to How do I....?

Who is online

Users browsing this forum: irina, jezjones24 and 20 guests