Attack and jump attack

Get help using Construct 2

Post » Sun Mar 24, 2013 11:08 pm

So my problem is that I have a 3 hit combo set up when on the ground. I've set it to deactivate when jumping and reactivate upon landing. This doesn't work like it should. The air attacks do not activate immediately. If I continue to attempt this over and over left clicking rapidly while jumping then it will fix itself, but with the consequence of no longer being able to attack with the 3 hit combo on the ground.

Any help is appreciated.

Controls:
WASD = "move"
shift = "dash"
left click = "attack"


Here is the capx:
https://www.dropbox.com/s/2h81lhsa2ux8y2v/Test2.capx
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Mon Mar 25, 2013 3:44 am

i think i fixed it but now your dash is bug xD
https://dl.dropbox.com/u/85479859/Test2.capx
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Mon Mar 25, 2013 4:07 am

I actually just fixed it myself.

Thanks for you're help though. I had to connect the combo attacks with the "ground attack". So specific this is, just like coding. Just not near as hard.

The only problem I notice now is that if I continue to left click repeatedly then the ground attacks will deactivate until I refresh the tab.
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Mon Mar 25, 2013 4:36 am

check the capx, i think i fixed that bug (the bug when you click repeatedly and the combo deactivates) =).haifisch2013-03-25 04:38:10
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Mon Mar 25, 2013 5:39 am

Wow, good job.
I see that it works, but I quite understand it as I am looking at what it is that you've done.

Like on the sub-event of each attack why does it say "attack3" when the first attack is actually "attack1" in the combo. I even tested it to see and it was. Also why are they inverted?
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Mon Mar 25, 2013 5:50 am

the events arent in order that is why attack 3 is the first, it wont affect the game, and the animations are inverted because if you click too fast it will "cut" the animations, i mean the animations of the hits will start even if the last animation isnt finished, the events will trigger too.
pd: sorry for my bad english
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Mon Mar 25, 2013 9:40 pm

Does it matter if "attack 3" is listed to be first or not? Will it affect the game if I list it in order?

Now how does inverting the animations make them not get "cut"? I guess I don't understand it function.

Thanks for all your help!

P.S. Your English is fine. Where are you from?
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Tue Mar 26, 2013 12:11 am

no it doesnt matter because to trigger the events the conditions need to be true, and it wont affect the game.

if you invert the animation condition the actions wont trigger if you hit the click too fast because the condition is that if the animation "attack1" isnt playing you do the actions, so if it is playing the events wont trigger.

i am from chile (south america) =).
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Tue Mar 26, 2013 5:31 am

I did everything you said to do and it all works perfectly now.

Thank you so much for your help. Have you made a game yet? I would like to see it if so. It seems you are pretty good with the construct 2 software.
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Tue Mar 26, 2013 6:06 am

well i have this https://dl.dropbox.com/u/85479859/New%20project/index.html
is an early state of my game, you cant die and the robits wont chase you to death, i am doing it with a friend and we are waiting to buy the construct license to continue it.
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Next

Return to How do I....?

Who is online

Users browsing this forum: Bad Wolf, davides, NRABrazil, Vallar, Walessio, WhosWho and 26 guests