Search found 337 matches

by henvu50
Tue Aug 16, 2022 11:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Documenting my experience from upgrading from 7.4.10 to 8.0.2
Replies: 0
Views: 1681

Documenting my experience from upgrading from 7.4.10 to 8.0.2

I'm going to document my experience from upgrading 7.4.10 to 8.0.2. Hopefully others will find this information useful. I do semi complex programming in Python 2, in my Ren'py game. I test it to ensure it works on Android and Tablet. 1. I did the update to 8.0.2, now Ren'py will restart. So far so g...
by henvu50
Fri Jan 21, 2022 6:30 pm
Forum: Ren'Py Questions and Announcements
Topic: play music without loop new command?
Replies: 3
Views: 636

Re: play music without loop new command?

If you give music the noloop command, it causes rollback to stop the currently played music. It also causes the music to no longer be played after loading a save game. Is there a way to stop music looping, but without the rollback stopping the music that should be playing, and ensuring when you load...
by henvu50
Fri Jan 21, 2022 6:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you stop music from looping, without causing rollback to stop playing music, & ensure music plays after loading?
Replies: 1
Views: 354

How do you stop music from looping, without causing rollback to stop playing music, & ensure music plays after loading?

I'm trying to simply play music without it looping. But, if you set the music playing loop to False in ANYWAY, it causes two problems: Problem #1. If you rollback, the music stops playing. Problem #2. If you load a save game, the music no longer plays. However, if you set the music loop to True, in ...
by henvu50
Fri Oct 08, 2021 1:51 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make defaultdict work with rollback [SOLVED]
Replies: 3
Views: 500

Re: How to make defaultdict work with rollback

I tried to do this with OrderedDict, but it doesn't work with rollback, but the method suggested above does indeed work with defaultdict.

Anyone know if it's possible to get OrderedDict to work with Rollback/RevertableDict? If not, it's not a big deal.
by henvu50
Sat Sep 18, 2021 1:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [Unresolved] Possible Bug: Fade out not occurring when mouse unhovers from textbutton.
Replies: 1
Views: 1635

Re: Possible Bug: Fade out not occurring when mouse unhovers from textbutton.

I've been stuck on this problem for over a month. Anyone know how to get a fully functional fade in & fade out system working with showif & tooltips, that also works when you're using either keyboard or mouse, across tablet, pc and mobile? - Fade out will not work no matter what. - When usin...
by henvu50
Wed Sep 15, 2021 5:33 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to use renpy.profile_screen to debug interface lag on Android?
Replies: 0
Views: 799

[Solved] How to use renpy.profile_screen to debug interface lag on Android?

EDIT: I figured out the lag problem with my android game. I was using showif and a ton of elif's in the tooltip. The tooltip was part of a global tooltip system. So everytime you tapped any button, it would have to process about 50 showif/elif statements that each have various screens with tons of i...
by henvu50
Mon Sep 06, 2021 11:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Is partial playback not meant to work with fadeout?
Replies: 0
Views: 639

Is partial playback not meant to work with fadeout?

The fadein works, but the fadeout doesn't. Is that intended?

Code: Select all

renpy.music.play('<from 15 to 30>' + musicFile01, channel='music', fadein=2.0, fadeout=2.0)  
It kind of makes sense that it wouldn't fadeout, but it would be nice if it did work, but I can easily edit the music file in audacity.
by henvu50
Mon Sep 06, 2021 10:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to play music at splashscreen, but not have it loop infinitely?
Replies: 4
Views: 375

Re: How to play music at splashscreen, but not have it loop infinitely?

I'd prefer the music start at the splash screen. ... label splashscreen: $ renpy.music.play(filenames=someMusic, channel='music', loop=False, if_changed=True, fadein=4.0, fadeout=2.0) return Yes, you can start music at splashscreen (that's why if_changed=True is used in main menu). on 'show' action...
by henvu50
Mon Sep 06, 2021 9:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to play music at splashscreen, but not have it loop infinitely?
Replies: 4
Views: 375

Re: How to play music at splashscreen, but not have it loop infinitely?

I'd prefer the music start at the splash screen. Oh well, this is not a big deal, but I was hoping I could gain absolute control of the audio. Edit: Okay, this works for now. Stick this in the screen main_menu screen main_menu: # ...... # disable music after a duration on 'show' action Show('timer_s...
by henvu50
Sat Sep 04, 2021 11:09 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to play music at splashscreen, but not have it loop infinitely?
Replies: 4
Views: 375

[Solved] How to play music at splashscreen, but not have it loop infinitely?

EDIT: The easiest solution is to comment out define config.main_menu_music = someMusic, like Alex said, but then just move everything from your splashscreen to before_main_menu. Then, in before_main_menu, play your music file with noloop added or loop=False. Using before_main_menu solved the issue, ...
by henvu50
Sun Aug 29, 2021 12:16 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do I add a custom value range on bar value Preference("font scale") ?
Replies: 1
Views: 466

[Solved] How do I add a custom value range on bar value Preference("font scale") ?

How do I add a custom range on bar value Preference("font scale")? This is how the font size is normally changed from 00accessibility.rpy bar value Preference("font size") textbutton _("Reset"): action Preference("font size", 1.0) I'm trying to make a bar that...
by henvu50
Sat Aug 28, 2021 8:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to wrap text around image
Replies: 4
Views: 1067

Re: [SOLVED] How to wrap text around image

I'm currently trying to figure out how to do this with the say dialogue screen. I want to embed the sideImage in a way where the dialog text wraps around it.
by henvu50
Sat Aug 28, 2021 8:37 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I show the say dialogue text to the right of and below the sideImage? (Pic)
Replies: 1
Views: 456

How do I show the say dialogue text to the right of and below the sideImage? (Pic)

How do I show the say dialogue text to the right of and below the sideImage?

Like this?
Untitled-3.jpg
Where the purple square box represents the sideImage(), and the text represents the what variable inside screen say?
by henvu50
Sat Aug 28, 2021 1:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Can I set the ypos of a textbox as equal to ypos of an imagebutton?
Replies: 9
Views: 1780

Re: Can I set the ypos of a textbox as equal to ypos of an imagebutton?

The renpy.focus_coordinates() turned out to be very useful! Thanks for responding with that info. Is it also possible to get the ID of the displayable, in addition to the focus coordinates? # pseudo code $ rfc = renpy.focus_coordinates(alsoReturnDisplayableID=True) # result # (343,142,832,443, "...
by henvu50
Fri Aug 27, 2021 2:56 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to get the screen x & y position of a displayable?
Replies: 7
Views: 852

Re: How to get the screen x & y position of a displayable?

... Try this sample, looks like it's what you are looking for - https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=62714&sid=e35f5bc43a0615ec021830453d9c9a91#p546039 That's it! Damn. I swear, I looked so hard to search for something like that. 90% of the time I find what I'm looking for,...