Search found 30 matches
- Sat Nov 02, 2019 5:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Create a graph in-game to track stat changes
- Replies: 3
- Views: 970
Re: Create a graph in-game to track stat changes
Hello, There is a python library : matplotlib , that allows you to make graphs. It's a bit like the pestle hammer to crush a fly (French formula to say that the tool are clearly oversized compared to the objective) but I only know this library to do that. The advantage is that it is well documented....
- Fri Nov 01, 2019 6:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: An question about renpy translate,
- Replies: 2
- Views: 613
Re: An question about renpy translate,
And i want to know what away are good for made an type of FAQ in game like this image Salut :wink: A newbie' s notice: a screen with textbuttons for the left, these textbuttons calling labels containing a screen for the right part with other textbutton for questions triggering calls with dialog res...
- Thu Oct 31, 2019 6:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I remove a list of items from another list?
- Replies: 2
- Views: 592
Re: How do I remove a list of items from another list?
Or python: listA = [1,2,3,4,5] listB = [2,4] listA = [i for i in listA if i not in listB] listA is then equal to [1,3,5] Avoids problems if the order of the elements is different in the two lists: if listB = [4,2] and not [2,4] With the loop written by Per K Grok with listB = [4,2] we have the follo...
- Sun Oct 27, 2019 9:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: Making Imagebuttons disappear upon clicking them
- Replies: 16
- Views: 1777
Re: Making Imagebuttons disappear upon clicking them
Thanks Plulovi and Alex for this post, it corresponds to a problem that I hadn't really solved: animating a button and play sound when and only when I click on it. In my case, the button wasn't supposed to disappear. (A padlock that was supposed to move and squeak when you click it. But unfortunatel...
- Mon Oct 21, 2019 7:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Music Continue
- Replies: 20
- Views: 1740
Re: Music Continue
If "first2" appears that a pause between play movie and scene first would allow "first" to be displayed ?
Why a call, and not a jump label main_menu? Maybe it would work?
Why a call, and not a jump label main_menu? Maybe it would work?
- Mon Oct 21, 2019 6:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Absolutes for Tags?
- Replies: 1
- Views: 457
Re: Absolutes for Tags?
I don't know if I understood your request correctly. But in order that an image is always positioned in the same way, we can write: image jparle_tc: Solid('505a', xysize=(320, 240)), truecenter image pierre_tc: "images/pierre2 mad side.png", truecenter image pierre = "images/pierre2 m...
- Sat Oct 19, 2019 8:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Moving various titles to the middle
- Replies: 5
- Views: 908
Re: [Solved] Moving various titles to the middle
I don't know why, but I prefer this solution.
Thank you all!
- Thu Oct 17, 2019 11:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Moving various titles to the middle
- Replies: 5
- Views: 908
Re: [Solved] Moving various titles to the middle
It might interest readers that you give your solution!
- Thu Oct 17, 2019 11:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
- Tue Oct 15, 2019 5:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
Re: How to name a screen by the content of a variable?
Thank you Alex, great example! It took me a little while to understand all the code but it's okay. Only one question: why repeat False in timer 2.0 action Hide(tag) repeat False This code has no reason to repeat even without repeat False ??? I love this kind of improbable code, just for the beauty o...
- Mon Oct 14, 2019 9:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
Re: How to name a screen by the content of a variable?
YES! Great, it works perfectly. The use of _tag is the key. I saw the use of tag in the doc on: renpy.hide_screen(tag, layer=None) and renpy.define_screen(name, function, modal="False", zorder="0", tag=None, variant=None) Actually he talks about _tag, usable with the solution pro...
- Sat Oct 12, 2019 6:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
Re: How to name a screen by the content of a variable?
Lazy, not really, I often see you answer on the forum where you solve a lot of problems. ren'py it's a real tour de force (challenge) to have written this with python 2.x and pygame, it's quite fluid. For the documentation I think my nullity in English and the poverty of google trad counts a lot! Th...
- Sat Oct 12, 2019 5:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
Re: How to name a screen by the content of a variable?
they're finicky, slow and as far as I know, there's no documentation on them. OK, ok :cry: I see, everything I love... Especially the lack of doc, it's the most horrible thing I know. I'm not opening this Pandora's box! Thank you for the feedback! By the way, how do you like the ren'py doc? Persona...
- Fri Oct 11, 2019 2:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
Re: How to name a screen by the content of a variable?
Maybe in python with something like: dicScreen = dict(); var = 'screen'+i; dicScreen[var] = 'nameScreen'; if there are functions or methods equivalent to screen name, show screen name and hide screen name in python. To be explored renpy.define_screen(name, function, modal="False", zorder=&...
- Fri Oct 11, 2019 2:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to name a screen by the content of a variable? [SOLVED]
- Replies: 16
- Views: 1803
Re: How to name a screen by the content of a variable?
yes this would be necessary to create a large number of screens on the fly with a call and put the generic code in a block. For me, that was the goal. Yes when we do not know the number of screens that will have to be called in a loop or under a condition and be able to manage them individually. And...