help me regarding this

Get help using Construct 2

Post » Sun Aug 12, 2012 12:49 am

I am trying to make a fighting game platform.

my problem is :

i set the keyboard to "A" so i will PUNCH but, after pressing A it punches but it will stop. i don't know how to say. but if we play fighting game such " King of Fighter ", we spam A A A A A to punch right ?

i can't spam A A A A, how many A i spam the result is 1 = punch..

HELP ME..
B
16
S
3
Posts: 17
Reputation: 1,005

Post » Sun Aug 12, 2012 4:47 am

Can you post your events here so we can see whats wrong?
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Sun Aug 12, 2012 6:01 pm

lets see,

my real problem:

i found many tutorial i did is the Player using the Gun as weapon,
in the gun theres a bullet and the bullets is a sprite.
it is easy if our Player used gun to shoot against the monster
but..

How if Player used his hand. how do replace the hand like the bullet ?
should i crop the hand and consider it as bullet ?

else ,

no need to crop but using the present sprite.
i tried to do many things

what i want is when i set my anime to punch the enemy,
the enemy dead. i search for the tutorial but i didnt find any elements that suits to my project..

sorry for my English. =(
B
16
S
3
Posts: 17
Reputation: 1,005

Post » Sun Aug 12, 2012 10:08 pm

If animation "punch" is playing and "your sprite" is overlapping/in collision with different sprite -> do something

or

At specific frame of your punch animation, spawn new sprite (detector).

As always, there is many ways to do that kind of stuff.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sun Aug 12, 2012 11:15 pm

i found it..
thanks!

what i did is,

i create a new invisible square.
so i named it as "punch",
when i set animation " punching " ( and i make sure my image point is set real well. ) Player > spawn "PUNCH" on layer 1(image point 1).
and it fixed!

thanks guys
B
16
S
3
Posts: 17
Reputation: 1,005


Return to How do I....?

Who is online

Users browsing this forum: alextro, MarkStockley and 1 guest