How do I set text origin in an action?

0 favourites
  • 3 posts
From the Asset Store
Alot of High Quality Items sound effects for your game!
  • When I create text objects from the event sheet the new instances origin is always on the left, unless I leave a manually configured instance of the object in the layout. This seems a bit messy.

    I am missing an action to set the origin to centered, just like I can set color, alignment and everything else...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It used to be required to have an instance of a sprite object on a layout. This was to have default properties. They took away the requirement, but you'll still want to have one to set properties.

    Simple solution is to leave it in the margin outside the layout, and have destroy outside layout behavior on it. Or you can destroy on start of layout manually with an event.

  • Ah, that's an interesting solution. For now I put it on a layer set to "not initially show", which seems to ignore actions.

    But I might use your suggestion when the project gets bigger.

    Thanks! :-)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)