How to opacity with distance

Get help using Construct 2

Post » Tue Apr 03, 2012 2:57 am

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?amiltonbr2012-04-03 03:17:27
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Post » Tue Apr 03, 2012 5:37 am

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

[url = http:...]Text[/url]
But delete the spaces around the =7Soul2012-04-03 05:37:25
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Tue Apr 03, 2012 12:39 pm

[QUOTE=7Soul] 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

[url = http:...]Text[/url]
But delete the spaces around the =[/QUOTE]

VERY WELL    THANK SO MUCH
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Post » Tue Apr 03, 2012 12:41 pm

[QUOTE=7Soul]

To fix the signature, use the URL bbcode

[url = http:...]Text[/url]
But delete the spaces around the =[/QUOTE]

Actually I want the gif to be displayed and linked to the page of the game.
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Post » Tue Apr 03, 2012 12:47 pm

Use the bbcode [img ]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.Kyatric2012-04-03 12:48:48
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Tue Apr 03, 2012 12:49 pm

[QUOTE=Kyatric] Use the bbcode [img ]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.[/QUOTE]


:D:D::D Thank .   Kyatric , and with Link ?
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Post » Tue Apr 03, 2012 12:52 pm

As explained before with the [url ][/ url] tags.
Something like
[url= your_link_url][img ]your_image_url[/img ][/ url]
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Tue Apr 03, 2012 12:53 pm

[QUOTE=Kyatric] As explained before with the [url ][/ url] tags.
Something like
[url= your_link_url][img ]your_image_url[/img ][/ url][/QUOTE]

Hahha :D Thank :ddd   Play my game is very well   :D:D
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Post » Wed Apr 04, 2012 12:27 am

that's a lot for that 7Soul :)
B
16
S
3
G
4
Posts: 40
Reputation: 3,877


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests