Search found 233 matches
- Sat Jan 11, 2020 10:36 pm
- Forum: Development of Ren'Py
- Topic: Android keystore
- Replies: 2
- Views: 6864
Android keystore
I'm doing the coding for several games in parallel, for several different organizations. When I set up rapt to do an Android port, it wanted the name of the organization. How do I handle the fact that I'm working for more than one? Replace the keystore when I switch to different projects? Different ...
- Sat Jan 11, 2020 9:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Conditional weighted random choice
- Replies: 4
- Views: 623
Re: Conditional weighted random choice
@Alex 's code is a good approach. One of the things you have to take into account is the relative weighting. For example - you have three tasks, but what if the player chooses "rarely" for all three? Does that make them equally weighted? That doesn't feel "rare" to me. So, to sta...
- Sat Jan 11, 2020 12:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Conditional weighted random choice
- Replies: 4
- Views: 623
Re: Conditional weighted random choice
Your approach of using different arrays under different conditions is actually a very good one. One thing you could look at would be to build that array dynamically. Yes, it needs Python, but it’s not gross. I’m mobile right now, and my iPad will not let me do a good job typing code. I’ll try to edi...
- Fri Jan 10, 2020 1:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: extend can't use
- Replies: 2
- Views: 357
Re: extend can't use
Not sure, but maybe it’s because you have the intervening “voice” command? On thing you could try would be to have the second and third lines include the text from the previous line(s), but use the “fast” tag so the user doesn’t see it re-displaying. https://www.renpy.org/doc/html/text.html#text-tag...
- Thu Jan 09, 2020 1:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Roll Forward doesn't restore a value
- Replies: 2
- Views: 382
Re: Roll Forward doesn't restore a value
This is known behavior within a screen. The same thing happens if you save and restore within a screen. The fix for saving is here: https://www.renpy.org/doc/html/save_load_rollback.html#retaining-data-after-load But the critical fact for you is that rollback and roll forward are based on the same s...
- Mon Jan 06, 2020 1:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to avoid transparent edges when vpunch?
- Replies: 4
- Views: 605
Re: How to avoid transparent edges when vpunch?
Or just render the image you’re going to vpunch larger than your viewport.
- Thu Jan 02, 2020 7:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: renpy.log doesn't seem to work on macOS
- Replies: 9
- Views: 913
Re: renpy.log doesn't seem to work on macOS
This is just a guess, but if the default is to write to the SDK folder, that one is probably blocked from non-administrative writing if you put Ren’py in the Applications folder. If Ren’py is put in another area, relative paths may work. But point it at your Documents folder would probably suffice f...
- Wed Jan 01, 2020 11:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: 'Uncaught Exception'
- Replies: 1
- Views: 381
Re: 'Uncaught Exception'
Exactly when do you get this? When you first launch the executable? When you start a new game? When you load a save? As I'm sure you can see, what it's complaining about is that somehow the game is trying to start playing music before it's completely out of the init phase. Have you recently done som...
- Wed Jan 01, 2020 11:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: renpy.log doesn't seem to work on macOS
- Replies: 9
- Views: 913
Re: renpy.log doesn't seem to work on macOS
Stupid question, but did you try specifying an absolute path? Something like "/Users/myAccount/Documents/renpy.log"? It's possible the "default location" is one that Ren'py doesn't have permission to write into.
- Sat Dec 28, 2019 1:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Want to display linking line between objects in Map screen
- Replies: 6
- Views: 814
Re: Want to display linking line between objects in Map screen
Couldn’t you just create a PNG image with transparent background and the lines and show it under the objects? Or are they dynamic?
- Fri Dec 27, 2019 12:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: call_in_new_context?
- Replies: 3
- Views: 448
Re: call_in_new_context?
Thank you for the detailed explanation. The save and rollback/roll-forward are issues that would never have occurred to me. So, just to make sure I'm understanding - 1. If someone creates a save during the "pause" in "my_label," when the save is loaded, Ren'py will restart things...
- Thu Dec 26, 2019 2:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: call_in_new_context?
- Replies: 3
- Views: 448
call_in_new_context?
Trying to make sure I understand something. I was trying to write something vaguely like this: Script: someone "says something" $ an_object.a_method() someone "says something" Inside "an_object": def a_method(self): do some calculations renpy.call(my_label) do some more...
- Thu Dec 26, 2019 2:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "Black screen" problem restoring saves [SOLVED]
- Replies: 1
- Views: 765
Re: "Black screen" problem restoring saves [SOLVED]
OK, I found the problem. It was my own stupidity, an incomplete understanding of how the "after_load" label works, and a typo all rolled into one... (eyeroll)
- Mon Dec 16, 2019 1:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]How to add Android/IOS full screen frame?
- Replies: 3
- Views: 809
Re: How to add Android/IOS full screen frame?
One option that comes to mind - there are Ren’py methods that will allow you to know if you’re on a mobile device. You could try creating a new custom layer that would live behind the rest of the game, and put the background content on it, sized to 100% screen size. Whether of not this would work de...
- Tue Dec 10, 2019 1:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Slight delay when webm videos play, why?
- Replies: 12
- Views: 1103
Re: Slight delay when webm videos play, why?
To the best of my knowledge, if you don’t put an explicit transition in, “scene” does not (or doesn’t any more) include a “dissolve” transition.