Search found 242 matches

by Nero
Wed Aug 03, 2022 8:44 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] I want sounds to overlap
Replies: 2
Views: 201

Re: I want sounds to overlap

Oh I thought those channel names are just strings with no effects. Naming my channel to "audio" solved the problem. Thanks Ocelot.
by Nero
Wed Aug 03, 2022 8:20 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] I want sounds to overlap
Replies: 2
Views: 201

[SOLVED] I want sounds to overlap

I was wondering is there a way to make sound effect on single channel to overlap each other. For example I have a card draw effect that is set to 0.1 loop delay and duration of .mp3 is 1 second so if I run this code it will work but I will get this choppy-breaking sound, same as you would get by spa...
by Nero
Sat Jul 09, 2022 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Using Function action in imagebutton
Replies: 5
Views: 235

Re: Using Function action in imagebutton

Yes that's it. Thanks laure, however it makes no sense to me why it needs to be called this way.
by Nero
Sat Jul 09, 2022 1:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Using Function action in imagebutton
Replies: 5
Views: 235

Re: Using Function action in imagebutton

I will need little bit more help on this one possible with example, I was reading what you posted but it doesn't help my case I understand what it does but I don't see the need for this in my case. My function does not need any of *args and **kwargs as I already know the number of arguments that I n...
by Nero
Sat Jul 09, 2022 12:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Using Function action in imagebutton
Replies: 5
Views: 235

[SOLVED]Using Function action in imagebutton

I want to use Function option for action imagebutton but it looks like it only works for functions without arguments. How do I use a function with 1,2 or unlimited number of arguments? Not sure what I'm doing wrong I'm getting an TypeError if I try to use it like shown in code below : TypeError 'Non...
by Nero
Tue Jun 16, 2020 12:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Image Zoom From Center Doesn't Work
Replies: 3
Views: 227

Re: Image Zoom From Center Doesn't Work

Both of your solutions worked fine guys.

Per K Grok your case also works now that I fixed the frame problem.

Remix as you said problem was that it was inside of a frame but I managed to make it work with some tweaking.

Thanks!
by Nero
Mon Jun 15, 2020 11:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Image Zoom From Center Doesn't Work
Replies: 3
Views: 227

[SOLVED]Image Zoom From Center Doesn't Work

Hi, this might be a simple problem to solve but I'm having some trouble. Basically I want my picture to be zoomed out from the CENTER of its position not from the LEFT upper corner as it is default. I was searching some documentation but it seems like it doesn't work or maybe I'm using it incorrectl...
by Nero
Fri Jun 05, 2020 2:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Making Screen Disappear After Few Seconds
Replies: 3
Views: 263

Re: Making Screen Disappear After Few Seconds

Yes that's exactly what I wanted, timer inside of a screen. Thanks!
by Nero
Thu Jun 04, 2020 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Making Screen Disappear After Few Seconds
Replies: 3
Views: 263

[SOLVED]Making Screen Disappear After Few Seconds

Does anyone know how can I make screen that will close itself after few seconds? For example I use show screen test and then after 3-4 seconds it should disappear? Im aware that this can be done via function but then I need to use pause which will interfere with the program itself. I looked everywhe...
by Nero
Thu Jun 04, 2020 2:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]For Loop Python Question
Replies: 1
Views: 193

Re: For Loop Python Question

Found solution:

Just use reversed so loop would happen for every item.

Code: Select all

for x in reversed(deck):
by Nero
Thu Jun 04, 2020 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]For Loop Python Question
Replies: 1
Views: 193

[SOLVED]For Loop Python Question

Hi, I have noticed interesting thing about for loops for example I wanna add all items from one list to another if some condition is met. Now thing is when first item is added to a list the for loop will just break (even if i never gave break or return command in code). Now can anyone can explain me...
by Nero
Tue Mar 31, 2020 9:13 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Animation Help
Replies: 2
Views: 300

Re: Animation Help

Ahhh I see how this works. That's it thank you!
by Nero
Mon Mar 30, 2020 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Animation Help
Replies: 2
Views: 300

[SOLVED]Animation Help

I'm learning how to do simple animations. I would like to know how to make simple animation happens when you append variable to a list. So my idea would be like this. Player is holding few cards in his hand, when you do card draw by that i mean (append card to his hand(list)) simple animation should...
by Nero
Sat Mar 28, 2020 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Changing Specific String in Sentence
Replies: 2
Views: 242

Re: Changing Specific String in Sentence

Okay I figured it out. No this is what I meant:

Code: Select all

text "%s" % (s.description if s.damage == s.damage_base else s.description.replace("[s.damage]","{color=#ff0000}[s.damage]{/color}"))
by Nero
Sat Mar 28, 2020 3:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Changing Specific String in Sentence
Replies: 2
Views: 242

[SOLVED]Changing Specific String in Sentence

I have a text that says something like "Skill deals 5 damage." so the next thing I want it to show is IF damage goes up then show "Skill deals {color=ff0000}5{/color} damage" Basically say same thing just change the color of number in sentence does anyone have idea how to make that work in my exampl...