|
| 22 Oct 2012 04:02 PM |
Is there anyway to make sure a GuiObject is exactly at the bottom of the screen, WITHOUT scale?
¤ ¤ † K M X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:03 PM |
Yes, but Scale is probably the best way to go.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:04 PM |
{0, 0}{1, -height of gui}
So no, you have to use a combination. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:04 PM |
I HAVE to go with offset in this case, so how would I accomplish it with offset?
¤ ¤ † K M X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:05 PM |
| See my reply. Use a combination. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:05 PM |
Eh, now that I think about it, I guess I could use scale. But I'd have to change every size... Again...
¤ ¤ † K M X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:06 PM |
@Source
I know about that. That's why I asked if you could do without it. Oh well.
¤ ¤ † K M X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:07 PM |
Why do you HAVE to use offset?
And it would probably go something like this
derp.Position = UDim2.new(0,0,0,SizeOfScreenY-SizeOfGuiY)
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:08 PM |
But this is relative to everyone that plays the game.
And it just would be a lot easier to have it in Offset, for checking collision, imo. And I ALREADY PUT EVERYTHING IN OFFSET GAHHH. Time to redo everything...
¤ ¤ † K M X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 22 Oct 2012 04:09 PM |
You can get the player's mouse, and then subtract the height of the Gui size from mouse.ViewSizeY
C:
Mouse.ViewSizeY - according to the Wiki is the height of the game window. (Excluding the Title bar, where the Minimise, and Close buttons are) |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2012 04:10 PM |
Checking for collisions? Place the GUI with scale and use AbsolutePosition for the position of it.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 22 Oct 2012 04:10 PM |
| Also, Mouse.ViewSizeY is in PIXELS, or Offset for a Gui. |
|
|
| Report Abuse |
|
|
| |
|