Making player attack animation

  • 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...

  • Look at the level Ghost Shooter(Tutorial) that comes with C2

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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...

  • If by attach you mean create object(bullet) then yeah use the player box. use the player sprite just for the animations.

  • Thank you very much plinkie!!! much appreciated dude <img src="smileys/smiley32.gif" border="0" align="middle" />

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)