December 14, 2017, 06:46:19 PM

Author Topic: TextAlign  (Read 1844 times)


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 581
    • View Profile
    • My website
« 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.