|
| 14 Aug 2015 10:23 PM |
for GUIS!?!?! So confused!
Falcons for Life |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
| |
|
|
| 14 Aug 2015 10:31 PM |
@above helps alot
Falcons for Life |
|
|
| Report Abuse |
|
|
| |
|
71428
|
  |
| Joined: 06 Aug 2015 |
| Total Posts: 339 |
|
| |
|
71428
|
  |
| Joined: 06 Aug 2015 |
| Total Posts: 339 |
|
|
| 14 Aug 2015 10:44 PM |
| Oh for Gui classes. I couldn't understand that for some reason |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:46 PM |
Its better to use both if you can
Offset = # of pixels
Scale = % of total screen size |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:49 PM |
It depends what you're doing.
If you want something the same size (the area is the same no matter the screen) or same offset position (from the top-left of the screen) then you would use offset.
If you want something to take up a percentage of the screen or be a percentage away from the origin (top-left) then you would use scale.
Sometimes you would use both (maybe offset for size and scale for position, or scale and offset for size and scale and offset for position) |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:50 PM |
Well, my goal is for the GUIs to be equivalent for any screen, iPhone, regular computer, etc.
Falcons for Life |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:50 PM |
| Okay but what do you mean by equivalent? Take up the same percentage of a screen? Use scale. |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:51 PM |
Scale Only? Because I don't want it off the screen, but I don't want it to the left or right of where it was, no matter the screen size.
Falcons for Life |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:52 PM |
| If you use scale and a value between 0 and 1, it will never go off the screen (in terms of size). |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:53 PM |
Okay, scale only? And will this put every GUI in the way they would be on a regular computer, except it would technically be smaller due to smaller screen.
Falcons for Life |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 10:59 PM |
Sizing via Scale: http://prntscr.com/84t49a Sizing via Offset: http://prntscr.com/84t49n
The left 'box' is a 800x800 monitor (obv. not to scale) The right 'box' is a 400x400 monitor (obv. not to scale) |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 14 Aug 2015 11:03 PM |
he means Sizing via Offset: http://prntscr.com/84t49a Sizing via Scale: http://prntscr.com/84t49n
|
|
|
| Report Abuse |
|
|
|
| 14 Aug 2015 11:05 PM |
so scale only?
Falcons for Life |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
| |
|
| |
|