Search found 13 matches

by lewishunter
Mon Jul 11, 2022 2:59 pm
Forum: We are offering Paid Work
Topic: [OPEN] [PAID] Need Programmer to create an archive system for Ren'Py 8
Replies: 0
Views: 1161

[OPEN] [PAID] Need Programmer to create an archive system for Ren'Py 8

I want to commision a private archive system for Renpy 8 that cannot be decompiled by current de-packers such as Unren.bat 0.13 , depack.rpy , unrpa , etc. This archive system needs to coexists with the current .rpa system, using a different name (example: .data), so I can decide when to use it. I d...
by lewishunter
Wed Jan 12, 2022 7:42 am
Forum: Ren'Py Questions and Announcements
Topic: How to execute this Python code using button action?
Replies: 11
Views: 2805

Re: How to execute this Python code using button action?

About news.rpy it should be noted that any Python libraries that comes with it are now included inside Ren'Py so you can delete them (but make sure you delete the verify arguments and any code that ckecks for certifi in those libraries)
by lewishunter
Sat Jan 08, 2022 4:23 am
Forum: Ren'Py Cookbook
Topic: Continue button
Replies: 1
Views: 1720

Re: Continue button

I think I found a way to make It simpler. This way It becomes an action following Ren'Py guidelines. init -999 python: def newest_slot_tuple(): """ Returns a tuple with the newest slot page and name. """ newest = renpy.newest_slot() if newest is not None: page, name = n...
by lewishunter
Fri Jan 07, 2022 11:49 pm
Forum: Ren'Py Cookbook
Topic: button "Continue game"
Replies: 11
Views: 11168

Re: button "Continue game"

This one is actually not working when there is no file (because we delete them all). Finnaly, I used this : $lastsave=renpy.newest_slot(r"\d+") if lastsave is not None: $ name, page = lastsave.split("-") textbutton _("Continue") action FileLoad(name, page) Don't know i...
by lewishunter
Fri Jan 07, 2022 2:36 am
Forum: Ren'Py Cookbook
Topic: How to enable Python 3 mode in Ren'Py 7.4
Replies: 0
Views: 5959

How to enable Python 3 mode in Ren'Py 7.4

As Ren'Py 8 (Python 3) is kinda already a thing, at least in the nightlies (test versions basically), I think that some users may want to start porting their current projects. I know this is old news (since 7.4.0) but I know that getting all the info is difficult for a newbie. So i am gonna make it ...
by lewishunter
Thu Jan 06, 2022 2:27 am
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton behavior when clicked
Replies: 17
Views: 7226

Re: Imagebutton behavior when clicked

The run_action function should be replaced with the renpy.run function because it does the same and the except syntax may not work on Python 3: Erase this: def run_action(action): try: for a in action: run_action(a) except TypeError, te: action() And replace this line in here: def event(self, ev, x,...
by lewishunter
Sun Dec 19, 2021 2:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton behavior when clicked
Replies: 17
Views: 7226

Re: Imagebutton behavior when clicked

I did it! This was irritating only because I forgot to implement a crucial part of the UDD interface: init python: def run_action(action): try: for a in action: run_action(a) except TypeError, te: action() class Keymapper(renpy.Displayable): def __init__(self, vargs, child, **kwargs): super(Keymapp...
by lewishunter
Fri Dec 17, 2021 6:14 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make a master volume slider? [SOLVED]
Replies: 7
Views: 2324

Re: How to make a master volume slider? [SOLVED]

Still buggy.

The last code posted indeed works but the volume resets to 1.0 when reloading the game or returning to the main menu from the game. And I also found it not working when quickly clicking a button (it makes the button sound even if the vol its 0).

Would be nice a clean master volume.
by lewishunter
Fri Oct 15, 2021 9:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] {nw} but dialog stays onscreen?
Replies: 4
Views: 532

Re: [SOLVED] {nw} but dialog stays onscreen?

There is a better way than writing that each time: define config.say_attribute_transition_layer = 'master' This works by applying the attribute transition to the master layer only (or other if you want) thus avoiding applying it to the dialogue layer (screen layer). You can change the layers too. Ch...
by lewishunter
Fri Oct 15, 2021 9:42 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 608092

Re: Ren'Py Gripes

It's not a bug. I changed it doing this: define config.say_attribute_transition_layer = 'master' This works by applying the attribute transition to the master layer only (or other if you want) thus avoiding applying it to the dialogue layer (screen layer). You can change the layers too. Check the do...
by lewishunter
Thu Sep 02, 2021 9:14 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 608092

Re: Ren'Py Gripes

A PRESSED STATE FOR BUTTONS. I realized that the lack of a pressed state for buttons (like many software and OS. e.g. Windows) makes Ren'Py feel somewhat unresponsive to the user, giving it an 'amateurish' feel. It would be grate writing something like "pressed" or the "selected"...
by lewishunter
Sat Aug 28, 2021 12:44 am
Forum: Development of Ren'Py
Topic: [Bug] Auto-Forward Time bar freezes when inverted
Replies: 0
Views: 3895

[Bug] Auto-Forward Time bar freezes when inverted

The Auto-Forward Time bar's thumb gets stuck sometimes when moved if bar_invert is True. To replicate: - Drop the attached folder to the Ren'Py directory or create a new 1080p Ren'Py project, open screens.rpy and add bar_invert True like this: bar value Preference("auto-forward time") bar_...
by lewishunter
Sun Aug 01, 2021 8:20 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 608092

Re: Ren'Py Gripes

Hi! I am using the gui.text_properties() and gui.button_properties () documented in https://www.renpy.org/dev-doc/html/gui_advanced.html?highlight=gui I would like if this functions could return all the properties (ike position) instead of only standart style properties. This way the code would look...