... create a melee attack???

Discussion in 'How Can I...?' started by kpportier, Oct 6, 2015.

  1. tweettopix

    tweettopix Boxer

    Joined:
    Sep 30, 2015
    Messages:
    23
    Likes Received:
    8
    My player has a sword, and I would like him to kill an enemy by swinging his sword.

    - I created an invisible "hitbox" image and added this as an object to his shooting animation
    - I set the properties as "character bullet", but set its horizontal speed to zero
    - I ticked the "spawner" box and selected "shooting"

    This creates an "hitbox" (character bullet) floating in the air and staying there, if it doesn't hit an enemy.

    - I also tried to set the "hitbox" properties to physics, so it falls down immediately by gravity. But this will kill enemies beneath the player.

    Is it possible to create a melee attack with BuildBox?
     
  2. vrandan

    vrandan Boxer

    Joined:
    Oct 6, 2015
    Messages:
    19
    Likes Received:
    4
  3. vrandan

    vrandan Boxer

    Joined:
    Oct 6, 2015
    Messages:
    19
    Likes Received:
    4
    I tried and it worked, but I wish buildbox will add a better on then this in the future
     
  4. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    @vrandan Hey man if/when you own Build Box, you can put that in the features request thread. :)
     
    Sean Buildbox likes this.
  5. vrandan

    vrandan Boxer

    Joined:
    Oct 6, 2015
    Messages:
    19
    Likes Received:
    4
    Yea will do that
     

Share This Page