Skip to main content

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

Tutorial GB Studio Multi-Language with Plugin

Hi everyone! At the last Global Game Jam, we ventured into making a game Beneath The Mask with GB Studio, and we really enjoyed it. During the development process, we realized that the engine lacks a native system for easily supporting multiple languages. So here's a plugin based on the engine's source code that makes things much easier, also focused on introducing into existing projects without translation, as is our case.

You can located the plugin here tedezed/gb-studio-pluginsfor your convenience, you can get everything from the following: Download GB Studio Multi-Language Plugin

I also added a sample project where you can see the potential and its practical use.

How work

It works very simply, you simply store the desired language in a variable from 1 to 4, in this case $Language

The language selection menu is up to you; as long as the language selection variable is stored, everything should work. 

This variable will be read by the plugin's events and will decide what text to display. 

The example shows how to use it even with languages that have special characters, for example Japanese. 

Four custom events were implemented in the plugin

Event Text Dialogue

Replaces the original dialogue event, so you won't have to modify any events in your game.


It also appears in the dialogue preview section, but only the first language, it is also useful for locating scenes.


Event Draw Tex

New event that allows different text to be drawn on the screen depending on the language.



Event Display Menu Bool

New event where a menu opens to select an option and store the result in a variable (true or false).


Event Display Menu Numeric

New event where a menu opens to select an option and store the result in a variable (Numeric)



Thanks for reading, I hope it helps!

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.

Mentioned in this post

A game boy game about an inner fight
Adventure
Play in browser
Multi-Language Plugin for GB Studio projects
Run in browser