-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text cannot be translated #80
Comments
There are a few big hurdles to overcome to support other languages.
|
It can, it just would require a bunch of work. |
There are 4 fonts in the game. If you can find vector fonts (TrueType, OpenType, whatever) that are an adequate replacement for all of these, then I might look into replacing them. The first three need to look just as pixelated when scaled up. The last font is obviously Comic Sans, so no points for telling me that. You might be wondering, "Why not just use sprite fonts for the first two, and ttf fonts for the last two?" Construct 2 has a feature that allows you to classify objects into a "family" so that the events (code) can easily be used among all of them without messy copy+pasting. This allows me to add various text features and be able to use them on any font. But families have a strict limitation that each member must use the same plugin. So I obviously can't share code between sprite fonts and html text, as they are implemented with different plugins. |
But the different fonts don't have to be the same type of file, do they?
Also hownwould you handle Comic Sans - would you rather have a smooth font and pixelate it, or one that is pixelated already?
--
Sent with K-9 Mail. Please excuse my brevity.
|
@MrHeating Construct 2 makes use of custom fonts the same way a webpage would use custom fonts. You can read about it here if you like: https://www.construct.net/en/tutorials/how-to-use-your-own-web-fonts-110 To answer your other question, I'm not 100% sure yet. I don't edit *.css very often, and so I would need to research it more. I just know that the Sans font is the only "normal" font that never needs to be scaled up in my simulator, and so it may be possible to achieve the same look using the Comic Sans font that comes with Windows. |
It requires a bunch of work. (Edit) I forgot to mention, for the fonts and width and heights, you can just make it using this tool: https://www.construct.net/en/forum/game-development/tools-and-resources-27/sprite-font-generator-v3-64038 |
I want to translate these in Korean, but I can't find what text is displayed. It's because I only need to translate the displayed text. Thanks.
The text was updated successfully, but these errors were encountered: