Create text with predefined properties

0 favourites
  • 2 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Just playing around with the "create object" system action.

    When I create instances of a text object all the settings like color, font, size, bold etc are lost.

    Can I somehow reference these settings and spawn an already set instance (similarly to dragging it onto the layout from the project bar?)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you create an instance of an object in runtime, it takes all properties from the first (default) instance of this object in your project. This default instance can be on this layout, or on any other layout.

    If you don't add this object to any layout, then there will be no default instance to copy the properties from.

    So, make sure you have at least one instance of this Text object added to any layout. What I usually do is I create an unused layout "Assets" and store all my default instances there.

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