Busting My Brain To Add A Sound Effect

Discussion in 'Buildbox General Discussion' started by DBL, Apr 28, 2021.

  1. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    I am trying to learn Buildbox by completing the "Simple game" tutorials. I have gone beyond the tutorial to add sound effects to jumping and dying, but can't figure out how to add one to grabbing the blue diamond:

    Thank you.
     
    Last edited: Apr 29, 2021
  2. Hue Buildbox

    Hue Buildbox Administrator Staff Member

    Joined:
    May 11, 2017
    Messages:
    456
    Likes Received:
    209
    Hi, be sure the diamond's physics is set to Static and this setup should work.
     
  3. DBL

    DBL Boxer

    Joined:
    Feb 24, 2021
    Messages:
    42
    Likes Received:
    4
    That worked! Thank you!

    I am wondering why the physics needs to be set to static.
     
    Hue Buildbox likes this.
  4. Hue Buildbox

    Hue Buildbox Administrator Staff Member

    Joined:
    May 11, 2017
    Messages:
    456
    Likes Received:
    209
    You'll need physics to collide with the object.
    No physics and you'll have an image that has no collision shape and nothing for your character or other objects to collide with.

    • Static—Select to make the asset or character static. It won’t move at all.
    • Dynamic—Select to make the asset or character move naturally, adhering to the laws of gravity.
    • Kinematic—Select to make the asset move when colliding with other objects. It will not be affected by gravity.
     

Share This Page