Search found 51 matches

by morganw
Wed Nov 06, 2019 2:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Building distribution options from command line
Replies: 2
Views: 2068

Re: Building distribution options from command line

Did anyone ever work out the commands to build a subset of packages? This builds everything into 'D:\buildtest': renpy launcher distribute --dest D:\buildtest C:\path\to\game This seems to do nothing, but also doesn't log any errors: renpy launcher distribute --dest D:\buildtest --package pc C:\path...
by morganw
Sun Nov 18, 2018 8:39 am
Forum: Ren'Py Questions and Announcements
Topic: Making sprites dissolve by default when shown
Replies: 11
Views: 1223

Re: Making sprites dissolve by default when shown

config.tag_layer is a dictionary, so I think it should look like this: config.tag_layer = {'kura': 'characters', 'oni': 'characters', 'utagu': 'characters', 'kokoro': 'characters'} I'm not sure why the background would have gone black, but 3/4 characters wouldn't have been using the layer. If you tr...
by morganw
Sat Nov 17, 2018 4:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Making sprites dissolve by default when shown
Replies: 11
Views: 1223

Re: Making sprites dissolve by default when shown

What is the transition you are using?
by morganw
Sat Nov 17, 2018 10:06 am
Forum: Ren'Py Questions and Announcements
Topic: Making sprites dissolve by default when shown
Replies: 11
Views: 1223

Re: Making sprites dissolve by default when shown

Does the same thing happen if you don't set 'config.scene' ?
by morganw
Fri Nov 16, 2018 4:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Making sprites dissolve by default when shown
Replies: 11
Views: 1223

Re: Making sprites dissolve by default when shown

It looks like the reason the text gets the same effect is because the transition is applied to the whole layer, and the character is on the same layer as the text. So this is probably the easiest solution: init python: def replacement_show(*args, **kwargs): if kwargs['layer'] == 'characters': renpy....
by morganw
Thu Nov 15, 2018 3:35 pm
Forum: Ren'Py Questions and Announcements
Topic: tooltips don't work
Replies: 2
Views: 438

Re: tooltips don't work

I think this is just a typo.

This doesn't exist:

Code: Select all

$ tooltip = GetToolTip()
This is fine:

Code: Select all

$ tooltip = GetTooltip()
by morganw
Thu Nov 15, 2018 2:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Making sprites dissolve by default when shown
Replies: 11
Views: 1223

Re: Making sprites dissolve by default when shown

Ah, right, I didn't notice that removing those puts you back where you started. I think that because show is used for more than just defined images, and because the transition is a separate thing from what you are showing, it'll be quite tricky. You can probably do it by checking *args and **kwargs ...
by morganw
Wed Nov 14, 2018 3:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Making sprites dissolve by default when shown
Replies: 11
Views: 1223

Re: Making sprites dissolve by default when shown

Using this code from further down the post: init python: def replacement_show(*args, **kwargs): renpy.transition(Dissolve(0.5)) renpy.show(*args, **kwargs) renpy.pause(0.5, hard=False) return config.show = replacement_show def replacement_hide(*args, **kwargs): renpy.transition(Dissolve(1)) renpy.h...
by morganw
Sun Nov 11, 2018 1:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How to update screen after viewport is adjusted
Replies: 0
Views: 226

How to update screen after viewport is adjusted

I've been struggling to find a way to update a screen, once the horizontal scroll value for a viewport has been adjusted. The idea here is to apply a transform to a displayable, using the value of the viewport adjustment: image bg = "images/background.png" image character = "images/ch...
by morganw
Thu Dec 28, 2017 9:03 am
Forum: Ren'Py Questions and Announcements
Topic: Can you skip a transform within a screen?
Replies: 3
Views: 787

Re: Can you skip a transform within a screen?

That worked well, until skipping mode is turned off and the transform gets reset (xpos jumps back to 0). This seems to fix that: add 'placeholder' at test_transform(test_transform.xpos, move_to, 5 if not renpy.get_skipping() else 0) Thank you for the pointer though, I hadn't considered that I could ...
by morganw
Wed Dec 27, 2017 4:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Can you skip a transform within a screen?
Replies: 3
Views: 787

Can you skip a transform within a screen?

When 'skipping' is enabled it doesn't seem to be able to skip a transform that is running within a Screen, e.g. in the following example there seems no way to skip the 5 second animation once it has been started: image background = 'images/background.png' image placeholder = Placeholder() transform ...
by morganw
Tue Jan 31, 2017 7:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Android controller support
Replies: 2
Views: 563

Re: Android controller support

Unfortunately I don't have one that I can test with. Later builds did add support for other controllers though: http://www.aftvnews.com/amazon-fire-tv-gains-additional-3rd-party-game-controller-support-heres-the-full-list/ I was testing with GamepadExists(developer=False), which returned False, but ...
by morganw
Sun Jan 29, 2017 1:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Android controller support
Replies: 2
Views: 563

Android controller support

Has anyone else tried building a game for an Android based media box, rather than for a phone or tablet? I've tried on an Amazon Fire TV 2 and it seems that the controller detection function returns that no controllers are connected. The wireless remote that comes with the box can work the game, but...