Search found 12 matches
- Thu Apr 25, 2024 8:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Vbox in screen seems to... move around? [SOLVED!]
- Replies: 2
- Views: 127
Re: Vbox in screen seems to... move around?
If box size is not specified, a box is only as large as it needs to be - i.e., the size of the largest child. While there are many ways to approach organizing your screen, the path of least change for now is probably to specify the xsize of your vbox. I see, I did not know that applied to vboxes. I...
- Thu Apr 25, 2024 12:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Vbox in screen seems to... move around? [SOLVED!]
- Replies: 2
- Views: 127
Vbox in screen seems to... move around? [SOLVED!]
Hello all! I have the following screen: screen journal_incomplete: modal True zorder 998 add "journal_background" xalign 0.5 yalign 0.5 add "journal_header" yalign 0.05 at backbut_resize imagebutton: yalign 0.05 auto "header_back_%s" action [Hide("journal_incomplet...
- Sat Apr 20, 2024 5:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Collapsible lists for a RenPy screen? [SOLVED]
- Replies: 4
- Views: 210
Re: Collapsible lists for a RenPy screen?
EXACTLY what I needed. Cheers! I'll mark this as solved.So I assume you have a list of all the quests, completed or not and you spoke of 5 categories that should be collapsable:
- Sat Apr 20, 2024 3:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Collapsible lists for a RenPy screen? [SOLVED]
- Replies: 4
- Views: 210
Re: Collapsible lists for a RenPy screen?
The problem is that I have no idea on how to make a collapsible list and google has yielded no results so far. I suggest you create a sub-screen that acts as any collapsable list and then use it in another screen whenever you want to display it. default quests_incomplete = ["Quest 2", &qu...
- Sat Apr 20, 2024 1:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Collapsible lists for a RenPy screen? [SOLVED]
- Replies: 4
- Views: 210
Collapsible lists for a RenPy screen? [SOLVED]
Hey all! I am currently coding a journal for my game. The purpouse of this journal is to show the in-game quests to the player. These quests are sorted in two main categories; Incomplete and Completed. Completed quests are further divided in three categories; Relationship, Optional, and Personal. My...
- Sun Apr 09, 2023 1:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Python function claims a defined name is not defined, refuses to work
- Replies: 4
- Views: 478
Re: Python function claims a defined name is not defined, refuses to work
So this is a bit embarassing, but I found the issue lol. This is the original code for the screen: screen kawa_mes1: add "hud/convo_bg.webp" modal True key "e" action [Hide("kawa_mes1"), Show("phone_trigger"), With(dissolve)] python: if kfirstmess_seenflag: te...
- Sun Apr 09, 2023 12:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Python function claims a defined name is not defined, refuses to work
- Replies: 4
- Views: 478
Re: Python function claims a defined name is not defined, refuses to work
There is also a post object that has "kaw1" as the int_name value, defined ABOVE the function that triggers the error. I've tried changing the P capitalization in both the function and the screen that calls it, both to no avail. Any help is appreciated. I didn't get the idea, but talking ...
- Sat Apr 08, 2023 9:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Python function claims a defined name is not defined, refuses to work
- Replies: 4
- Views: 478
Python function claims a defined name is not defined, refuses to work
Hellooo! I am yet again asking for help with my pseudo-conversation screen. I currently have this python function defined: init python: def texting_animation(post): if post.int_name == "kaw1": renpy.pause(1.0) renpy.show_text("[kawa_mess1.content1]", xalign=0.5, yalign=0.3) renpy...
- Wed Apr 05, 2023 5:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to call python function to renpy screen, asks to define "show" [SOLVED]
- Replies: 2
- Views: 275
Re: Unable to call python function to renpy screen, asks to define "show"
I-
Thank you so much, it worked! I'm flabbergasted I tried "renpy.call_screen" but not "show". Solved!
- Wed Apr 05, 2023 3:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to call python function to renpy screen, asks to define "show" [SOLVED]
- Replies: 2
- Views: 275
Unable to call python function to renpy screen, asks to define "show" [SOLVED]
Hello. Let me see if I can explain myself. I currently have the following screen: screen contact_feed: modal True add "phone_foreground_bg.png" xalign 0.5 yalign 0.5 text "Added contacts" xalign 0.5 yalign 0.3 key "e" action [Hide("contact_feed"), Show("p...
- Sat Feb 25, 2023 7:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: vbox in screen not spacing items (overlapping instead) [Solved!]
- Replies: 2
- Views: 392
Re: vbox in screen not spacing items (overlapping instead)
... You need to put all 'poster's inside a vbox, try viewport id "npc_list": mousewheel True vbox: #<--- for poster in contacts: vbox: image poster.profile_pic text poster.name Oh! It worked like a charm. Thanks a bunch, my good man! You are a legend!
- Sat Feb 25, 2023 4:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: vbox in screen not spacing items (overlapping instead) [Solved!]
- Replies: 2
- Views: 392
vbox in screen not spacing items (overlapping instead) [Solved!]
Hello! Apologies if I make a mistake, i'm a newbie in this. I hope I format this properly lol. So, I have this screen meant to act as a social media feed, it's code is as it follows: screen social_media_feed: #tittle screen text "Social Media" xalign 0.5 yalign 0.1 #list of contacts viewpo...