I have I guess a very specific thing I need help with, a menu that takes a part of the screen, a scrolling menu, that shows the player's inventory listed as clickable text.
Honestly, if someone can help with one of those three things that'd be awesome. I've got scrolling to work only for an image but can't get a menu into it.
Scrolling menu with inventory items?
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.
- HepatitisQ
- Newbie
- Posts: 2
- Joined: Thu Aug 06, 2015 9:43 pm
- Tumblr: johnnythundah.tumblr.com
- Location: Austin, TX
- Contact:
- mobychan
- Veteran
- Posts: 275
- Joined: Fri Apr 24, 2015 6:31 am
- Projects: The Chosen - Sakura Pink & Gentian Blue
- Organization: Foresoft
- Location: Germany
- Contact:
Re: Scrolling menu with inventory items?
How about posting what you already have?
just use the [ code][ /code] tag(without the spaces) and paste your code in between.
did you try looking at this?
http://lemmasoft.renai.us/forums/viewto ... 51&t=25579
just use the [ code][ /code] tag(without the spaces) and paste your code in between.
did you try looking at this?
http://lemmasoft.renai.us/forums/viewto ... 51&t=25579
- chocojax
- Miko-Class Veteran
- Posts: 702
- Joined: Sun Oct 25, 2009 11:27 am
- Completed: http://art.jphi.me/projects
- Projects: Umbra, Familiarity, Maleficent Justice
- Organization: spaceNote
- Tumblr: chocojax
- Github: jenniferphi
- Location: California
- Contact:
Re: Scrolling menu with inventory items?
Something like this?
Code: Select all
side "c":
area (0,0,600,400) # x-position,y-position,width,height
viewport:
draggable True
mousewheel True
scrollbars "vertical"
has vbox
for i in range(0,25): # length of player inventory
textbutton "Some inventory item here": # Replace with item name within inventory or something
action NullAction() #action to do upon clicking- HepatitisQ
- Newbie
- Posts: 2
- Joined: Thu Aug 06, 2015 9:43 pm
- Tumblr: johnnythundah.tumblr.com
- Location: Austin, TX
- Contact:
Re: Scrolling menu with inventory items?
Yeah this is pretty much what I needed, thank you very much. uvuchocojax wrote:Something like this?
Code: Select all
side "c": area (0,0,600,400) # x-position,y-position,width,height viewport: draggable True mousewheel True scrollbars "vertical" has vbox for i in range(0,25): # length of player inventory textbutton "Some inventory item here": # Replace with item name within inventory or something action NullAction() #action to do upon clicking
Who is online
Users browsing this forum: Google [Bot]
