How to opacity with distance

0 favourites
  • 9 posts
  • It is simple to doubt ...

    How to do when I get close to the object it increases its opacity want a help bubble appears only when we are near it.

    One more doubt because my signature appears wrong?

  • Every Tick

    Speech bubble: set opacity to 200-Distance(bubble.x, bubble.y, player.x, player.y)

    This way, the speech bubble will be completely visible when the player is within at least 100 pixels away from it, and fade completely to 0 at 200 pixels distance

    To fix the signature, use the URL bbcode

    Text

    But delete the spaces around the =

  • Every Tick

    Speech bubble: set opacity to 200-Distance(bubble.x, bubble.y, player.x, player.y)

    This way, the speech bubble will be completely visible when the player is within at least 100 pixels away from it, and fade completely to 0 at 200 pixels distance

    To fix the signature, use the URL bbcode

    Text

    But delete the spaces around the =

    VERY WELL    THANK SO MUCH

  • To fix the signature, use the URL bbcode

    Text

    But delete the spaces around the =

    Actually I want the gif to be displayed and linked to the page of the game.

  • Use the bbcode

    your_dropbox_url[ /img] (without the spaces).

    Also animated images are generally not appreciated as signature on this forum, kind of distracting in the page.

  • Use the bbcode

    your_dropbox_url[ /img] (without the spaces).

    Also animated images are generally not appreciated as signature on this forum, kind of distracting in the page.

    :D:D::D Thank .   Kyatric , and with Link ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • As explained before with the [/ url] tags.

    Something like

    your_image_url[/img ][/ url]

  • As explained before with the [/ url] tags.

    Something like

    your_image_url[/img ][/ url]

    Hahha :D Thank :ddd   Play my game is very well   :D:D

  • that's a lot for that 7Soul :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)