generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: gui question

Previous Thread :: Next Thread 
SameySam is not online. 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 is not online. 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 is not online. SameySam
Joined: 22 Mar 2012
Total Posts: 11040
26 Dec 2015 03:15 PM
Bump
Report Abuse
SameySam is not online. SameySam
Joined: 22 Mar 2012
Total Posts: 11040
26 Dec 2015 10:52 PM
awwe
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
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
LilMcManiac is online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
26 Dec 2015 10:59 PM
ZIndex?
Report Abuse
SameySam is not online. SameySam
Joined: 22 Mar 2012
Total Posts: 11040
26 Dec 2015 11:01 PM
that's not how zindex works
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
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 is not online. 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
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
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 is not online. 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
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
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 is not online. 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
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
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 is not online. SameySam
Joined: 22 Mar 2012
Total Posts: 11040
27 Dec 2015 02:20 PM
@legendary

that's not working neither

;? ;/
Report Abuse
SameySam is not online. SameySam
Joined: 22 Mar 2012
Total Posts: 11040
27 Dec 2015 10:03 PM
bump anyone know how to make this work?
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
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 is not online. 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 is not online. 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 is not online. 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
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
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
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
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 is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
27 Dec 2015 10:34 PM
most bumped thread of 2015 lol
Report Abuse
SameySam is not online. 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
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image