Melee Weapons

Get help using Construct 2

Post » Wed Oct 17, 2012 3:44 am

I'm a beginner at Construct 2 but, I have taken a stab at the Platform tutorials and now I need help with combat. How would I make use of a melee weapon like a sword. I want to make a game like Classicvania for class which was also made with Construct 2. Thanks in advance!
B
18
S
5
G
4
Posts: 63
Reputation: 3,912

Post » Thu Oct 18, 2012 2:28 pm

Hey Carbon....I suggest really checking this out...Would have all of the basics you need to know...Expand from there..

http://www.scirra.com/tutorials/205/making-a-sword-character

Best of luck
When in doubt..or you are lost in a Zombie apocalypse or someone is giving you a hard time..Remember one thing..... Read the Construct 2 Manual..it will save your life.:)
B
29
S
11
G
8
Posts: 313
Reputation: 7,335

Post » Thu Oct 18, 2012 6:19 pm

I think everyone basically just creates a tiny "Hitbox" at a point on the weapon or character to check if the hitbox collides with the enemy.

From there, you can just assign events to deal the damage.
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Thu Oct 18, 2012 6:37 pm

B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Sun Oct 21, 2012 8:39 pm

I can't download the Example I get a 404 message but, I guess I can read the tutorial
B
18
S
5
G
4
Posts: 63
Reputation: 3,912

Post » Wed Nov 07, 2012 7:38 pm

@Rory
I think everyone basically just creates a tiny "Hitbox" at a point on the weapon or character to check if the hitbox collides with the enemy.

From there, you can just assign events to deal the damage.

Yes you could do that or make the sword a separate sprite and give it the Pin ability, then have it rigged to on button clicked, mouse down or whatever you want to use to tell your character to strike, the sword sets it's angle to one angle (Middle of swing) then quickly switches to the next one (end point of swing) then resets to original angle. The gaps in between each position would be small enough that the target would still get hit.
Casus Belli: A reason or cause for war
B
17
S
7
G
5
Posts: 38
Reputation: 4,003


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests