How To Make Custom Controls/ Use Advanced Move

Discussion in 'How Can I...?' started by Bllaaa, Aug 26, 2018.

  1. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Hi everybody.

    I would my player can shoot and move at the same time. I have a specific anim for that. So I puted this anim in the move animation container. But when my player move he can't shoot, because it's a different animation/control. In basics Buildbox controls, the player can move or shoot, but never both at the same time.

    Also, I don't know how to learn the functionality "Advanced Move". Is somebody can help me, please ^^
     

    Attached Files:

  2. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Help please ^^
     
  3. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    click the move container then drag your bullet as a object. make the object to destroy enemy if that's what you want and add a spawner to that bullet. I think it will work.
     
  4. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Thanks Tars.

    It works... a bit ^^
    When my player move, now, he also can shoot, but not when I press the move button. He shoot when I also press the shoot button.
    What I would is, when I press the move button, the player move and shoot (and the animation move is played)^^

    Hope you can help me. I think we're close to the goal.
     
  5. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    maybe set the spawner to permanently.
    great design btw
     
  6. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    I tried, but it changes nothing. When I set the parameters on "permanent", nothing happen. :/
    Mff... it's a bit annoying, I really don't know how to make.

    Thanks :):)
     
  7. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    did you but the bullet in the same container as the move animation? and set it to permanent
     
  8. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Haaaaa, yess it works !! I don't understand why but, yesterday it didn't worked, and now it's ok.
    Thanks a lot for your help Tars. ;)

    upload_2018-8-28_10-5-45.png
     
  9. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    glad to have helped. I would change the collision from collide to none for the bullet, to not have it collide with some objects that are not enemies.
    again this looks like it's gone be a cool lookin' game
    also I see your bullet is 0.5 it's size. I would import all assets the right size and not increase the size in buildbox. it would help to increase the size of the game and it's improvements
     
    Last edited: Aug 28, 2018
    Bllaaa likes this.
  10. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Ah yes good advice. I'll optimise all the graphics assets at the end of the project, but you're right ^^
     

Share This Page