Search found 43 matches

by goldo
Wed Dec 04, 2019 3:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Create a graph in-game to track stat changes
Replies: 3
Views: 403

Re: Create a graph in-game to track stat changes

Thank you, I will look into this! Sorry for my late reply
by goldo
Sun Oct 27, 2019 6:28 am
Forum: Ren'Py Questions and Announcements
Topic: Create a graph in-game to track stat changes
Replies: 3
Views: 403

Create a graph in-game to track stat changes

Hi guys, Perhaps this is asking a bit too much of Ren'py, but my experience is that many things are possible combining it with Python so I'll ask. I would like to have a 'stat' screen in-game rendering the evolution of a given stat so far as a curve. For instance, in the game the player is able to m...
by goldo
Sun Jul 21, 2019 12:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Activate button on press (not release)
Replies: 8
Views: 653

Re: Activate button on press (not release)

Hi guys, I'm happy to report I found a way, it's actually surprisingly easy. Before running the mini-game, I use this code to change button behavior: $ config.keymap['button_ignore'] = [] $ config.keymap['button_select'] = ['mousedown_1', 'K_RETURN', 'K_KP_ENTER', 'K_SELECT'] Then, after the mini-ga...
by goldo
Sat Jul 13, 2019 6:37 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Activate button on press (not release)
Replies: 8
Views: 653

Re: Activate button on press (not release)

Hi guys, still trying to work on a solution. Do you know if it's possible to create a renpy button as an object and store it as a variable? Then, could I ask that object for its coordinates at a point in time? The logic would be like: buttons = [button1, button2, ...] while running: --- make buttons...
by goldo
Fri Jul 12, 2019 6:49 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Activate button on press (not release)
Replies: 8
Views: 653

Re: Activate button on press (not release)

You could always use imagebuttons, you can move those and they can be clicked on even while moving with no need to track position. Yeah but so do normal buttons, I am back to my original problem which is how to click them when the button is pressed, not released. I am thinking I might look in a dif...
by goldo
Sun Jul 07, 2019 1:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Activate button on press (not release)
Replies: 8
Views: 653

Re: Activate button on press (not release)

Thanks! It is a kind of duck hunt type game. Branching to a jump will not be practical as I will have several moving buttons that must keep running at once, but I guess a Function would work just as well. The only problem is: how can I get the button's coordinates at the time of clicking to make sur...
by goldo
Sun Jul 07, 2019 9:09 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Activate button on press (not release)
Replies: 8
Views: 653

[Solved] Activate button on press (not release)

Hi everyone, I am making a minigame where the player must click on a moving button. However, the clicking only 'happens' upon releasing the mouse button, not pressing it down, which leads to player frustration as they have to release it really quick or nothing happens. It also leads to a strange sit...
by goldo
Sun Jun 02, 2019 4:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Ignore directory when building distribution
Replies: 4
Views: 442

Re: Ignore directory when building distribution

Thanks, I guess I could do that for every file type, but why doesn't this work:

Code: Select all

build.classify('ignore/**.**', None)
Also, it would leave behind all the empty subfolders, correct? I wish I could just skip everything that's in ignore including the folder itself.
by goldo
Sun Jun 02, 2019 1:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Ignore directory when building distribution
Replies: 4
Views: 442

Re: Ignore directory when building distribution

Well, the point is I want to avoid doing that everytime by using the built-in classify function.

I need the directory inside the game folder otherwise it isn't available for testing (it is a large folder with pictures, so moving it back and forth takes several minutes).
by goldo
Sun Jun 02, 2019 11:03 am
Forum: Ren'Py Questions and Announcements
Topic: Ignore directory when building distribution
Replies: 4
Views: 442

Ignore directory when building distribution

Hi guys, I have an 'ignore' directory within the game folder, with various subfolders and files that are useful for testing but not supposed to be released with the game. I must be stupid, but I cannot figure out the pattern for classifying files as 'ignore' when building a distribution. The documen...
by goldo
Sat Dec 15, 2018 10:42 am
Forum: Ren'Py Questions and Announcements
Topic: Repeating action when pressing a Button down
Replies: 0
Views: 107

Repeating action when pressing a Button down

Hi, I know how to make a key repeat an action when pressing down, such as: key "repeat_K_UP" action (Function(select_previous)) However, I also have buttons that I would like to work the same way (say, a '+' button that increases an amount the longer you press it with the mouse). I don't know that i...
by goldo
Sun Jul 29, 2018 5:15 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Easein / easeout on the overlay layer
Replies: 2
Views: 218

Re: Easein / easeout on the overlay layer

It works now! Thank you so much!!! :D
by goldo
Fri Jul 27, 2018 9:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Easein / easeout on the overlay layer
Replies: 2
Views: 218

[Solved] Easein / easeout on the overlay layer

Hi guys, So, I'm trying to have easein / easeout transitions that apply to the overlay layer. This is because I am displaying an image on top of a renpy screen (the master layer appears behind the screen so I can't use it). I want the image to enter from the left, then swipe out to the right. I alre...
by goldo
Sat Jun 09, 2018 8:47 pm
Forum: Ren'Py Questions and Announcements
Topic: CG Gallery: span_buttons and unlocked_advance not working together
Replies: 2
Views: 226

Re: CG Gallery: span_buttons and unlocked_advance not working together

Both properties seem to be handled within the show method in common/00gallery.rpy : def show(self, button=0, image=0): """ Starts showing gallery images. `button` The index of the button to start showing. """ # A list of (button, image) index pairs for all of the images we know # about. all_images =...
by goldo
Sat Jun 09, 2018 5:51 am
Forum: Ren'Py Questions and Announcements
Topic: CG Gallery: span_buttons and unlocked_advance not working together
Replies: 2
Views: 226

CG Gallery: span_buttons and unlocked_advance not working together

Hi guys, I'm trying to make a CG gallery using the Gallery object: https://www.renpy.org/doc/html/rooms.html I want every picture displayed in the gallery as buttons, and the slideshow to advance between buttons. So I'm using: span_buttons If true, the gallery will advance between buttons. I also wa...