Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Anyway to change the text appears duration?

A topic by aquamate904 created Apr 12, 2024 Views: 324 Replies: 6
Viewing posts 1 to 3

I noticed in Traditional Chinese, the dialog text appears duration be too short, which makes it hard to read.

(+2)

There is a way, but it requires modifying the source. I'll look into it to make it an easily changeable setting instead. It should be easy, so I should have something ready soon.

Alright! Thank you!

(1 edit) (+1)

I made the necessary changes. I sent the updated kit to the organizer, with updated instructions on how to change this setting.

If you'd rather get the change immediately to test things you need to modify the game source (game.zip) by replacing the content of the file "say.lua" with this. After this is done, you can modify the duration of the text by adding the line (without quotes) "t.glyph_duration = 0.1" (change the value as needed, 0.1 is the default) to the file "text_translated.lua" after "local t = {}".

(1 edit)

Hi! I saw the updated kit but the password doesn't seem to work for it. Have there been such changes?

edit: tried and succeeded on windows, but still can't open on mac

But (correct me if I am wrong) that t.glyph_duration = 0.1 line should be written into the file WITHOUT the quotes around it, right? Just like in the sample use of that game testing tool (I’m refering to the "Game displays black screen" discussion on this forum; the example was shown THERE.)

that's correct, without quotes. I'll edit the post to avoid confusion.