How do I ensure Text is drawn

0 favourites
  • 1 posts
From the Asset Store
You need this package if you want to program a Street Fighter or battle game.
  • To fit a text we can use TextWidth and TextHeight. Manual said [quote:uh2h8d92]Return the size of the actual text content within the text object's rectangle. Note the Text object must be drawn before these have the correct values. If you set the text then immediately access these expressions, they won't yet have the correct value. Adding a 'Wait 0.1 seconds' action will usually solve this.

    But Wait is not a very good solution in here . If you have a fast machine this will be no problem. But if you have a slow mobile machine 0.1 seconds maybe will not enough. Giving a higher value is meaningless. So instead of Wait is there a option to check Text is drawn?

  • 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)