[Request] Width of any text expression

0 favourites
  • 1 posts
From the Asset Store
Change delay, create new lines, "backspace" the text
  • Right now the only way to get a width of a text is using the action .textwidth from Text objects, my suggestion as the title says is be able to get a width of any text(from variables to common strings) you want like for example: textwidth("test text",10,"arial"), first the text you want to get the width then the size of the font and final the font type, this action could be added in the system at the Math or Text section, this is useful when for example you want to change a size of a object based on a text that is changed according to an event and you can't or don't want to use a text object for that, there are many other things this could be used to, this was just a single example and obviously there are other things that have priority to be added but I guess depending on the effort to make that possible would be a good idea

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)