Search found 1030 matches

by m_from_space
Mon Jun 03, 2024 2:58 am
Forum: Ren'Py Questions and Announcements
Topic: Variables not looping like they should
Replies: 2
Views: 78

Re: Variables not looping like they should

I'm making a dress-up game and have 7 different eye options and arrows for previous and next option. Once the player has reached option 7, the next button should go back to 1. I'm doing this with imagemaps. No python function needed. Other options: define eye_list = [1, 2, 3, 4, 5, 6, 7] hotspot (1...
by m_from_space
Sat Jun 01, 2024 3:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding screen text to history log
Replies: 9
Views: 1742

Re: Adding screen text to history log

Thank you very much! Though, I have a question: can I call this with a button action? I tried textbutton "say something" action Function(say(e, "I have to tell you that I am faking it, you know...")) and textbutton "say something" action Function(say, e, "I have t...
by m_from_space
Sat Jun 01, 2024 3:09 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError despite the name being defined
Replies: 8
Views: 156

Re: NameError despite the name being defined

You can easily do the same with if statements in layered image body, and just adjust the value of lineart variable in the adjust_attributes, but there are some concerns that will require testing if it will work properly. This is actually easier to do. I've defined all the dress-up parts the same wa...
by m_from_space
Sat Jun 01, 2024 2:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Two scenes in one zoom
Replies: 6
Views: 208

Re: Two scenes in one zoom

VeritasLex wrote: Sat Jun 01, 2024 11:43 am

Code: Select all

scene double_scene with sldis
What is "sldis", can you provide the code for that transition?
by m_from_space
Thu May 30, 2024 1:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] NameError for a Label Argument Outside of the Label
Replies: 8
Views: 267

Re: NameError for a Label Argument Outside of the Label

I've been trying to group statements within labels so that I could call them together and it seemed to be working except for this case and I'd like to know why because it seems like I'm misunderstanding something general about Renpy workings here This feels odd. But the command "show" put...
by m_from_space
Wed May 29, 2024 6:17 am
Forum: Ren'Py Questions and Announcements
Topic: How to I change the size variants depending on the device of the VN ?
Replies: 1
Views: 129

Re: How to I change the size variants depending on the device of the VN ?

So, when the variant is set to "small", my textbox appears in every device except in phones, but when I set it to "medium", it appears on the phone device but not in the rest of them. Im not sure if I explained myself well, but I hope you guys can understand. Here is what you ne...
by m_from_space
Wed May 29, 2024 6:11 am
Forum: Ren'Py Questions and Announcements
Topic: layered image's group can't be called
Replies: 6
Views: 3706

Re: layered image's group can't be called

thanks for the reply, the reason why face effects are on top of my face layer is because those face effects are all simple alpha layers, notice how it's just a simple blush face effect, it works perfectly with all my other sprites, this one is the only one giving me a headache Uhm, yeah that's why ...
by m_from_space
Tue May 28, 2024 4:53 am
Forum: Ren'Py Questions and Announcements
Topic: layered image's group can't be called
Replies: 6
Views: 3706

Re: layered image's group can't be called

exactly, that code you just wrote doesn't work So I tested it with mockup images, it works fine. But the face effects should probably be drawn after the face, if you want them to appear on top of the face. Can you start the Renpy launcher, hit the "update" button, choose the latest "...
by m_from_space
Mon May 27, 2024 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Python statement equivalent for the default statement
Replies: 4
Views: 296

Re: Python statement equivalent for the default statement

So, I'm storing most of my game variables in singleton objects. This is a problem as changes in the fields of those objects aren't saved by Ren'Py. Uhm, I'm really interested, why exactly are you doing this? Using singletons I mean. I have a project with a class that only uses a single instance of ...
by m_from_space
Mon May 27, 2024 2:07 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Namebox transform at leave and enter?
Replies: 2
Views: 206

Re: Namebox transform at leave and enter?

Forgive me if this is a simple trick I'm failing to pull off. I haven't touched Ren'Py in over half a decade, and even back then I was a newbie, so stuff like this is still a little new to me. This is actually not a simple trick. The problem here in general is that the "say" screen hides ...
by m_from_space
Mon May 27, 2024 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: layered image's group can't be called
Replies: 6
Views: 3706

Re: layered image's group can't be called

Hello! I need some help with this layered image, whenever I call this layered image it only shows the default assets, calling the other group face layers never works So how do you show the image in the first place including the attributes you wanna show? So this doesn't work? show svero1 blush1 tea...
by m_from_space
Mon May 27, 2024 1:12 pm
Forum: Ren'Py Questions and Announcements
Topic: help with skip cutscene feature
Replies: 3
Views: 209

Re: help with skip cutscene feature

Hello fellas! I need help making a skip function for this video, maybe when the player clicks on the video a pop up windows shows up asking them if they want to skip it? or maybe there's a 'skip cutscene' text button in the top right corner of the screen? whatever is easier IMO So, I'm just using y...
by m_from_space
Mon May 27, 2024 1:01 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Replies: 6
Views: 277

Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?

Thanks this seems to work great, is there a way i could make one of the buttons already "active" with the background without having to hover over it, but still hide, when hovered over a different button? Yeah, just set the screen variable to this button's "id" so to speak when i...
by m_from_space
Mon May 27, 2024 5:42 am
Forum: Ren'Py Questions and Announcements
Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Replies: 6
Views: 277

Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?

I managed to get the background on the textbutton using "style", any ideas how to achieve above mentioned effect? I mean I would just use a screen variable that remembers which button is currently prominent. screen myscreen(): default active = None vbox: textbutton "Play": actio...
by m_from_space
Sat May 25, 2024 1:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Rolling back array
Replies: 5
Views: 225

Re: Rolling back array

RewindTheGame wrote: Sat May 25, 2024 12:31 pm What's happening here?
How is the "array" (you probably mean a "list" of lists or some kind of dictionary?) initialized in your project and how do you change variables as part of the menu navigation? Can you give me some example code?