Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

cmnLoc for GameMaker

A high-end localization system for GameMaker! 路 By YellowAfterlife

Am i doing this right?馃

A topic by Imaginary Traveller created 21 days ago Views: 29 Replies: 2
Viewing posts 1 to 3

label = LOC("Isn't it time you come clean?");

  LOC("Test"); 

vngen_text_replace(0, "AYRY", label, inherit, inherit, 0.5);

Developer(+1)

As per documentation, text is auto-extracted if it is a constant string or an expression that evaluates to a constant string.

So if you want to store text in a variable before passing it elsewhere, you鈥檇 indeed want to do

var LOC = cmn_loc_get_func("...");
label = LOC("Isn't it time you come clean?");