Dynamic Text Replacement
Dynamic Text Replacement

The Dynamic Text Replacement window allows you to configure a text layer that will change content every time an associated variable changes its value. Dynamic Text layers will not render as images but as real text (be careful because text renders differently in different platforms. It is always a good idea to test the final project in the destination device). Select the layer you want to add the Dynamic Text feature and click the Dynamic text replacement. The following window appears:

-
Associated variable list, select the variable that will be connected with this layer content.
-
Use native system font checkbox: When enabled, it will use the device’s default font, instead the original font used in Photoshop.
The benefit of doing that is the fact you will not need to worry importing and testing the original font in the devices. If disabled, Kwik will ask for the font file when publishing (it will be copied and attached to the final build folder).
External fonts may require some manual input. For more info, read the How to Use Custom Fonts from Solar2D documentation.
Important: you must have the rights to use an external font. Kwiksher is not responsible for any font used in your projects.
-
Offset adds pixels to fix the correct position of the text in the final projects (offset varies according different devices. Check in the Simulator and finds the best option for your project).