Skip to content

u/Keplaris

In this archive from Sep 2024 to Sep 2024

1
posts
4
comments
0
media
9
score

Top posts

How to handle text in games?

How do people handle text in games and other software? I'm making several games on Roblox. I use Rojo to sync files from Visual Studio Code into Roblox Studio. One thing I've been thinking about a lot is how bigger computer games handle massive amounts of text. Games like Baldurs Gate 3 have a ton o...

3 points7 comments
Open on Reddit

Top comments

Is that like how it works in, for example, EU4? When I tried modding, I saw files that looked kinda like this:
(for newspaper popups)
EVENT_10 = "My event title"
EVENT_10_desc = "My event description"

But there is probably a tool that autogenerates that text and makes the process of creating those more automatic. Since there are files filled with thousands of such lines. There was also even a modding tool to create focus trees and newspaper events where you typed in everything on a website with better editing capabilities, and the program took that text and that structure and turned it into working code.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.