Open URL problem in preview GS

dammiedammie Member, PRO Posts: 24

Hello,

Im trying to create my first app. Watched a lot of tutorials etc........but ...... :smile:

Im starting with the Open URL behavior on a twitter icon. At first its seems to work but later i noticed clicking is not only working on the icon but on everything in the whole scene.

Any idea how to fix this???

Comments

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @dammie, this is a game development forum, not Clairvoyants Anonymous. :)

    Show us a screenshot of your rule. You are asking us how to fix something, without giving us even a hint of how you go about it.

  • dammiedammie Member, PRO Posts: 24

    Haha sorry, im new here :smile:

    I tried this rule on the actor and before and after i placed it in the scene.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    The condition 'mouse button down' will trigger ANY TIME the mouse button is pressed, remove that condition.

    Also are you aware of the Tweet Sheet Behavior? That allows you to tweet right from your game.

  • HopscotchHopscotch Member, PRO Posts: 2,782
    edited August 2015

    @dammie, your rule checks for "Any" of the conditions to be true.
    Since the "mouse button down" condition just checks what it says, it will be true while pressing anywhere on the scene.

    So, you only need the "Touch is pressed" condition. This checks if you touched the actor.

  • HopscotchHopscotch Member, PRO Posts: 2,782

    Snap! @jamie_c :D

  • dammiedammie Member, PRO Posts: 24

    Ow great thnx! I thought this was for PC/iMAC use important :smile:

    I read something about Tweet Sheet. I would like to use this option after "Game Over". The user could use the button to tweet score & screenshot with a little promotion for the app itself.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    @Hopscotch, we both must have hit Post at 7:57! LOL

    I would like to use this option after "Game Over". The user could use the button to tweet score & screenshot with a little promotion for the app itself.

    @dammie, that is exactly what the Tweet Sheet Behavior is used for.

Sign In or Register to comment.