Scripting Buttons

Discussion in 'Buildbox 3.0' started by Stok, Jul 10, 2019.

  1. Stok

    Stok Boxer

    Joined:
    Jun 29, 2019
    Messages:
    13
    Likes Received:
    0
    Hey guys,
    I’m currently working on the main menu and have some trouble to find how to modify the scripts of the buttons. I have a button to make the vibrations on/off, a button for the leaderboards (Game Center for IOS and Google Play for Android), a button for privacy settings (2 toggles on/off for accepting ads...) and finally a button to make the player revive when watching a video ad and so I don’t really know how to make them.
    Can you help me ?
    Thanks.
     
  2. Stok

    Stok Boxer

    Joined:
    Jun 29, 2019
    Messages:
    13
    Likes Received:
    0
    Anyone please ?
     
  3. itzonator

    itzonator Serious Boxer

    Joined:
    Dec 18, 2017
    Messages:
    594
    Likes Received:
    228
    Vibrations ON/OFF -> Navigation Button (Custom) - you need to add extra code for this when the project is exported.
    Leaderboard -> Navigation Button (Game Services)
    Privacy Settings -> URL button with a link to your privacy policy page
    GDPR -> Navigation Button (Custom) for revoke consent purposes for ads
    Revive Video Ad -> Purchase Button (Rewarded Video)


     
    Stok likes this.
  4. Stok

    Stok Boxer

    Joined:
    Jun 29, 2019
    Messages:
    13
    Likes Received:
    0
    Ok, great

    Thanks a lot !
     

Share This Page