Best way to input long strings?

Started by SilverSpook, Wed 13/03/2019 22:18:58

Previous topic - Next topic

SilverSpook

I'm trying to make news articles viewable on an in-game phone, which has text lengths in the thousands of characters.
What's the best way to get those strings into the game? I know the max length of lines is 500 chars so I'm guessing appending it that way.

Ideally I'm also trying to get the text to scroll smoothly like in an actual smartphone. I was just considering rendering the entire news article text as an image to do that.

Cassiebsg

Have you checked Khris's smartphone chat module? I know you don't want a "chat" function, but it might still help you get the effect you want.  ;)
There are those who believe that life here began out there...

SilverSpook

I'll take a look.

Is there a way to just make like a scrolling text box? Like the way that you can scroll through list boxes, but not as a list?

Cassiebsg

I haven't tried using the module, but I think that's just what it does. Only it's set up to work as a chat. But you could probably see how he did it an adapt the code to your needs.
There are those who believe that life here began out there...

SilverSpook

Cool thanks!

One last thing, somewhat related: is there a way to stop GUIs from greying out when a blocking function is happening? I think I figured out a way to get this to work but it just looks weird when the GUI turns grey.

Cassiebsg

Sure, go to General Settings > Visuals > When player interface is disabled, GUIs should >>> change "Grey out..." with "Display normaly"  ;)
There are those who believe that life here began out there...

SMF spam blocked by CleanTalk