How do I hide text under image?

Get help using Construct 2

Post » Thu May 03, 2012 8:44 pm

So I'm making chat with scrollbar. My question is how can I hide chat texts under background (There is little "window" "painted" with alpha channel, where texts should be able to see).

Capx here: http://koomagames.net/uploads/scrolltest.capx

If you copy it I'll put you to jail if you haven't wrote "Thanks to Koodari" at your game's credits Koodari2012-05-03 20:52:06
B
14
S
2
G
3
Posts: 8
Reputation: 3,762

Post » Thu May 03, 2012 9:11 pm

Manual entry about text object :

[quote]Note if WebGL is enabled in project properties, due to technical limitations all Text objects appear on top of everything else in the game. For example, Sprites cannot be displayed on top of Text objects when WebGL is on, because the text is rendered to an overlay above the game. It is recommended to design your game so it is not necessary for other objects to appear on top of text objects, since turning off WebGL can reduce performance.[/quote]

For scrolling some block of text inside a text object I had done this capx a while ago.
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: 6,998
Reputation: 57,791

Post » Thu May 03, 2012 9:49 pm

[QUOTE=Kyatric] Manual entry about text object :

[quote]Note if WebGL is enabled in project properties, due to technical limitations all Text objects appear on top of everything else in the game. For example, Sprites cannot be displayed on top of Text objects when WebGL is on, because the text is rendered to an overlay above the game. It is recommended to design your game so it is not necessary for other objects to appear on top of text objects, since turning off WebGL can reduce performance.[/quote]

For scrolling some block of text inside a text object I had done this capx a while ago.
[/QUOTE]
Oh, thanks!
B
14
S
2
G
3
Posts: 8
Reputation: 3,762

Post » Fri May 04, 2012 2:59 am

I've mentioned this before regarding overlapping text with other objects but will reiterate here in case it's helpful.

You can potentially use the Canvas plugin and paste the Text object to the Canvas. It's an extra step, but doing that will allow you to place other objects over it.Ugotsta2012-05-04 02:59:29
B
126
S
7
G
4
Posts: 185
Reputation: 7,233


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests