Search found 48 matches

by Tow4352
Sat Aug 26, 2023 4:38 am
Forum: Ren'Py Questions and Announcements
Topic: EndOfDay Bar with Thumb and number that increases
Replies: 0
Views: 4521

EndOfDay Bar with Thumb and number that increases

Hello. I hope someone can help me. At the end of the day a bar appears that increases, showing the progress over the day. The stat is LLL (end of day) and LLLStart is the value at the start of the day. A thumb that goes over the right end of the bar and has a number on it is also something this bar ...
by Tow4352
Sun Jan 08, 2023 3:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

I tried it and checked it. The change only made it so that the Unknown symbol never appears now, instead of the other way around. Homework 0 is False and written correctly. I checked it and am not sure why the code is not working. "Homework0 = [Homework0]" menu: "Hey, Cream. How are y...
by Tow4352
Sun Jan 08, 2023 6:37 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

Hey there again. Looks like I need help. >.< Sorry, but the code isn't working. It shows the question mark, but after I set the variable to True, it still shows the question mark. So the reveal after the variable changes isn't working for some reason. Do you know what went wrong? menu: "Hey, Cr...
by Tow4352
Sun Jan 08, 2023 12:46 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

Hm...Less convenient. Maybe. Then again, it looks it could be more convenient in this example too, with less code that needs to be written. So it is an interesting alternative. I thank you for your great help. That should now make the choice formula complete and I am excited to get some work on my g...
by Tow4352
Sat Jan 07, 2023 6:59 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

When I try it, I get a "name stat_kwargs is not defined" error, sadly. $ stat_kwargs = {} if Homework1 == False: $ stat_kwargs["RWC_unknown"] = True Looks like I overlooked that. Thanks! =D But I wonder, what about two different choices having the same hidden elements? I mean, i...
by Tow4352
Sat Jan 07, 2023 2:11 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

When I try it, I get a "name stat_kwargs is not defined" error, sadly. How do I solve that error? if Homework1 == False: $ stat_kwargs["RWC_unknown"] = True menu: "Hey, Cream. How are you doing with your homework?" (tooltip='Cream has some homework over the summer holid...
by Tow4352
Fri Jan 06, 2023 2:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

yalign did not work out, but like I said, yaling=0.75 does it, so no worries. ^^ The other thing did work out, which is neat. Just got one question. $ stat_kwargs = This whole thing works fun, but I gotta know how to do it multiple times. One, for the other choices. Two, for cases when only one imag...
by Tow4352
Fri Jan 06, 2023 8:51 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

Okay, I got another thing I have to ask. I need the undiscovered not yet chosen choice to first be Unknown=10, instead of RWC=10. It should be unknown what value is given at the first time the option is chosen. But this gets me "invalid syntax" right now with the way I tried to solve it. i...
by Tow4352
Fri Jan 06, 2023 4:37 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

Working out! Thank you so much! =D There is only one small problem with the code. It for some reason did cause yalign 0.5 to not make them align like earlier, so I am back to using yalign 0.75. But it works, so no worries. But if you got an idea how to get yalign 0.5 working again I will take it. ^^...
by Tow4352
Thu Jan 05, 2023 5:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

I copy and pasted that exact code as you have written it, but I got the same error. Not sure why it is crashing. IndexError: list index out of range Just to be sure, I add the choice code line, in case there is something wrong with it. I hope you have an idea what is going wrong. >.< "Yes, I ho...
by Tow4352
Thu Jan 05, 2023 2:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

True. Seems like I overlooked that, so thanks for pointing it out. ^^ Sadly, there still is another error. IndexError: list index out of range How do I solve that one? if hovered_choice != None: for i, stat in enumerate([ ("RWC", "gui/stats/Stat_RWC.png"), ("Rings", &qu...
by Tow4352
Thu Jan 05, 2023 1:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

I am positive. Images are 80x80 pixels. And while yalign might not be ideal, having it at 0.75 actually solves the issue, so I am very grateful to have that put behind me. ...Or at least I typed that before trying your new formula out that did indeed solve yalign problem, which is great news! It is ...
by Tow4352
Thu Jan 05, 2023 10:13 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

I think I will simply have yalign be higher than 0.5. Someone told me that it shouldn't be done, but if it works, it works. It would help me get the text aligned better with the image. That way, at least that one problem is solved.
by Tow4352
Thu Jan 05, 2023 4:22 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltips showing more than text, but multiple images and multiple text posts too
Replies: 35
Views: 1488

Re: Tooltips showing more than text, but multiple images and multiple text posts too

Thank you for your help. That first one sadly doesn't work and breaks the code. if hovered_choice != None: hbox: #style_prefix "statchoice" pos 50, 745 fixed: xsize 80 ysize 80 text "{:+}".format(items[hovered_choice].kwargs.get("rings")): xalign 0.5 yalign 0.5 Value Er...