Author Topic: Emoticon aspect ratio  (Read 6413 times)

AeornFlippout

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Emoticon aspect ratio
« on: August 27, 2014, 05:31:51 PM »
Our emoticons seem to be only showing up in our font with a square shape. Is this by design - or should we expect that the shape it would take in the label would match the aspect ratio of the source image?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Emoticon aspect ratio
« Reply #1 on: August 28, 2014, 08:51:51 PM »
You can adjust this by adjusting the padding of the sprite in question. Select the sprite in the atlas and tweak them to see the result right away.

AeornFlippout

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Re: Emoticon aspect ratio
« Reply #2 on: August 29, 2014, 09:32:22 AM »
Hmm, I'm not seeing that changing the padding affects the shape of the Emoticons, only the offset within the label and the overall size.
I'm also not seeing it update until I restart the game.

Is this a feature that only works with dynamic fonts or something?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Emoticon aspect ratio
« Reply #3 on: August 30, 2014, 09:14:18 AM »
It won't change the shape. The shape is whatever the sprite is. If you choose a rectangular shape, it will also be rectangular. Padding lets you control the spacing around the emoticon, which is what I meant.

The changes to the emoticon sprite should update the emoticons within text right away -- at least they do on my end (and I just double-checked to confirm).

AeornFlippout

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Re: Emoticon aspect ratio
« Reply #4 on: August 30, 2014, 10:58:08 AM »
Ahh - indeed you're right. It turns out I had a rogue transform scale on one of the objects in the hierarchy.
Sorry for the false alarm :(