Post new topic    
Slime
Send private message
Simoultaneous Textboxes 
 PostWed Nov 14, 2012 12:16 pm
Send private message Reply with quote
I'm wondering for a while now if there ain't a possibility to have more than one text box appear on the screen at the same time - for texts that are longer than 8 lines, but need to be read from begin to end in order to be understood.

If this ain't a feature yet, is there any possibility for implementation in the future?
all the best
s
Metal King Slime
Send private message
 
 PostWed Nov 14, 2012 1:20 pm
Send private message Reply with quote
I'm guessing there could be a rather clever way to do this with slices, but I'm not particularly familiar with the actual how of implementation.
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Red Slime
Send private message
 
 PostWed Nov 14, 2012 1:31 pm
Send private message Reply with quote
Sounds both infeasible and probably not what you actually want, to me.

Now, accommodating more text in a single textbox is something that is planned. That would probably make it easy to do semi-full-screen text in a similar manner to Fate/Stay Night.

In the mean time, as BMR surmises, you can display additional text via slices. IIRC some people, before the advent of slices, even managed the occasional full screen 'textbox' by using backgrounds instead
Slime
Send private message
 
 PostWed Nov 14, 2012 1:47 pm
Send private message Reply with quote
As Oion9 said.

Backdrops would work just fine.

Just make a backdrop appear and have the text ON the actual Backdrop and have it so that the text box isn't visible.

Edit: Typos.
Im always on the IRC channel.
#Slimesalad

Come talk.

WARNING: Noob.
Liquid Metal King Slime
Send private message
 
 PostWed Nov 14, 2012 3:19 pm
Send private message Reply with quote
Yes, we do have plans for longer textboxes.

Right now, I think a slice collection is most likely going to be the easiest way.

You can make a text slice, set it to allow wrapping, and resize it to fill the whole screen.

If this is for just one text box, it would be easiest to type the text directly into the slice collection.

If you want to script a more generic method of showing the text of two text boxes at the same time, you could use textbox line in a loop to copy lines of one or more textboxes into the text slice
Slime Knight
Send private message
 
 PostWed Nov 14, 2012 3:36 pm
Send private message Reply with quote
Bob the Hamster wrote:
Yes, we do have plans for longer textboxes.

Right now, I think a slice collection is most likely going to be the easiest way.

You can make a text slice, set it to allow wrapping, and resize it to fill the whole screen.

If this is for just one text box, it would be easiest to type the text directly into the slice collection.

If you want to script a more generic method of showing the text of two text boxes at the same time, you could use textbox line in a loop to copy lines of one or more textboxes into the text slice

Clever

I was thinking about using the Show textbox script without the wait for textbox command but, your way is clever and clean.
"I can't buy food with glory"
Metal Slime
Send private message
 
 PostWed Nov 14, 2012 10:20 pm
Send private message Reply with quote
It's great. I've been using positional textboxes (eg FFVII and up) using this method.
Metal King Slime
Send private message
 
 PostThu Nov 15, 2012 7:29 am
Send private message Reply with quote
Hmm, we don't have a slice lookup constant for the actual textbox box. Should add one. Without that lookup code (and since things will change in future), I advise against playing around with textbox box and text slices just yet: use slice collections instead, as James suggested.
Slime
Send private message
 
 PostTue Nov 20, 2012 7:24 pm
Send private message Reply with quote
thanks for the tips you all gave me guys, I appreciate the quick help you get on this forum!
My second question is somewhat related as it asks for the same thing, but with a different goal:
Is there any to have text from a text box or textslice appear on the screen slowly word by word? Like making a sentence appear on the screen and have one word appear like 4 seconds after the next?
It's for a specific effect I wanna create in a program that I'm writing.
Liquid Metal King Slime
Send private message
 
 PostTue Nov 20, 2012 8:07 pm
Send private message Reply with quote
All things are possible with scripting!

Here's a link to the scripting dictionary.
http://hamsterrepublic.com/ohrrpgce/docs/plotdict.xml

I suggest commands such as:

Code:
show string at (ID, x, y)

&

wait(ticks)
Metal King Slime
Send private message
 
 PostWed Nov 21, 2012 1:15 am
Send private message Reply with quote
See especially the "textbox line" command.

A few people have scripted this before so perhaps someone will speak up?

(Rereading this thread I went and added additional lookup codes for textbox slices; playing with textbox slices should be much safer now. For example, to slide the textbox on/off screen, move the sl:textbox root slice)
Slime Knight
Send private message
 
 PostFri Dec 07, 2012 5:42 am
Send private message Reply with quote
http://www.slimesalad.com/forum/viewtopic.php?p=97404#97404

i'm sorry i'm not gonna clean it up and make it easy to learn from, but this is an .rpg file i was working on for a little bit. it has variable speed text, variable width, multicolored font, the ability to allow gameplay during textboxes, and maybe some other stuff i'm forgetting.

there's also an unfinished pixel movement engine, and some work on doing more organic walls so everything's not so square.

there is likely profanity in the scripts. sorry about that, too.
Metal King Slime
Send private message
 
 PostFri Dec 07, 2012 5:53 am
Send private message Reply with quote
Just downloaded it and gave it a go.

Ok, now that is amazingly impressive. Will this turn into a full game? Or just a tech demo?
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Slime Knight
Send private message
 
 PostThu Dec 13, 2012 7:15 am
Send private message Reply with quote
I don't know. I'd like to think it will be a game, someday.

...The fact is, I make tech demos, then I forget how they work.

Smile
Metal King Slime
Send private message
 
 PostThu Dec 13, 2012 7:34 am
Send private message Reply with quote
Heh, I tend to be like that myself. I can be extremely focused on solving a problem and figuring out a cunning way to script/code such, and then two weeks after figuring it out I'll have completely forgotten about it =p Hehe, story of my life.

Still, love the atmosphere of the tech-demo, would definitely play a full game built like that.

Cheers!
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Display posts from previous: