Search found 25 matches

by trekopedia
Sun Oct 22, 2017 11:11 am
Forum: Ren'Py Questions and Announcements
Topic: {a=call:label} with parameters?
Replies: 6
Views: 4356

Re: {a=call:label} with parameters?

Nice! I will study that version as well.

This functionality enables me to add a major improvement in the functionality of my current project -- thanks again!
by trekopedia
Sun Oct 22, 2017 10:46 am
Forum: Ren'Py Questions and Announcements
Topic: {a=call:label} with parameters?
Replies: 6
Views: 4356

Re: {a=call:label} with parameters?

Thanks, Remix -- that was exactly what I was looking for! As you noted, it needed some minor debugging (missing closing quote in 'label a' plus an inadvertent indent on the config.hyperlink_handlers line). For anyone else who learns best from studying code examples, here is the tweaked version. I sw...
by trekopedia
Sun Oct 22, 2017 7:30 am
Forum: Ren'Py Questions and Announcements
Topic: {a=call:label} with parameters?
Replies: 6
Views: 4356

Re: {a=call:label} with parameters?

Hi PyTom - thanks for the response. I am guessing that creating my own scheme would involve implementing a custom 'creator-defined protocol handler', as mentioned in the changelog. Is that correct? Is there any documentation on what's involved in doing that or, ideally, some working examples I could...
by trekopedia
Sat Oct 21, 2017 8:11 pm
Forum: Ren'Py Questions and Announcements
Topic: {a=call:label} with parameters?
Replies: 6
Views: 4356

{a=call:label} with parameters?

The new '{a=call:label}' hyperlink feature opens up some really interesting possibilities. I'm trying to make use of it in my current project but am unclear on how to pass parameters as part of the hyperlink. For example, I have the following test code (which works): label start: $ myStr = "Thi...
by trekopedia
Sun Oct 08, 2017 11:34 am
Forum: Ren'Py Questions and Announcements
Topic: renpy.jump with parameter
Replies: 3
Views: 3444

Re: renpy.jump with parameter

OK. Thanks. I figured the jump method itself wasn't going to be the solution since it wasn't documented, but I thought perhaps I was missing some similar option. Global variable it is! :-)
by trekopedia
Sat Oct 07, 2017 8:43 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.jump with parameter
Replies: 3
Views: 3444

renpy.jump with parameter

Hi again everyone, I know that it is possible in renpy script to call a label while passing a parameter. Per the documentation, I could do this: <code> call expression "subroutine" pass (count=3) # ... label subroutine(count=1): </code> Is it also possible to do something similar from pyth...
by trekopedia
Sat Oct 07, 2017 3:39 pm
Forum: Development of Ren'Py
Topic: PyQt4 / Tkinter in Ren'Py
Replies: 4
Views: 2169

Re: PyQt4 / Tkinter in Ren'Py

Hi Vladimir, My understanding is that only pure python modules can be included with a Ren'py game. PyQt4 uses C libraries (I work with PyQt4 in my 'real life' projects). Even tkinter, despite being a part of the official python distribution, includes C libraries so it can't be used either. My recomm...
by trekopedia
Fri Oct 06, 2017 12:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Letting the player choose their pronouns?
Replies: 13
Views: 7741

Re: Letting the player choose their pronouns?

Sure. You could create a function that gets passed values reflecting the usage situation and it returns the appropriate string. For example, a simplistic example might be: def getPronoun(gender, case): if gender == 'Male' and case == 'Possessive': return 'his' if gender == 'Female' and case == 'Poss...
by trekopedia
Fri Oct 06, 2017 10:39 am
Forum: Creative Commons
Topic: nthng
Replies: 4
Views: 3472

Re: Free Room Background

Nice! Thanks for sharing.
by trekopedia
Thu Oct 05, 2017 4:29 pm
Forum: Ren'Py Questions and Announcements
Topic: "$ sin_points += 1" not working
Replies: 4
Views: 571

Re: "$ sin_points += 1" not working

LOL. I posted right after you... disregard!
by trekopedia
Thu Oct 05, 2017 4:28 pm
Forum: Ren'Py Questions and Announcements
Topic: "$ sin_points += 1" not working
Replies: 4
Views: 571

Re: "$ sin_points += 1" not working

The problem has to be with something you aren't showing in your code examples. A good way to deal with an issue is to try to isolate the problem entirely to determine if your core code is working. Then you can steadily eliminate possibilities. Try creating a new project with the entire script as fol...
by trekopedia
Tue Oct 03, 2017 11:23 pm
Forum: Asset Creation: Writing
Topic: Too many sad backstories???
Replies: 6
Views: 1981

Re: Too many sad backstories???

That can happen easily sometimes. My suggestion is to pick a character -any character for this purpose- and then select one or two positive aspects / characteristics of that character. Now go through your plot / storyline in the mindset of that character , holding the selected aspects / characterist...
by trekopedia
Tue Oct 03, 2017 10:38 pm
Forum: Ren'Py Questions and Announcements
Topic: MacOS distribution not working?
Replies: 5
Views: 1831

Re: MacOS distribution not working?

The version number on the app (download file) wasn't updated but the issue seems to be resolved. I tested saving to different slots and also tried loading; both worked fine.
by trekopedia
Tue Oct 03, 2017 10:29 pm
Forum: Creative Commons
Topic: Free Music/SFX Resource - Over 2000 Tracks
Replies: 462
Views: 1230927

Re: Free Music Resource

I really like "Strangeness" (and the other tracks on that page, especially "They're Closing In") -- very creative and interesting. Thanks for sharing your work!
by trekopedia
Tue Oct 03, 2017 12:01 pm
Forum: Ren'Py Questions and Announcements
Topic: MacOS distribution not working?
Replies: 5
Views: 1831

Re: MacOS distribution not working?

Hi. I just tried your game on my Mac and received the same error. Traceback looks identical to what you posted. Error happened as soon as I clicked on the save slot (for clarity, not when I clicked on the Save menu option, but on the save slot itself). I'm running MacOS Sierra 10.12.6. If there is a...