Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sat May 25, 2013 9:31 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Sat Nov 05, 2011 8:33 am 
Regular
User avatar

Joined: Sun Oct 30, 2011 2:40 pm
Posts: 45
Projects: Mermaid Revelation (GxB otome)
Alex wrote:
Quote:
i was wondering if I could put an animated one
You can make animated textbox using ATL
http://www.renpy.org/doc/html/atl.html#image-statement-with-atl-block


I will try this *A* thank you so much

_________________
My DeviantArt
Mermaid Revelation (GxB otome) In Progress


Top
 Profile Send private message  
 
PostPosted: Sat Jun 02, 2012 8:08 pm 
Regular
User avatar

Joined: Fri May 27, 2011 8:23 pm
Posts: 109
Mmm, is there a way to script so that a different text box shows up for each of the different characters?


Top
 Profile Send private message  
 
PostPosted: Mon Jun 18, 2012 7:31 pm 
Miko-Class Veteran
User avatar

Joined: Sun Mar 25, 2012 7:54 pm
Posts: 559
Projects: Club Shuffle
I am just going to echo the chorus of thank yous for this tutorial. As someone who isn't a programmer it would be nigh impossible for me to have figured this out without your tutorial. I am going to put it to good use.

_________________
Image
Developer Blog for Club Shuffle - Follow and Share?
-Also! You can call me Crystal if you want.-


Top
 Profile Send private message  
 
PostPosted: Thu Jun 21, 2012 8:00 am 
Newbie
User avatar

Joined: Sun Jun 17, 2012 6:06 pm
Posts: 20
Location: Finland
Thank you for this tutorial!

I don't know if this is a bit of OT, but I found this very good textbox maker. Check it out if you're not into making your own from a scratch ^^

http://www.grsites.com/generate/group/8000/


Top
 Profile Send private message  
 
PostPosted: Mon Jul 02, 2012 11:42 am 
Newbie
User avatar

Joined: Sun May 13, 2012 8:28 pm
Posts: 10
Thank you for the tutorial, it really came in handy.

Now I have a question, does anybody knows how to put the namebox above the dialoguebox? I want them to overlap a little but the namebox appears below the dialoguebox when it should be the other way around.

Thanks!


Top
 Profile Send private message  
 
PostPosted: Tue Jul 03, 2012 10:34 am 
Veteran
User avatar

Joined: Sat Sep 25, 2010 4:50 pm
Posts: 427
Keinart wrote:
Thank you for the tutorial, it really came in handy.

Now I have a question, does anybody knows how to put the namebox above the dialoguebox? I want them to overlap a little but the namebox appears below the dialoguebox when it should be the other way around.

Thanks!

There's this: viewtopic.php?f=8&t=14046
It's basically just switching the order of the who and what boxes in the textbox screen.


Top
 Profile Send private message  
 
PostPosted: Wed Aug 15, 2012 7:51 am 
Regular

Joined: Fri Jan 13, 2012 1:02 pm
Posts: 34
Projects: Nemuri
Not going to say something meaningful; I just wanted to thank you. As a complete beginner, I still feel a little lost in Renpy, but this made everything so much more understanable. Thanks :)

_________________
Fear cuts deeper than swords.


Top
 Profile Send private message  
 
PostPosted: Tue Oct 02, 2012 4:40 pm 
Newbie
User avatar

Joined: Tue Sep 18, 2012 4:39 pm
Posts: 18
Location: USA
Completed: Toby's Tales I
Projects: Dior (series)
Organization: The Lone Wolf
First off, thank you!

Secondly...I saw the cookbook page for getting the menu buttons on the right side of the screen, but what if I want to put them on the bottom (sort of like the default text for save/load/preferences, but with buttons under the text window instead of to the right)?

Complete beginner, here...I know I have to adjust the x and y, but rather than frustrating myself further with it, I figured I'd ask.


Top
 Profile Send private message  
 
PostPosted: Sat Jan 12, 2013 11:29 pm 
Regular
User avatar

Joined: Tue Jan 11, 2011 7:48 pm
Posts: 135
Projects: Our Crossing Paths
I got the padding to contain the Text right where I want it, but the problem is that the text box shrunk:
Attachment:
Textbox error.jpg
Textbox error.jpg [ 314.98 KiB | Viewed 128 times ]

_________________
Deviantart Account
Current Project: Our Crossing Paths [GxB] [Alternate History/Drama]
Image


Top
 Profile Send private message  
 
PostPosted: Sun Jan 13, 2013 1:06 am 
Veteran
User avatar

Joined: Tue Jun 12, 2012 1:17 am
Posts: 261
Location: Philippines
Completed: Summer Paradise
Projects: Frailty:Broken Wings, Seasons Of Love
Thank you very much for this! :) Very helpful.

_________________
Seasons of Love is another GxB fantasy in a typical highschool setting.
Summer Paradise is a short, slice of life story set in the Philippines.
Helping out on Frailty: Broken Wings.
Image
Click me for randomness! You know you want to. <3


Top
 Profile Send private message  
 
PostPosted: Sun Jan 13, 2013 4:11 am 
Miko-Class Veteran
User avatar

Joined: Fri Dec 11, 2009 5:25 pm
Posts: 941
Twisted-Eva wrote:
I got the padding to contain the Text right where I want it, but the problem is that the text box shrunk:
Attachment:
Textbox error.jpg

How did you make your textbox - as a pre-fitted image or an image to use as a frame (see the very beginning of the first post)?


Top
 Profile Send private message  
 
PostPosted: Sun Jan 13, 2013 12:59 pm 
Regular
User avatar

Joined: Tue Jan 11, 2011 7:48 pm
Posts: 135
Projects: Our Crossing Paths
Alex wrote:
Twisted-Eva wrote:
I got the padding to contain the Text right where I want it, but the problem is that the text box shrunk:
Attachment:
Textbox error.jpg

How did you make your textbox - as a pre-fitted image or an image to use as a frame (see the very beginning of the first post)?


Right, I edited my post so my code was deleted since I thought the problem might have been obvious. It's a pre-fitted image. Here's the code:
Code:
    style.window.background = Frame("In game Text Box.png", 35, 35)

    ## Margin is space surrounding the window, where the background
    ## is not drawn.

    style.window.left_margin = 0
    style.window.right_margin = 0
    style.window.top_margin = 0
    style.window.bottom_margin = 0

    ## Padding is space inside the window, where the background is
    ## drawn.

    style.window.left_padding = 290
    style.window.right_padding = 44
    style.window.top_padding = 35
    style.window.bottom_padding = 35

    ## This is the minimum height of the window, including the margins
    ## and padding.

    style.window.yminimum = 291

_________________
Deviantart Account
Current Project: Our Crossing Paths [GxB] [Alternate History/Drama]
Image


Top
 Profile Send private message  
 
PostPosted: Sun Jan 13, 2013 3:09 pm 
Miko-Class Veteran
User avatar

Joined: Fri Dec 11, 2009 5:25 pm
Posts: 941
Mmm...
pre-fitted image - is an image with the actual size that won't be changed during the game
Code:
style.window.background = "In game Text Box.png"

if you plan that textbox will change its height from sentence to sentence then it's better to use frame (like you did)
Code:
style.window.background = Frame("In game Text Box.png", 35, 35)

In second case be shure that "In game Text Box.png" doesn't have transparent canvas surrounding the actual textbox image (looks like for now it has lot of transparent canvas at top of the image).


Top
 Profile Send private message  
 
PostPosted: Mon Jan 14, 2013 2:29 am 
Regular
User avatar

Joined: Tue Jan 11, 2011 7:48 pm
Posts: 135
Projects: Our Crossing Paths
Ay... I fixed my pre-fitted image so it's correct, but now I can't figure out how to make the text fit nicely in it. I left some room on the left for a side image in the future.

Code:
    style.window.background = Frame("In game Text Box.png", 0, 0 )

    ## Margin is space surrounding the window, where the background
    ## is not drawn.

    style.window.left_margin = 290
    style.window.right_margin = 0
    style.window.top_margin = 0
    style.window.bottom_margin = 0

    ## Padding is space inside the window, where the background is
    ## drawn.

    style.window.left_padding = 250
    style.window.right_padding = 44
    style.window.top_padding = 35
    style.window.bottom_padding = 35

    ## This is the minimum height of the window, including the margins
    ## and padding.

    style.window.yminimum = 291

Attachment:
Textbox error 2.jpg
Textbox error 2.jpg [ 298.23 KiB | Viewed 82 times ]

_________________
Deviantart Account
Current Project: Our Crossing Paths [GxB] [Alternate History/Drama]
Image


Top
 Profile Send private message  
 
PostPosted: Mon Jan 14, 2013 11:38 am 
Miko-Class Veteran
User avatar

Joined: Fri Dec 11, 2009 5:25 pm
Posts: 941
Well, if you already left some free space between screen side and textbox for a side image, you don't need to set left_padding at all.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Alex


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group