shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 01:59 PM |
| I want to know so my page is more visible and more understandable. |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
| |
|
|
| 29 Mar 2015 02:03 PM |
Are you talking Guis or thumbnails? If it's a gui, just place an ImageLabel into a ScreenGui or PlayerGui If it's a thumbnail, the dimensions are 500x280 |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 02:04 PM |
| Location of player/screen gui? |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2015 02:09 PM |
If you're in studio, at the very top click View>Explorer and then View>Properties Insert a ScreenGui by clicking Model>Advanced Objects>ScreenGui (no frame needed) into StarterGui
Insert an ImageLabel by clicking Model>Advanced Objects>ImageLabel into the ScreenGui and change the image ID to a decal's texture ID.
|
|
|
| Report Abuse |
|
|
|
| 29 Mar 2015 02:10 PM |
Then change the dimensions of the ImageLabel. By default, it is {0, 100},{0, 100}
Change it to {1, 0} {1, 0} to make it cover the whole screen. |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 02:14 PM |
| Is this a way to make it activate by clicking a button or does it remain on the screen forever? |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2015 02:18 PM |
| It remains on the screen forever. |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 02:19 PM |
| Is there a way to switch it so it activates by button? |
|
|
| Report Abuse |
|
|
Kamov
|
  |
| Joined: 07 Aug 2008 |
| Total Posts: 29015 |
|
| |
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 02:22 PM |
| Well I see it a lot so I assumed it was possible to script out I just don't know to script to this level. /ifeelsbad. |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2015 02:24 PM |
Yes.
Insert a TextButton into the ScreenGui. Name it Button
local button = game.StarterGui.ScreenGui.Button local image = game.StarterGui.ScreenGui.ImageLabel
button.text = "Open" function onClick() if image.Visible == false then image.Visible = true wait() button.Text = "Close" end
else
if image.Visible == true then image.Visible = false wait() button.Text = "Open" end end
This should work. Let me know if it doesn't and I'll fix it. |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
| |
|
|
| 29 Mar 2015 02:35 PM |
| remove the else see if that works |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 02:38 PM |
| Here is what I have ScreenGui going to Button to Script. Is this correct? |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2015 02:40 PM |
Yes have a script inside of the button and have an ImageLabel in the screenGui |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2015 02:40 PM |
| Oh but make the ImageLabel so that it's not visible |
|
|
| Report Abuse |
|
|
shrauger
|
  |
| Joined: 08 Nov 2011 |
| Total Posts: 10573 |
|
|
| 29 Mar 2015 02:47 PM |
| The button is clickable (atleast for now) but it won't show the decal. |
|
|
| Report Abuse |
|
|