Help with text boxes!
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Fenrir34
- Miko-Class Veteran
- Posts: 560
- Joined: Fri Jul 05, 2013 4:39 am
- Completed: Escaping Sorrow
- Projects: Crisis Beat,Lynarsia-The Broken Song
- Location: California
- Contact:
Help with text boxes!
I would like to add a colorful text box to my game. Can someone help me with the code? Please 
Re: Help with text boxes!
Some of the most basic things about textboxes can be found here. Hope this helps.
http://lemmasoft.renai.us/forums/viewtopic.php?p=124280
http://lemmasoft.renai.us/forums/viewtopic.php?p=124280
- NoahSindri
- Regular
- Posts: 69
- Joined: Tue May 07, 2013 1:05 pm
- Projects: Truculence, Noraska:The cats valley
- Organization: Sunset Productions
- Location: Cyprus
- Contact:
Re: Help with text boxes!
First of all download the textbox you like, you can find a wide range of examples in the *creative commons* forumFenrir34 wrote:I would like to add a colorful text box to my game. Can someone help me with the code? Please
After that, in the options screen you will find this line:
Code: Select all
#style.window.background = Frame("Textbox.png", 25, 25)
#style.window.left_margin = 6
#style.window.right_margin = 6
#style.window.top_margin = 6
#style.window.bottom_margin = 6
## Padding is space inside the window, where the background is
## drawn.
#style.window.left_padding = 5
#style.window.right_padding = 5
#style.window.top_padding = 5
#style.window.bottom_padding = 5and you can customize it's size and other things, use the margin and padding screens,
but for it to work you must remove the # before them
My project...please tell me your opinion
http://lemmasoft.renai.us/forums/viewto ... 43&t=22253

Website : http://sunsetproductions.webstarts.com/
Website : http://sunsetproductions.webstarts.com/
- Fenrir34
- Miko-Class Veteran
- Posts: 560
- Joined: Fri Jul 05, 2013 4:39 am
- Completed: Escaping Sorrow
- Projects: Crisis Beat,Lynarsia-The Broken Song
- Location: California
- Contact:
Re: Help with text boxes!
thanks so muchNoahSindri wrote:First of all download the textbox you like, you can find a wide range of examples in the *creative commons* forumFenrir34 wrote:I would like to add a colorful text box to my game. Can someone help me with the code? Please
After that, in the options screen you will find this line:When you download the frame you want, place it's name in the "Textbox.png" placeCode: Select all
#style.window.background = Frame("Textbox.png", 25, 25) #style.window.left_margin = 6 #style.window.right_margin = 6 #style.window.top_margin = 6 #style.window.bottom_margin = 6 ## Padding is space inside the window, where the background is ## drawn. #style.window.left_padding = 5 #style.window.right_padding = 5 #style.window.top_padding = 5 #style.window.bottom_padding = 5
and you can customize it's size and other things, use the margin and padding screens,
but for it to work you must remove the # before them
- Fenrir34
- Miko-Class Veteran
- Posts: 560
- Joined: Fri Jul 05, 2013 4:39 am
- Completed: Escaping Sorrow
- Projects: Crisis Beat,Lynarsia-The Broken Song
- Location: California
- Contact:
Re: Help with text boxes!
thank youAznGreen wrote:Some of the most basic things about textboxes can be found here. Hope this helps.
http://lemmasoft.renai.us/forums/viewtopic.php?p=124280
Who is online
Users browsing this forum: nyeowmi
