Search found 12 matches
- Wed Mar 24, 2021 4:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Option to not print certain text instead of strip()
- Replies: 8
- Views: 490
Re: Option to not print certain text instead of strip()
Oh, I didn't read your screen carefully, sorry. Your conditions should look like: if (i.kwargs.get("choicemenu", "") == "hearts") Explanation: kwargs.get returns value of parameter with the name set by first argument. If parameter does not exist, it returns its second ...
- Wed Mar 24, 2021 4:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Option to not print certain text instead of strip()
- Replies: 8
- Views: 490
Re: Option to not print certain text instead of strip()
if i.kwargs.get(choicemenu, "heart"): Should be "choicemenu" , .get takes a string. $ choicemenu = i.kwargs.get("choicemenu", None) should not be there. All it does is mask the error in following .get s, which would actually be reported as errors otherwise. Thank you, ...
- Wed Mar 24, 2021 3:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: Option to not print certain text instead of strip()
- Replies: 8
- Views: 490
Re: Option to not print certain text instead of strip()
Hi, frankfrankstud , There is a better solution that won't fail if you consider adding translation. You can pass an argument to the choice items. Check this PyTom article . Thanks again - set this up so far: menu: "Menu Test One" (choicemenu="heart"): "Menu Test One" &...
- Wed Mar 24, 2021 12:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Option to not print certain text instead of strip()
- Replies: 8
- Views: 490
- Tue Mar 23, 2021 5:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Option to not print certain text instead of strip()
- Replies: 8
- Views: 490
Option to not print certain text instead of strip()
Hi everyone, Setting up a choice menu where a different choice GUI element will show depending on what kind of choice it is. E.g the heart icon would show if the choice is romantic, question mark if it's a question, etc. This works fine - however, I use the way below to determine which kind of choic...
- Thu Mar 04, 2021 5:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebutton action that rotates an image
- Replies: 7
- Views: 509
Re: Imagebutton action that rotates an image
and even though the action is only added to one imagebutton on the screen, they all cause it to happen You need to use a single variable for each image to ratate them individually. For example for better organizing you can use list or dict: default angles = [0,0] screen rotscreen(): vbox: imagebutt...
- Wed Mar 03, 2021 7:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebutton action that rotates an image
- Replies: 7
- Views: 509
Re: Imagebutton action that rotates an image
Something like this is possible: screen rotscreen(): default ang = 0 textbutton "Rotate" action SetScreenVariable("ang", ang+1) add "eileen": rotate ang Unfortunately it keeps doing the same rotation over and over again (and even though the action is only added to one ...
- Tue Mar 02, 2021 4:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebutton action that rotates an image
- Replies: 7
- Views: 509
Imagebutton action that rotates an image
Hi all, What's the best way to create an action on an imagebutton within a screen that rotates an image showing on the screen? I basically want to create a puzzle where you have to turn buttons into the correct places to unlock something. The mechanics work perfectly, but I want to add an image that...
- Fri Feb 19, 2021 7:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: NVL move and ADV Mode Window Show
- Replies: 1
- Views: 2211
NVL move and ADV Mode Window Show
Hi everyone Trying to get a problem fixed. My game uses both NVL and ADV mode. I usually use "window show dissolve" and "window hide dissolve", however, if I use this during NVL mode it first shows the normal ADV mode textbox before switching to the NVL one. If I use this code: c...
- Wed Feb 10, 2021 12:20 am
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 118
- Views: 56878
Re: Encyclopaedia / Bestiary Framework
Hello everyone,
Has anyone figured out the way to fix the hyperlink issue where escape opens the save menu instead of closing the encyclopedia? It's also causing an issue where my quick menu doesn't hide. I guess it's an issue with showing the screen instead of calling it?
Has anyone figured out the way to fix the hyperlink issue where escape opens the save menu instead of closing the encyclopedia? It's also causing an issue where my quick menu doesn't hide. I guess it's an issue with showing the screen instead of calling it?
- Wed Feb 10, 2021 12:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Call Screen with hyperlink instead of show
- Replies: 2
- Views: 350
Re: Call Screen with hyperlink instead of show
Thank you - I appreciate the help. I'll try the "showmenu" asap. As for the "on show" "on hide", I already use these unfortunately, but it ignores them when I enter a screen via a hyperlink. For reference, I'm using the Encyclopaedia / Bestiary Framework, and the hyperl...
- Tue Feb 09, 2021 3:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Call Screen with hyperlink instead of show
- Replies: 2
- Views: 350
Call Screen with hyperlink instead of show
Hi all, Looking for a way to change how my hyperlinks work in game. Right now, I'm using hyperlinks to jump to specific entries in my encyclopedia, but when you use hyperlinks instead of a button it still shows the quick menu and other things that were still on the screen. Also, when I click return ...