Search found 2471 matches
- Sun Sep 02, 2018 10:53 pm
- Forum: Ren'Py Cookbook
- Topic: [Tutorial] Dynamic blur background for overlay menu like iOS
- Replies: 15
- Views: 9394
Re: [Tutorial] Dynamic blur background for overlay menu like iOS
Sorry, didn't test before posting... init python: def get_size(d): d = renpy.easy.displayable(d) w, h = d.render(0, 0, 0, 0).get_size() return int(round(w)), int(round(h)) class Blurred(renpy.Displayable): def __init__(self, child, factor=5, **kwargs): super(Blurred, self).__init__(**kwargs) self.ch...
- Thu Apr 26, 2018 4:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Website link
- Replies: 1
- Views: 614
Re: Website link
Code: Select all
$ OpenURL("www.my-website.com")()
- Thu Dec 07, 2017 9:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ways to Have User Navigate Rooms
- Replies: 15
- Views: 12010
Re: Ways to Have User Navigate Rooms
Screen loop just waits for user input, you use it as it is in the example whenever you wish to give a chance to the player to make a move.
- Tue Dec 05, 2017 10:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ways to Have User Navigate Rooms
- Replies: 15
- Views: 12010
Re: Ways to Have User Navigate Rooms
If you jump to a label manually (without using navigation system): "Dragon Tulip, Azur Sand and .... I don't remember!": jump test2 You should put the player in that tile: "Dragon Tulip, Azur Sand and .... I don't remember!": map.last_coords = None # Will prevent player from goin...
- Thu Nov 30, 2017 7:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Double-clicking or shift-clicking a button
- Replies: 6
- Views: 2592
Re: Double-clicking or shift-clicking a button
It's not "dirty," it's just using an undocumented method. You write a class that inherits from the Button and instantiates it in the same way. Then you copy event method from the original and try to expand it to do work as you see fit. But it's both advanced Python and Ren'Py. You could co...
- Thu Nov 30, 2017 5:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to replace the "rollback" function with your own.
- Replies: 2
- Views: 704
Re: How to replace the "rollback" function with your own.
You can overload the function or get the keybinding to do something else but what you want may not be possible. You can't just have a shown screen setting the variables that player can use at his/her leisure whenever they please and expect that to participate in Rollback. Rollback is setup to work w...
- Thu Nov 30, 2017 5:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: movie won't play
- Replies: 3
- Views: 740
Re: movie won't play
Try using WEBM format.
- Thu Nov 30, 2017 2:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Game crashing
- Replies: 3
- Views: 758
Re: Game crashing
Not a menu. This is caused by having multiple labels with the same name (including in bytecode files). This has been fixed 100% so updating the engine is something to consider.
- Thu Nov 30, 2017 2:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Glitch] ghost-narrator box popping-up between dialogue actions.
- Replies: 13
- Views: 2480
Re: [Glitch] ghost-narrator box popping-up between dialogue actions.
Really? That's weird. I usually check the links before posting to see that they're pointing to the correct content. But yeah, could be a local thing. Funny how it doesn't work using the command "window hide", as it states. It generally should work, you need to put it after the sayer or som...
- Thu Nov 30, 2017 2:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Glitch] ghost-narrator box popping-up between dialogue actions.
- Replies: 13
- Views: 2480
Re: [Glitch] ghost-narrator box popping-up between dialogue actions.
define config.window = 'hide'
It should be highlighted in yellow.
It should be highlighted in yellow.
- Thu Nov 30, 2017 2:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Glitch] ghost-narrator box popping-up between dialogue actions.
- Replies: 13
- Views: 2480
Re: [Glitch] ghost-narrator box popping-up between dialogue actions.
Did you try setting this to "hide"?
https://www.renpy.org/doc/html/config.h ... fig.window
Solves these flashing window things in 99% of all cases...
https://www.renpy.org/doc/html/config.h ... fig.window
Solves these flashing window things in 99% of all cases...
- Thu Nov 30, 2017 2:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: Double-clicking or shift-clicking a button
- Replies: 6
- Views: 2592
Re: Double-clicking or shift-clicking a button
Both are "tricky" indeed. It's not that either way is particularly challenging to implement. It's that there is no clean, smooth and intuitive way of doing so.
- Thu Nov 30, 2017 1:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Run the equivalent of window hide / window auto from within a function
- Replies: 12
- Views: 4499
- Mon Nov 13, 2017 4:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved/Explained) What Specifically is "Good Practice"?
- Replies: 10
- Views: 1425
Re: What Specifically is "Good Practice"?
It's a bit of all of the above. Write your code in compliance with PEP-8, there will be more people willing to help you if you run into issues. Keep your project well structured. Use modern tools in favor of old (screens in favor of ui., Transform/ATL in favor of Position, ATL in favor of stuff like...
- Sat Oct 07, 2017 12:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing the appearance of an already-selected choice
- Replies: 2
- Views: 770