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
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
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
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
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
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
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
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
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"
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.
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.
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.
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:
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)
&
wait(ticks)
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)
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)
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.
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.
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
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



