I am having a little trouble making overlays appear above(North of) my icons. Is there a way i can set the pixel_y var to be equal to the icon height(varies)?
I've looked at the pixel_y in the help file but nothing and i cant find a variable for icon height to set it to.
Can anyone point me in the right direction?
Many thanks.
ID:273664
Dec 7 2010, 2:24 pm
|
|
In response to Kaiochao
|
|
Thanks,and your right, its not good for the CPU at all.
A predefined height would be more suitable and I think I'm just going to have to settle for that since the reaction time is killer. But thank you for your help, it has been very useful. |
As far as I know, creating new /icon objects in DM isn't very fun for the CPU, whether you're using it visually or not. That said, it is more efficient to just pre-define a height var for all of your objects, which would default to world.icon_size, which defaults to 32.