Skip to content

int2str

140

The int2str node is a conversion tool that changes integer values into text strings. While similar to the float converter, it is optimized for whole numbers, making it the standard choice for displaying scores, counts, or discrete levels.

When to use this node: * Scoreboards: Converting a raw score from a GameTimer or Sum node into a text format for an end-game screen. * Inventory Counters: Displaying the number of items found (e.g., "3 of 5 keys collected") by converting the current count to a string. * Dynamic IDs: Creating text-based labels that include a number, such as "Player 1" or "Level 5".

Pro Tip: If you are displaying a countdown that only needs full seconds, use this node instead of a float converter to keep the text display clean and free of unnecessary decimal points.

Connectors in

  • value [type: integer]

Connectors out

  • result [type: string]