T
theg721
Guest
Hi all,
I'm trying to implement some localisation in my game, starting with translating it into Japanese, and found that trying to use draw_text with Japanese text (either kana or kanji) wouldn't work; nothing is drawn. After consulting the IRC channel, I found that Game Maker's font system only supports the first 255 Unicode characters, and hence there's no immediately obvious way to make use of characters not within that range when using this font system.
Whilst I suppose I could just open up Photoshop and make sprites out of every phrase I want to use, this isn't a perfect solution due to images being static, since I need to be able to accept user input and (later) draw it, wrap text and/or use a smaller font depending upon resolution, etc. Additionally, I would imagine that this would increase my memory and/or storage footprint, which isn't desirable on mobile. Thus I was wondering if there was some other way of getting this to work? How did those of you who have already localised games into languages such as Japanese, Chinese, Korean, Russian, etc. which use characters not within the 255 supported by Game Maker go about dealing with this?
Thanks.
I'm trying to implement some localisation in my game, starting with translating it into Japanese, and found that trying to use draw_text with Japanese text (either kana or kanji) wouldn't work; nothing is drawn. After consulting the IRC channel, I found that Game Maker's font system only supports the first 255 Unicode characters, and hence there's no immediately obvious way to make use of characters not within that range when using this font system.
Whilst I suppose I could just open up Photoshop and make sprites out of every phrase I want to use, this isn't a perfect solution due to images being static, since I need to be able to accept user input and (later) draw it, wrap text and/or use a smaller font depending upon resolution, etc. Additionally, I would imagine that this would increase my memory and/or storage footprint, which isn't desirable on mobile. Thus I was wondering if there was some other way of getting this to work? How did those of you who have already localised games into languages such as Japanese, Chinese, Korean, Russian, etc. which use characters not within the 255 supported by Game Maker go about dealing with this?
Thanks.