Thank you. Such n easy thing omg.Imperf3kt wrote: ↑Wed Jul 22, 2020 12:17 am return doesn't accept the "with" statement.
https://www.renpy.org/doc/html/statemen ... _statement
https://www.renpy.org/doc/html/label.ht ... -statement
Search found 267 matches
- Wed Jul 22, 2020 12:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Call Function to Choice then Return [Solved]
- Replies: 3
- Views: 339
Re: Call Function to Choice then Return
- Tue Jul 21, 2020 6:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Call Function to Choice then Return [Solved]
- Replies: 3
- Views: 339
Call Function to Choice then Return [Solved]
Theres probably an easy fix that eluding me, but I have a side event portion where the player can earn some extra affection for characters. I made it as a separate script so it can be called when desired since it uses if statements to determine what is available for the player. So in the main script...
- Sun Nov 10, 2019 3:55 pm
- Forum: Creative Commons
- Topic: Ettie's Unused Assets [CC BY-ND]
- Replies: 2
- Views: 1986
Re: Ettie's Unused Assets [CC BY-ND]
Old AF Sprites Some old sprites I will no longer be using as I no longer draw like this. Feel free to name them whatever. These characters do exist in my current project but their appearance and attire has changed enough that I no longer care if these get used by others. All downloads in attachment...
- Sat Nov 09, 2019 10:51 pm
- Forum: Creative Commons
- Topic: Ettie's Unused Assets [CC BY-ND]
- Replies: 2
- Views: 1986
Re: Ettie's Unused Assets [CC BY-ND]
Save / Load Screen Making a new screen so here is my old one I no longer wish to keep. Feel free to edit the images as needed. Please test run your game after implementing. You may need to tweak your GUI or this code. screen save(): tag menu use file_slots(_("Save")) screen load(): tag me...
- Sat Nov 09, 2019 6:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to unselect a button and reverse its effects?
- Replies: 1
- Views: 525
Re: How to unselect a button and reverse its effects?
Your action is a set and not a toggle. you can use a togglevariable.
- Sat Nov 09, 2019 5:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: RPG kind Skills
- Replies: 6
- Views: 1058
Re: RPG kind Skills
Adding this cause realized you probably won't want to write out the parameters each time someone earns a point so I hope this works. Using a separate label and then calling said label for that skill. On the screen code for your menu you can hide this, I do this with some code so it's not in the scri...
- Sat Nov 09, 2019 3:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Change the position of the Back button
- Replies: 12
- Views: 1629
Re: Change the position of the Back button
You can always add xalign 0.5 to the style for the buttons to make them all centered. As for the settings button, you'd have to make a button the player can click, I assume you want it always present so it would be something similar to the quick menu that's always present on the dialogue box. Am I u...
- Sat Nov 09, 2019 3:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: RPG kind Skills
- Replies: 6
- Views: 1058
- Sat Nov 09, 2019 4:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: RPG kind Skills
- Replies: 6
- Views: 1058
Re: RPG kind Skills
Not a coder so idk if this is accurate but maybe something like this? For the screen you want the title to appear on. can add a style if needed. text "[Title]" xpos 470 ypos 255 init -2 python: #Min and Max of each stat but unsure if needed if you not having progress bar present. Title_Po...
- Fri Nov 08, 2019 10:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Locking a Button / Screen
- Replies: 2
- Views: 655
Re: Locking a Button / Screen
Im not really good at imagemaps, so you can try this if it is works. vbox: button: imagemap: if persistent.unlock: ground "GUI/Phone/Note_Frame.png" hover "GUI/Phone/Note_Frame_H.png" hotspot (0, 0, 365, 55) action ShowMenu("notes_example") text "Entry 01" st...
- Fri Nov 08, 2019 5:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Locking a Button / Screen
- Replies: 2
- Views: 655
[Solved] Locking a Button / Screen
I've set up a simple "gloassary" in my game since I couldn't find anything that worked for what I wanted since it isn't going to be very large. Anyway I want to lock buttons so they cannot be opened before a certain time in game. Preferably so it's open if and when they decide to go and do...
- Tue Nov 05, 2019 3:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Changing Textbutton Color
- Replies: 1
- Views: 575
Re: Changing Textbutton Color
Created a temp fix but takes more space than I'd like. Made the background frame the button and put text on top. viewport: scrollbars "vertical" mousewheel True draggable True vbox: button: imagemap: ground "GUI/Phone/Note_Frame.png" hover "GUI/Phone/Note_Frame_H.png" h...
- Tue Nov 05, 2019 2:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Changing Textbutton Color
- Replies: 1
- Views: 575
[Solved] Changing Textbutton Color
Having some trouble changing colours for a textbutton. I changed the colours in GUI as well as the style for said button but nothing is changing and I have no idea where it's grabbing the code from. This is the button: textbutton "Example" action ShowMenu("notes_example") style &...
- Tue Nov 05, 2019 2:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Text not showing on Frame
- Replies: 3
- Views: 733
Re: [Solved] Text not showing on Frame
Making each button like so has fixed the issue vbox: button: background "GUI/Phone/Note_Frame.png" textbutton "Text Images" action ShowMenu("notes_textimages") style "notes_button" style notes_button: xoffset 30 xsize 365 ysize 55
- Tue Nov 05, 2019 1:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Passwords
- Replies: 3
- Views: 469
Re: Passwords
You could use input and just add different arguments so an example for the screen could be like this: (I'm not a coder so if it doesn't work I'm sorry) python: password = renpy.input("Please input password") if password = "Aa54N2JL" #random example Jump chapter_3 And so on so for...