Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hello! First of all THANK YOU SO MUCH I literally started coding last month I know next to  nothing about it and this is so well explained thanks a lot! I'm having an issue tho:

i write in french and with the never ending gendered words i only use the text tags, and when running in the game:

"{0}blabla il{/0}"

"{1}blabla elle{/1}"

"{2}blabla iel{/2}"

The chosen option appears but the unchosen ones also do, with nothing written. Just blank. I guess its because its not chosen it display nothing? So how do i make it skip it and not just show me nothingness?

hmmm i think for french what i would suggest is having them all in one tag even if it makes one text look a bit long, like

"{0}blabla il{/0}{1}blabla elle{/1}{2}blabla iel{/2}"

in this case only the relevant text would show up! 

however since french is very gendered it might be tedious to type so often so using the pronouns as variables option might be a bit easier for you. the example i have in the tool is for english but you could do something like

default iel = [

    __("il"), #0

    __("elle"), #1

    __("iel"), #2

]

default e = [

    __(""), #0

    __("e"), #1

    __(".e"), #2

]

and in game type something like "[iel] est mon ami[e]" and it would show up as either "il est mon ami", "elle est mon amie" or "iel est mon ami.e" depending on the current pronoun (and adding other variables as necessary)

*if you want to translate you would need to use [iel!t!c] &c. but if you have no plans just typing it like [iel] would be sufficient