Making player attack animation

Get help using Construct 2

Post » Fri Sep 27, 2013 11:20 pm

Hello C2 community!

Got another one... I'm working on a platform game, and I'm having trouble trying to figure out which object gets the bullet behavior... Do I put it on the playerbox or the player sprite? Also do I set the edge of image point "1" to the front of the playerbox? I hope I explained things in a "C2" manner, I'm basically trying to get my protagonist to fire off a few bolts a the press of a key...
Image
B
34
S
17
G
9
Posts: 103
Reputation: 8,101

Post » Sat Sep 28, 2013 12:52 am

Look at the level Ghost Shooter(Tutorial) that comes with C2
B
45
S
15
G
73
Posts: 2,000
Reputation: 43,382

Post » Sat Sep 28, 2013 1:02 am

@plinkie

I read that exact same tutorial dude... My issue is I'm making a platformer game... I have a player box pinned to a player sprite... to attaching the bullet behavior to the player sprite causes issues... my sprite's animation do not sync up... I think I need to attach the bullet to the hidden player box instead since it has the platform behavior as well...
Image
B
34
S
17
G
9
Posts: 103
Reputation: 8,101

Post » Sat Sep 28, 2013 1:04 am

If by attach you mean create object(bullet) then yeah use the player box. use the player sprite just for the animations.
B
45
S
15
G
73
Posts: 2,000
Reputation: 43,382

Post » Sat Sep 28, 2013 1:08 am

Thank you very much @plinkie!!! much appreciated dude
Image
B
34
S
17
G
9
Posts: 103
Reputation: 8,101

Post » Sat Sep 28, 2013 2:10 am

Ok I ran into another issue... I have my sprite for the bullet behavior and I followed the ghost shooter tutorial to the tee somewhat... I place my custom sprite off the layout and when I run the game, I get my desired effect up until a certain point in the game, and then I can't see my bullet sprite anymore... I even put the "Every Tick" condition in and the same outcome... I hope I'm explaining this right.
Image
B
34
S
17
G
9
Posts: 103
Reputation: 8,101


Return to How do I....?

Who is online

Users browsing this forum: BadMario, mr32D, mtnboy22 and 1 guest