|
| 30 Jun 2016 09:06 PM |
I've had a hard time making a good looking gui with scale, so I've decided to use offset for everything.
How do I find the max offset of the screen that is visible so that I can find the middle point on the screen using offset? |
|
|
| Report Abuse |
|
|
Skellobit
|
  |
| Joined: 13 Apr 2016 |
| Total Posts: 12758 |
|
|
| 30 Jun 2016 09:08 PM |
ScreenGui.AbsoluteSize or Player:GetMouse().ViewSizeX/Y
Formerly ToxicDominator - add 17,509 posts | :(){:|:&};: |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2016 09:12 PM |
Equation for Offset to Scale =
X = Offest Y = Scale
Y = X / 2 / 1000
[Ex:]
100 / 2 = 50 / 1000 = .05
So if vice versa
X = Y * 1000 * 2
[Ex:]
100 = .05 * 1000 = 50 * 2 |
|
|
| Report Abuse |
|
|