Game Development Community

Gui : Game Scales

by Andrew Son · in Technical Issues · 03/23/2011 (8:10 pm) · 1 replies

Hey guys! Got a quick question! Working with TGB here. I noticed the X,Y grid is different for GUIs than it is for the 2d scene ie(a gui with the same x,y position as a 2D scene object will show up at a different spot on screen than its counterpart). Is there a scale/ratio or something I can go by so I can calculate exactly where I want that gui to pop up? I'm cranking out some random numbers that will need to pop up above objects' heads.

#1
03/24/2011 (3:55 am)
Just found the attachGui function! Gotta love it when I make things harder than they have to be!