SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 26 Dec 2015 02:22 PM |
is there a way to make a text label pierce through an image label? idk if thats a good way to define it but like make it so it cuts out a piece where the text is from the image label
ex:
/L3rVsun
im g rrr |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 26 Dec 2015 02:24 PM |
the text label would be 100
in image2 (after:) 100 is transparent and you can see through you just cant notice that it is transparent in imgr
and image1 (before:) isn't transparent and the text is over top the gui |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
| |
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
| |
|
|
| 26 Dec 2015 10:54 PM |
For that, use BorderColor3, Frames, BackgroundTranspaency, and TextLabel's.
"The butt-hurt is strong with this one" - GuyWithACleverName 2k15. |
|
|
| Report Abuse |
|
|
| |
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 26 Dec 2015 11:01 PM |
| that's not how zindex works |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2015 11:03 PM |
Look up the properties I mentioned, they can achieve this when put together.
"The butt-hurt is strong with this one" - GuyWithACleverName 2k15. |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 26 Dec 2015 11:16 PM |
@un im on iphone rn but does this even require a script at all? |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2015 11:17 PM |
| If you want the text of the textlabel to show through the imaglabel adjust the ZIndex and make the textlabel's transparency 1. |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 26 Dec 2015 11:58 PM |
@advanced
Im on my phone so cant test but wouldnt that just show the 2nd layer behind it with zindex |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2015 12:02 AM |
ZIndex is a number between 1 and 10; that is used for changing a frame, label or box's layer.
Example: If you had an imagelabel behind a frame but you wanted it the other way round, you just put the ZIndex more than the frame, then it will be over it. |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 27 Dec 2015 01:16 PM |
@advanced
that doesn't work. http://wiki.roblox.com/index.php?title=API:Class/GuiObject/ZIndex
zindex in other words is basically gui layers.
when I make the top layer's text (text label) transparent it does nothing but make the text transparent allowing you to see the gui layer behind it if that makes sense... |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2015 01:37 PM |
put the text label inside the image label
http://www.roblox.com/ITS-FREE-item?id=130771265&rbxp=8320118 |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 27 Dec 2015 02:20 PM |
@legendary
that's not working neither
;? ;/ |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 27 Dec 2015 10:03 PM |
| bump anyone know how to make this work? |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2015 10:10 PM |
@Samey
So behind the TextLabel you want to see nothing? But around the ImageLabel you want the image to still be there?
Gotta upload a new image dude. |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 27 Dec 2015 10:26 PM |
alright this should make more sense
/f3zAqD6
im gr |
|
|
| Report Abuse |
|
|
Ryuzoji
|
  |
| Joined: 21 Dec 2015 |
| Total Posts: 937 |
|
|
| 27 Dec 2015 10:28 PM |
ClipDescendants (does not work for rotation) Basically "hides" anything outside the frame, label, image, etc. ZIndex Yeah... |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 27 Dec 2015 10:31 PM |
@ry put clipsdescendant true and zindex value of 10 and didn't work |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2015 10:32 PM |
I mean, I did something similar to this on a game I have currently in Beta.
This is a little more complex but it's possible,
It will require quite a bit of effort though. Even a bit much for a forum post.
All I can think of is uploading the decal with the center "cut out" already.
Then you can fill in the remaining space with individual pixels.
Would require a modulescript of some sort to convert text to pixels.
Does this make sense to anyone? |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2015 10:34 PM |
| It's got little to do with the text of the textlabel. The imagelabel is the problem here. If that makes sense. |
|
|
| Report Abuse |
|
|
Vyxium
|
  |
| Joined: 31 Aug 2010 |
| Total Posts: 1020 |
|
|
| 27 Dec 2015 10:34 PM |
| most bumped thread of 2015 lol |
|
|
| Report Abuse |
|
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 27 Dec 2015 10:40 PM |
@Diamond
oboi im new to scripting so probably wont go down that rout then...
@vy lmao |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2015 10:42 PM |
| @Sam It's the only way I can think of. And it is quite advanced. If someone made a module for it it would prob go viral. |
|
|
| Report Abuse |
|
|