Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Thank you for your answer

I suddenly found out that GMS allows Chinese variables

But there will be an error in gmedit. Can you fix it?

code↓

function 中文测试(){

    文本="中文"

    show_debug_message(文本)

}

中文测试()

(1 edit)

That is most likely a bug/side-effect - although the compiler accepts them, it is not mentioned in the Release Notes, IDE doesn’t know about this, and non-Latin characters cause compilation errors on YYC on ~half of the platforms.

If it does become an officially supported feature, I can add support for it to GMEdit - will mostly need to figure out what is a valid letter now and what isn’t (e.g. µ counts as a valid variable name but ¶ doesn’t).

thank you