separate the character in parts for complex anims

Get help using Construct 2

Post » Thu Oct 10, 2013 7:19 pm

My character can shoot like a contra dude, in all directions.
I'm programming the diagonal up shooting and just can't get the animation to trigger.

The diagonal/up AIMING does work, but when I prezz Z (shooting key) the diagonal/up SHOOT anim doesn't show. it stays in the aiming thing.

I couldn't figure out why this was happening so I moved on to the diagonal/down stuff. I programmed it and worked perectly, which is strange since both instances are triggered by the exact same stuff.

What I did next was erase the diagonal/up stuff and copypaste the diag/down altering it to make it diag/up, so the events are exactly the same but adapted to each case. It still doesn't work.

here is what I got:



REMEMBER: the only thing not working here is "shoot UP DIAG"Borghi2013-10-11 01:59:46
B
5
S
1
Posts: 92
Reputation: 609

Post » Fri Oct 11, 2013 1:58 am

OK, I solved it.

I'll change the name of the topic and explain what I did cause maybe it's useful for someone else:

I created another sprite representing the player shoting in all different directions. So, when Z is pressed this sprite becomes visible (it's idle animation has no frames) and the rest of the player becomes invisible. This was the control got more fluid since the main sprite is not bound to the shooting animations and can move freely.
B
5
S
1
Posts: 92
Reputation: 609

Post » Mon Oct 14, 2013 5:22 pm

@Borghi

Maybe this can help you a little or just you can get some idea,

https://www.scirra.com/tutorials/355/making-character-composed-of-multiple-parts
B
97
S
20
G
15
Posts: 198
Reputation: 14,596

Post » Mon Oct 14, 2013 10:14 pm

thanks!!
B
5
S
1
Posts: 92
Reputation: 609

Post » Tue Oct 15, 2013 4:09 pm

well, if it's for creating sprites and exporting them to C2, I already do that with after effects and they come out perfectly.
B
5
S
1
Posts: 92
Reputation: 609

Post » Tue Oct 15, 2013 7:34 pm

@Borghi

you can search on the forum , I think there are more, I just saw one tutorial or post but I cannot find it , don't know were it is, I have searched forum for you but I can't get it. Sorry for that.

Hope you get some knowledge from this tutorial too.

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


Just a small tip if you don't know , use the username and put @ sign in front of those users , in this way they will get a message that you just replied to them.thehorseman0072013-10-15 19:35:45
B
97
S
20
G
15
Posts: 198
Reputation: 14,596


Return to How do I....?

Who is online

Users browsing this forum: humanescape, R0J0hound, warmty and 6 guests