Search found 63 matches

by Dark79
Thu Apr 25, 2024 11:06 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Display integer value with a decimal point
Replies: 1
Views: 83

Re: Display integer value with a decimal point

Figure it out. Just in case someone else needs it.

Code: Select all

default var= 100

screen TestScreen():
    text "{0:.2f}".format(var / 100)" xalign 0.5


by Dark79
Thu Apr 25, 2024 10:05 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Display integer value with a decimal point
Replies: 1
Views: 83

[Solved]Display integer value with a decimal point

Hello, Is there a way to display integer value with a decimal point? It's like you can place decimal point anywhere in the integer value for display purposes. For example. default var= 100 screen TestScreen(): text "[var]" xalign 0.5 #here show as if the value is being displayed as 1.00 in...
by Dark79
Tue Apr 02, 2024 8:59 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How to share same custom textbox settings for defined chartacters?
Replies: 1
Views: 143

Re: How to share same custom textbox settings for defined chartacters?

Nevermind, I should have read it better in the documentation https://www.renpy.org/doc/html/dialogue.html#Character . :D style MyWindowTextbox_style: background "gui/speechbubble.png" xsize 620 ysize 372 xalign 0.6 yalign 0.3 style MyWhatTextbox_style: xpos 70 ypos 70 xsize 500 color "...
by Dark79
Tue Apr 02, 2024 8:24 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How to share same custom textbox settings for defined chartacters?
Replies: 1
Views: 143

[Solved]How to share same custom textbox settings for defined chartacters?

Hi, As the title of the subject says, I will have many defined characters, and they will have custom made textboxes, some of them will share settings. I feel like there is something very simple to be done about this but can't quite figure out Example: define char1 = Character(None, window_background...
by Dark79
Tue Mar 26, 2024 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with Transition Condition Switch.
Replies: 13
Views: 431

Re: Need help with Transition Condition Switch.

I want to change expression, each expression change would have a transition effect (dissolve). Try this: layeredimage augustina: always: "bg.jpg" attribute happy: "s2h_01.png" align (0.65, 0.45) xysize (400, 600) attribute sad: "s2h_15.png" align (0.65, 0.45) xysize (4...
by Dark79
Sun Mar 24, 2024 11:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with Transition Condition Switch.
Replies: 13
Views: 431

Re: Need help with Transition Condition Switch.

I managed to give each expression an alpha dissolve but it is jarring as the face expression disappear completely and the next expression slowly appears. Hope this is somewhat helpful. transform persona_appear: on show: alpha 0.0 linear 1.5 alpha 1.0 on hide: linear .5 alpha 0.0 transform show_up: ...
by Dark79
Sun Mar 24, 2024 1:04 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with Transition Condition Switch.
Replies: 13
Views: 431

Re: Need help with Transition Condition Switch.

But I can't mimic like this a proper dissolve effect. :|. Why not? https://renpy.org/doc/html/atl.html#atl-transitions I that was the last thing I tried before posting on the forums. I dunno maybe I am using it wrong way. I know that you use the ATL transition like normal transitions show person wi...
by Dark79
Sun Mar 24, 2024 1:01 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with Transition Condition Switch.
Replies: 13
Views: 431

Re: Need help with Transition Condition Switch.

Since I just cannot figure out how to use layeredimage the way i want to for example when I want to change expression, each expression change would have a transition effect (dissolve). It's probably like changing any other image, "with dissolve": show augustina aug "I like this dress...
by Dark79
Sat Mar 23, 2024 10:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with Transition Condition Switch.
Replies: 13
Views: 431

Re: Need help with Transition Condition Switch.

Hi, not sure I can be of much help as I'm not that good with OOP too :oops: but LiveComposite has been deprecated for a while, try Composite. https://www.renpy.org/doc/html/changelog6.html#changes I tried to use Composite but I am still getting same error. i assume in the past it worked well, but n...
by Dark79
Fri Mar 22, 2024 12:18 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with Transition Condition Switch.
Replies: 13
Views: 431

Need help with Transition Condition Switch.

Hi all. Since I just cannot figure out how to use layeredimage the way i want to for example when I want to change expression, each expression change would have a transition effect (dissolve). I tried to use Asceai's code for TransitionConditionSwitch https://lemmasoft.renai.us/forums/viewtopic.php?...
by Dark79
Thu Dec 14, 2023 5:00 am
Forum: Ren'Py Questions and Announcements
Topic: See AnimatedValue bar's changing value?
Replies: 4
Views: 3389

Re: See AnimatedValue bar's changing value?

Lol I didn't realize you were the same person. I was referring also to Remix's Extra AnimatedValue library which you linked in that question -- that extends AnimatedValue to access the current value of the AnimatedValue and output it as text, which seems like what you are asking for. Yeah, i liked ...
by Dark79
Thu Dec 14, 2023 12:55 am
Forum: Ren'Py Questions and Announcements
Topic: See AnimatedValue bar's changing value?
Replies: 4
Views: 3389

Re: See AnimatedValue bar's changing value?

Yeah that time I was using for numbers only, but i just wonder if there is a way to follow the AnimatedValue Bar behaviour like actually "track" the bar's animation with number values together. As it seems for now AnimatedValue does not have this function, so I guess you have to make two s...
by Dark79
Wed Dec 13, 2023 10:28 pm
Forum: Ren'Py Questions and Announcements
Topic: See AnimatedValue bar's changing value?
Replies: 4
Views: 3389

See AnimatedValue bar's changing value?

Hello there, Is there a way to see AnimatedValue bar's actual changing value?. What I mean: screen Test_Screen(): default var_value = 40 default max_value = 40 bar value AnimatedValue(var_value, max_value, 0.5): align(0.5,0.0) vbox: align(0.5,0.2) textbutton "Test change -" action SetScree...