Search found 3785 matches

by Imperf3kt
Sun May 19, 2024 11:08 am
Forum: Ren'Py Questions and Announcements
Topic: Need help creating an undo function for drawing function
Replies: 6
Views: 268

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: 170

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: Need help creating an undo function for drawing function
Replies: 6
Views: 268

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: Need help creating an undo function for drawing function
Replies: 6
Views: 268

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: Need help creating an undo function for drawing function
Replies: 6
Views: 268

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: 1364

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: 165

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: 131

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: 223

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: 213

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: 768

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: 364

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
by Imperf3kt
Sat Apr 20, 2024 1:57 am
Forum: Ren'Py Questions and Announcements
Topic: No module named 'renpy.display.scenelists'
Replies: 3
Views: 326

Re: No module named 'renpy.display.scenelists'

mold.FF wrote: Fri Apr 19, 2024 9:58 am The idea is that the player plays without saves, and in some cases, they have the option to "exit the game" - in this case, upon the next launch, the game will start from a special label.
Would a persistent variable and the before_main_menu label work for you?
by Imperf3kt
Sun Apr 14, 2024 1:49 am
Forum: Development of Ren'Py
Topic: [special char interpolation]What am I missing?
Replies: 4
Views: 768

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

If I understand you correctly... try it this way label start: "some test." jump somelabel label test (mess): "[mess]." return label somelabel: $renpy.call ("test", str("% problem")) "test successful." return You could also achieve it this way default...
by Imperf3kt
Sat Apr 13, 2024 6:31 am
Forum: Ren'Py Questions and Announcements
Topic: Empty textbox shows up while using renpy.pause()
Replies: 5
Views: 465

Re: Empty textbox shows up while using renpy.pause()

I wasn't aware Ren'Py said that when you tried to install Atom. I have never had an issue with it myself. YMMV I guess.

I don't know what to say about the window issue, I tested it my end before suggesting it, it works as intended for me.
Perhaps there is some other reason the window is not hiding.