of     2   
chevron_rightchevron_rightchevron_right

werts15
#36331900Monday, November 01, 2010 3:24 AM GMT

Is it possible to change the shape of a GUI? So it's not just a block. I want one in the shape of a puzzle piece, but I have no idea how to do it? I am NOT asking for the script, I just need help getting it started. Any help?
wazup07
#36332023Monday, November 01, 2010 3:28 AM GMT

i dont think you can do this. I know one way you could do it is to create an image of a puzzle piece, upload it to roblox, then use an imagelabel with your uploaded picture on it. Hope this helps.
NecroBumpist
#36332063Monday, November 01, 2010 3:29 AM GMT

[ Content Deleted ]
wazup07
#36332638Monday, November 01, 2010 3:51 AM GMT

hmm yeah i guess you could do that too lol i think an image would look better though
RobloxMasterDX
#36332712Monday, November 01, 2010 3:54 AM GMT

i could make you a decal (use for ImageLabel) just tell me if u want me to make one... and tell what color and if haz border(border is line) :3
Playrobot
#36334546Monday, November 01, 2010 5:29 AM GMT

Just put a frame of a certain size and make it transparent and then put an ImageButton on top of the frame that has the image of the puzzle piece. with a transparent background on the edges where the puzzle piece isn't. I do that all the time with round buttons.
pkmasive
#36336638Monday, November 01, 2010 8:42 AM GMT

yes you can be you need alot of scripting skill to be able to change the shape vareables i sugest you stay to normal squar/rectangle gui's
pkmasive
#36336646Monday, November 01, 2010 8:43 AM GMT

i never new you could do it like that playrobot.
werts15
#36361305Monday, November 01, 2010 10:28 PM GMT

I do not understand where to put the stuff. I have this: --StarterGui ----ScreenGui ------TextButton --------Script Any help on where to put the stuff?
Everstone
#36361630Monday, November 01, 2010 10:33 PM GMT

Insert a ImageLabel. It might help. >.<
Shigamatteiru
#36361680Monday, November 01, 2010 10:34 PM GMT

Should be --StarterGui ----ScreenGui ------Frame --Transparency is transparent, and successful fail is paradox. --------ImageLabel --Containing whatever shape you want your piece to have ----------Script --Whatever this is.
werts15
#36363403Monday, November 01, 2010 10:56 PM GMT

I have what is above, and I want it so it is possible to drag the puzzle piece. I got the script out of free models, and it worked, until I messed with the Image and Frame. bar = script.Parent vals = {} c = bar.Parent:GetChildren() for i = 1,#c do tab = { xs = c[i].Position.X.Scale, xo = c[i].Position.X.Offset, ys = c[i].Position.Y.Scale, yo = c[i].Position.X.Offset} vals[c[i].Name] = tab end held = false function startDrag(xpos, ypos) for i = 1,#c do xoish = xpos - c[i].Position.X.Offset yoish = ypos - c[i].Position.Y.Offset vals[c[i].Name].xo = xoish vals[c[i].Name].yo = yoish end held = true end function move(xpos, ypos) if held then for i = 1,#c do c[i].Position = UDim2.new(vals[c[i].Name].xs, xpos-vals[c[i].Name].xo, vals[c[i].Name].ys, ypos-vals[c[i].Name].yo) end end end function stopDrag() held = false end bar.MouseButton1Down:connect(startDrag) bar.MouseButton1Up:connect(stopDrag) bar.MouseMoved:connect(move)
werts15
#36364171Monday, November 01, 2010 11:05 PM GMT

BuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUmP.
werts15
#36365072Monday, November 01, 2010 11:17 PM GMT

Nobody helps with the hard stuff... I guess I will have to do "BuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUmP" again.
werts15
#36366061Monday, November 01, 2010 11:29 PM GMT

I think I need a button someplace. Any help?
RobloxMasterDX
#36385747Tuesday, November 02, 2010 7:06 AM GMT

too hard D:
RobloxMasterDX
#36385760Tuesday, November 02, 2010 7:08 AM GMT

ScreenGui -Frame --ImageButton (Puzzlepieces) ---Script (Drag script) its Imagebutton (not imagelabel<- is like a picture frame) because You use it for Drag
werts15
#36419312Tuesday, November 02, 2010 11:32 PM GMT

Thanks, RobloxmasterDX! It works now, but when I make the Frame Invisible, it makes the imagebutton invisible too, because it is in the Frame.
werts15
#36419569Tuesday, November 02, 2010 11:35 PM GMT

I got it to work. I got rid of the frame, and made the imagebutton's background transparent. But now, When I put my mouse over it, it turns yellow, and when I click it, it turns blue. I think it has something to do with the script, but I do not know what most of the script means. Help please?
Everstone
#36420131Tuesday, November 02, 2010 11:42 PM GMT

It isn't the script. It's just the function of an ImageButton. If you don't want to do that use an ImageLabel instead. But then it can't be dragged. :/
werts15
#36420352Tuesday, November 02, 2010 11:45 PM GMT

So I can't get my game to work? :'( I was hoping to make a good gui scripted game and have it get on the front page. There was going to be different levels of jigsaw puzzles and each one gets harder and harder. :'( But I guess that is not possible.
Spikexp
#36424067Wednesday, November 03, 2010 12:23 AM GMT

There should be a button that says something along the lines of "Auto Color Select" Make sure it's false.
Spikexp
#36424215Wednesday, November 03, 2010 12:25 AM GMT

Actually, it says "AutoButtonColor". Second option down.
werts15
#36428704Wednesday, November 03, 2010 1:16 AM GMT

Thanks, spike! Now it works! I will make new questions in a different thread if I have any.
werts15
#36429025Wednesday, November 03, 2010 1:21 AM GMT

Nevermind. It still does the same thing. But, if I make it inactive, it does not do that, but it is lighter and you can see the outline. Weird...

    of     2   
chevron_rightchevron_rightchevron_right