Search found 3788 matches

by Imperf3kt
Tue May 21, 2024 4:17 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Game is stuck in a Screen scene?
Replies: 5
Views: 155

Re: Game is stuck in a Screen scene?

I wouldn't bother with any of that, just don't call the screen, instead use show screen.

Code: Select all

label start:

    scene credits
    show screen discord_hover
by Imperf3kt
Mon May 20, 2024 8:31 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need help creating an undo function for drawing function
Replies: 7
Views: 325

Re: [Solved] Need help creating an undo function for drawing function

Okay, I went over everything again, something had to be wrong that I just wasn't catching and it turns out there was one extra space on line 169 if self.children: self.old_children = self.children Should be if self.children: self.old_children = self.children Thank you again for the help. This had me...
by Imperf3kt
Mon May 20, 2024 1:49 am
Forum: Ren'Py Questions and Announcements
Topic: Problems updating certain projects to Renpy 8 from Renpy ~7.5
Replies: 7
Views: 404

Re: Problems updating certain projects to Renpy 8 from Renpy ~7.5

If I understand the explanation given, you're trying to sort a dictionary action If (i == -1, SetDict(numbers_buttons[each_b["b_number"] ], "b_to_show", False), If (numbers_buttons[i]["b_to_show"] == False, SetDict(numbers_buttons[each_b["b_number"] ], "b...
by Imperf3kt
Sun May 19, 2024 11:08 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need help creating an undo function for drawing function
Replies: 7
Views: 325

Re: Need help creating an undo function for drawing function

Yes, I tried twice with a brand new project and it doesn't do anything for me.

I have no idea how to check if the buttons are creating an event, how could I do that?
by Imperf3kt
Sat May 18, 2024 12:56 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Possible to Restrict Dragging Object Direction or Contain in Set Area
Replies: 4
Views: 230

Re: Possible to Restrict Dragging Object Direction or Contain in Set Area

You could adjust the drag_offscreen property to limit the active area of the drag object
by Imperf3kt
Sat May 18, 2024 12:54 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need help creating an undo function for drawing function
Replies: 7
Views: 325

Re: Need help creating an undo function for drawing function

I stripped the code down to the drawing function only, called the screen in a brand new project, and still get the same result. I'm not sure how things work since it isn't my own code and I'm not familiar enough with the things used in it, so I'm probably just going to accept I won't have undo / red...
by Imperf3kt
Wed May 15, 2024 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need help creating an undo function for drawing function
Replies: 7
Views: 325

Re: Need help creating an undo function for drawing function

Can anybody help me understand what I am missing? I mean it works for me, but your redo function has a bug, you want to add your old children to the list of children, not the old children again. ;) Oops, just a simple copying error when making my post. Thank you for taking the time to look into thi...
by Imperf3kt
Wed May 15, 2024 5:43 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Need help creating an undo function for drawing function
Replies: 7
Views: 325

[Solved] Need help creating an undo function for drawing function

I'm using this code to add the ability to draw to my project https://github.com/jsfehler/renpy-freehand-draw This works fairly well, has minimal bugs and generally does what I need of it, however I would like to have an undo / redo function I edited the files to include the following under the Freeh...
by Imperf3kt
Tue May 14, 2024 4:48 pm
Forum: Creator Discussion
Topic: NaNoRenO ended.
Replies: 5
Views: 1464

Re: NaNoRenO ended.

I feel like a significant portion of the discussion these forums once had has shifted over to the discord server, leaving this for more of a technical help catalogue
by Imperf3kt
Tue May 14, 2024 12:59 am
Forum: Ren'Py Questions and Announcements
Topic: Is it even possible playing 60fps videos?
Replies: 1
Views: 173

Re: Is it even possible playing 60fps videos?

This would be a question for the software you use to produce the video. webm is just a container (it stands for Web media file btw) Typically, you will encode the video in a format such as vp8 or vp9 and that gets muxed into the webm file along with any audio you include and a header plus some meta ...
by Imperf3kt
Sat May 11, 2024 2:36 am
Forum: Ren'Py Questions and Announcements
Topic: Screenshot and download BUTTON
Replies: 1
Views: 138

Re: Screenshot and download BUTTON

Press S (by default) to take a screenshot

However, for a few reasons, this might not be entirely useful, so I suggest checking out how to crop the image to only what you want
viewtopic.php?p=542074#p542074
by Imperf3kt
Wed May 08, 2024 7:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Want to add text to a (image)button
Replies: 6
Views: 251

Re: Want to add text to a (image)button

You can use hover_foreground and idle _foreground states to define a text element over an imagebutton I use this often with a bunch of classes to input data for hundreds of objects using a simple for loop Something like this imagebutton: idle "an image" hover_foreground Text(_(""...
by Imperf3kt
Tue Apr 30, 2024 5:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Trouble Iterating Loop
Replies: 4
Views: 246

Re: Trouble Iterating Loop

I think it's because you have a pause as part of your choice block, taking it back one indentation should fix it image mainmenumv = Movie(play = "images/mainmenuvid.ogv") define spotlight_list = spotlight_shuffle() $ i = 0 image mainmenubg: choice: spotlight_list[i % 100] with Dissolve(1.0...
by Imperf3kt
Tue Apr 23, 2024 8:24 pm
Forum: Development of Ren'Py
Topic: [special char interpolation]What am I missing?
Replies: 4
Views: 786

Re: [special char interpolation]What am I missing?

You could try the discord.

I've never used renpy.say so I have no experience with it
by Imperf3kt
Tue Apr 23, 2024 8:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Two animation questions
Replies: 2
Views: 404

Re: Two animation questions

I haven't got an answer for you, but just wanted to point out that buttons changing size while hovered causes some funky behaviour while your cursor is near the edge and depending on how bad it is, can cause flickering that may trigger responses from epileptics