Search found 136 matches
- Sat Jul 13, 2019 8:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Applying styles to multiple screen texts?
- Replies: 2
- Views: 501
[SOLVED] Applying styles to multiple screen texts?
It's probably something I mislooked, but is there a way to simplify the applying of text styles into one line than applying like the one below? vbox: area (400, 300, 100, 100) text 'Sample text 1' style 'sample text' text 'Sample text 2' style 'sample text' text 'Sample text 3' style 'sample text' t...
- Sat Jul 13, 2019 8:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Hide dialogue window while screen is present
- Replies: 4
- Views: 545
Re: Hide dialogue window while screen is present
How nostalgic, I remember fretting over the same issue before. Before you show your screen use the window hide command, that way it wouldn't overlap while your screen is showing. And when it is over, you can use window show window hide show screen test window show However, if you are adamant about c...
- Wed Jul 10, 2019 5:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Any example for creating a battle log on the screen?
- Replies: 4
- Views: 666
Re: Any example for creating a battle log on the screen?
It really depends on your battle system, but for what you're trying to achieve you can use screens for it https://www.renpy.org/doc/html/screens.html such as using a blank frame for the box then you populate it later with data. As for the scroll part, you can use the viewport to make it https://www....
- Fri May 10, 2019 3:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] In-Game Phone Calls [Parameter not present]
- Replies: 1
- Views: 623
Re: In-Game Phone Calls [Parameter not present]
While running game code: File "game/script.rpy", line 38, in script call call phone_call_name("Mum") File "game/screens.rpy", line 529, in script label phone_call_name: Exception: Arguments supplied, but parameter list not present You called your label phone_call_name ...
- Tue Apr 09, 2019 4:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Creating displayable character element with ToggleVariable
- Replies: 4
- Views: 535
Re: Creating displayable character element with ToggleVariable
It's possible you defined your other variable in the wrong place hence the error. If it's alright with you, can you share the code where you defined your other and where it is used. I don't see anywhere in your code where you used the variable so I'm unclear whether it really is a problem with your ...
- Mon Apr 08, 2019 6:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] GUI Save/Load Slot Backgrounds
- Replies: 11
- Views: 1124
Re: GUI Save/Load Slot Backgrounds
So if the idle button is the placeholder, then try to just simply define the button using a solid color. define gui.slot_idle_background = Solid('#hexadecimal for grey') or style slot_button is default: background None hover_background None idle_background Solid('#hexadecimal for grey') I don't thin...
- Mon Apr 08, 2019 6:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Gallery/curpage Syntax Error
- Replies: 4
- Views: 601
- Mon Apr 08, 2019 6:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Gallery/curpage Syntax Error
- Replies: 4
- Views: 601
Re: Gallery/curpage Syntax Error
If you defined curpage in an init block before your game starts, then you should used SetVariable and not the SetScreenVariable since the variable was not defined under your screen gallery; unless if curpage is displayed on screen and defined by said screen then SetScreenVariable is correct. textbut...
- Mon Apr 08, 2019 6:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [NOT SOLVED]Make auto voice look into multiple folders?
- Replies: 3
- Views: 507
Re: Make auto voice look into multiple folders?
Hi all! The game I am working on currently countains more than 300 voice clips, so I would like to organise them into multiple subfolders like this: voice/prologue/voicedline001.ogg voice/chapter_one/voicedline0XX.ogg voice/chapter_two/voicedflineXXX.ogg As it stands, the auto voice function only l...
- Mon Apr 08, 2019 6:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] GUI Save/Load Slot Backgrounds
- Replies: 11
- Views: 1124
Re: GUI Save/Load Slot Backgrounds
Those blue boxes are buttons. You can either add or modify some styles in the screen file_slots under style slot_button: or (probably easier), edit/change the images slot_hover_background and slot_idle_background in gui/button I actually thought of the same thing, but I wasn't certain whether the b...
- Mon Apr 08, 2019 4:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] GUI Save/Load Slot Backgrounds
- Replies: 11
- Views: 1124
Re: GUI Save/Load Slot Backgrounds
For the the close, you can do this: textbutton "Close" xpos 1047 ypos 56 background Solid('#ffffff') hover_background "#D3D3D3" action Return() The values after the # are hexadecimal values of colors, so you can choose the color you need online. For the slots, I'm not sure what y...
- Mon Mar 18, 2019 5:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved) Problem importing python module
- Replies: 2
- Views: 404
- Mon Mar 18, 2019 5:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved) Problem importing python module
- Replies: 2
- Views: 404
(Solved) Problem importing python module
I'm having a problem with importing the more_itertools , specifically the collapse function. RENPY CODE init python: from more_itertools import collapse ERROR I'm sorry, but an uncaught exception occurred. While running game code: File "game/romance.rpy", line 8, in script init python: Fil...
- Tue Mar 05, 2019 9:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Buttons in game for Dungeon crawler
- Replies: 7
- Views: 627
Re: Buttons in game for Dungeon crawler
You can try the one from the cookbok and edit the screens or whatnot
viewtopic.php?f=51&t=19245#p249267
viewtopic.php?f=51&t=19245#p249267
- Sun Mar 03, 2019 10:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: HELP Customizing Scrollbars
- Replies: 0
- Views: 167
HELP Customizing Scrollbars
I'm really having a hard time customizing the scrollbars based on my images. I have this simple code which makes just a viewport with a scrollbar on its right side. screen viewport_test(): frame: area (1, 0, 600, 400) viewport: mousewheel True scrollbars 'vertical' add "washington.jpg" sty...