Search found 286 matches
- Tue Dec 01, 2020 12:44 pm
- Forum: Ren'Py Cookbook
- Topic: BEST of Cookbook (working)
- Replies: 6
- Views: 5724
Re: BEST of Cookbook (working)
FOR RENPY: 7.3 This is a good initiative. Sometimes it's hard to tell how something really works without a demo or pictures, or if it will work at all, specially for older recipes that might have become incompatible with new versions of Ren'Py. I was wary of the Dating Sim Engine, but as it turns o...
- Sun Nov 29, 2020 10:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.4.0 Prereleased
- Replies: 61
- Views: 14671
Re: Ren'Py 7.4.0 Prereleased
PyTom> Thank you, I can confirm at least that in 1028 the encoding problems I previously experienced have been fixed on my system. However, I found another small bug. When removing an optional attribute from a shown layered image with the minus operator, this error is thrown: I'm sorry, but an uncau...
- Thu Nov 26, 2020 10:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: renpy.return from screen
- Replies: 9
- Views: 2162
Re: renpy.return from screen
By the way. Is there a way to know what my screen returned? hell_oh_world already demonstrated it, but there's a built-in special variable called _return that automatically stores whatever is returned from a screen or a return statement. label start: call screen test "Continuation... Return va...
- Wed Nov 25, 2020 1:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: UDD and the animation.
- Replies: 4
- Views: 572
Re: UDD and the animation.
I'm not familiar with creator-defined displayables, as for now they seem too complicated for me, but as it happens I've been experimenting as I need something similar for my game, and so far I think this could be done with variables and screens. There is just one little problem. Here's an example: s...
- Mon Nov 23, 2020 12:58 pm
- Forum: Creator Discussion
- Topic: What's more fun: few characters, or many characters?
- Replies: 14
- Views: 4513
Re: What's more fun: few characters, or many characters?
'Fun' is perhaps a concept that many people interpret their own way, but I have seen both types (with a lot of characters, or just a few) done well. Adding more characters requires more effort, but is what many visual novels stride for. In dating sims, or more broadly romance visual novels, for exam...
- Fri Nov 20, 2020 10:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Changing Sprites in-game
- Replies: 19
- Views: 2138
Re: Changing Sprites in-game
The problem is possible if the game is updated and the new version defines a new variable after label start . So if we try to load the save file from the previous version we can catch the error: the variable does not exist. Did you mean this error? Or, am I missing much more :oops:? I am trying to ...
- Thu Nov 19, 2020 2:34 pm
- Forum: Asset Creation: Writing
- Topic: How to structure dialogue scripts and events to make it easier for someone to code into Ren'py?
- Replies: 2
- Views: 6087
Re: How to structure dialogue scripts and events to make it easier for someone to code into Ren'py?
This is something you need to discuss with the programmer himself, as there is no one true perfect way to convert a story script into code and as Imperf3kt stated above, everyone has their own preference. You should aim for a style both of you find easy to understand and are comfortable to work with...
- Thu Nov 19, 2020 10:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.4.0 Prereleased
- Replies: 61
- Views: 14671
Re: Ren'Py 7.4.0 Prereleased
7.4.0.1006) The second prerelease focuses on a lot of bug fixes, including: * There is a fix when running on paths with an encoding that isn't shipped with Ren'Py. This was the problem with Cyrillic paths described above. Thank you PyTom, sorry for being such a bother but I'm afraid that still ther...
- Mon Nov 16, 2020 5:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Total playtime in quit menu
- Replies: 12
- Views: 1083
Re: Total playtime in quit menu
I just tested it, it does throw a NameError: global name 'datetime' is not defined. Importing datetime in an init python block in any rpy file does seem to fix that particular issue.
- Mon Nov 16, 2020 3:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Total playtime in quit menu
- Replies: 12
- Views: 1083
Re: Total playtime in quit menu
It will be more helpful if you post your code between [code] and [/code] tags, this way it keeps identation and we can quickly copy/paste it to test for problems. What error are you getting or what is not working as expected? I don't see you importing the datetime module so that might be the cause. ...
- Thu Nov 12, 2020 1:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Menu Coding Trouble - Syntax Error [solved]
- Replies: 5
- Views: 438
Re: Menu Coding Trouble - Syntax Error
If you look at the traceback and the description of the error, it usually points to the specific line number where the error occurred. In the first case it was in line 263 of your script.rpy file. If you use a text editor like Atom you can see the lines numbered usually to the left to help you quick...
- Thu Nov 12, 2020 12:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: im.MatrixColor changing hue value on a DynamicImage?
- Replies: 5
- Views: 2764
Re: im.MatrixColor changing hue value on a DynamicImage?
When Ren'Py 7.4 is released, there's a new matrixcolor ATL property that should work better for this.
Code: Select all
# This must be enabled for matrixcolor to work
define config.gl2 = True
image test = "test_base.png"
label start:
show test:
matrixcolor HueMatrix(20)
- Thu Nov 12, 2020 12:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Menu Coding Trouble - Syntax Error [solved]
- Replies: 5
- Views: 438
Re: Menu Coding Trouble - Syntax Error
This expression: "Knowledge on Animals & Plants" if homeworld = "planet": Should be: "Knowledge on Animals & Plants" if homeworld == "planet": #should use == sign instead of = In python, one equal sign (=) is used only for assigning values, for example...
- Wed Nov 11, 2020 4:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] What is the proper way to use styles and style_prefix
- Replies: 2
- Views: 700
Re: What is the proper way to use styles and style_prefix
Ah, I see what I did wrong. I incorrectly assumed textbutton was a separate element from button, when it is actually just a button with a text label.
Thank you so much for your help!
Thank you so much for your help!
- Wed Nov 11, 2020 4:18 pm
- Forum: Creator Discussion
- Topic: Visual novels and "Interactivity"
- Replies: 7
- Views: 5172
Re: Visual novels and "Interactivity"
So here's the question, do you think interactivity as an important part of visual novel ? Why ? To some extent, yes. I mostly prefer to have impactful choices or other kinds of interactivity. Though if you add too much interactivity, your game becomes less of a visual novel and towards other genres...