October 18, 2017, 05:57:32 AM

Author Topic: TextAlign  (Read 1738 times)

ibilon

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 581
    • View Profile
    • My website
TextAlign
« on: August 27, 2013, 04:28:05 AM »
I think we should add something to hide the difference between flash/html5 and native concerning TextAlign.

Right now the flash target use TextFormatAlign and the natives use a String.

Meaning we have to use (in the game's code) conditional compilation and that complicate the code and takes more time to write.

The easiest way would be to use String on all targets and add a switch in the Text creation for the flash target.
That would break existing code though.

Jongrongl

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: TextAlign
« Reply #1 on: October 12, 2017, 05:20:40 AM »
I'm getting more knowledge from every comment.