Search found 286 matches

by RicharDann
Tue Apr 20, 2021 9:47 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling button/screens
Replies: 4
Views: 486

Re: Disabling button/screens

Sadly, I'm not able to make it work. Sensitive seems to be working for me. How did you declare allowInteraction variable? You should declare it with default statement and outside of a label. You can also try SensitiveIf() . Here's the code I used to test. default allowInteraction = 0 screen test: f...
by RicharDann
Fri Apr 16, 2021 3:19 pm
Forum: Creator Discussion
Topic: Chapter vs. Whole Game Release
Replies: 9
Views: 4928

Re: Chapter vs. Whole Game Release

This is something I've been considering myself. So far I'm all for releasing the complete game, even if it takes longer. The reason is pretty much what's been described above. There are certainly advantages to updating your game periodically or making multi-part games, but as a player I'm not often ...
by RicharDann
Fri Apr 16, 2021 10:05 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling button/screens
Replies: 4
Views: 486

Re: Disabling button/screens

Try using the sensitive property of button : imagebutton: xpos 202 ypos 750 idle "cauldron.png" hover "cauldronbright.png" sensitive allowInteraction == 1 action Jump("cauldronSelected") Or If() screen action: imagebutton: xpos 202 ypos 750 idle "cauldron.png"...
by RicharDann
Thu Apr 15, 2021 2:49 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError: global name 'name' is not defined
Replies: 15
Views: 1433

Re: NameError: global name 'name' is not defined

NameError: global name 'name' not defined means that somewhere in your code, before that if statement is called, there should exist a variable called name . The error message is pointing at an if statement that's trying to reference that variable's value but cannot find it. Are you sure that name i...
by RicharDann
Fri Mar 26, 2021 1:32 pm
Forum: Creator Discussion
Topic: Recommended Text Editor (other than Atom)
Replies: 5
Views: 5587

Re: Recommended Text Editor (other than Atom)

Sublime is very good, but I personally use Visual Studio Code.

It's free, lightweight (for me it takes much less time to load than Atom), supports version control and it has a free Ren'Py language extension, though it might not be updated as regularly as the officially supported IDEs.
by RicharDann
Thu Mar 25, 2021 7:49 am
Forum: Ren'Py Questions and Announcements
Topic: Positional Arguments Not Working For Screen
Replies: 2
Views: 543

Re: Positional Arguments Not Working For Screen

Try wrapping everything inside a frame (or a fixed), and set the alignment on that frame. For example:

Code: Select all

frame:
    xalign .5
    yalign .5
    hbox:
        xmaximum 1920
        ymaximum 1080
        #Character details   
by RicharDann
Fri Mar 05, 2021 10:08 am
Forum: Ren'Py Questions and Announcements
Topic: Credit where credit is due?
Replies: 2
Views: 418

Re: Credit where credit is due?

You can find the "about" screen in screens.rpy file in your project's folder. Search for:

Code: Select all

screen about():
It's a normal screen, you just can edit the vbox there and add your credits inside with more text statements.
by RicharDann
Fri Feb 26, 2021 10:45 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] using a function inside a label
Replies: 2
Views: 371

Re: using a function inside a label

You should define the function in an init python block, outside of a label.

Code: Select all

init python:
    def hidescreens():
        #(...)
The python block (without the init) is used to run python code from inside a label, but I'm not sure it allows for function definition.
by RicharDann
Tue Feb 23, 2021 11:16 am
Forum: Ren'Py Questions and Announcements
Topic: Any list of up to date Ren'py frameworks & code snippets, so we don't have to reinvent the wheel constantly?
Replies: 4
Views: 2162

Re: Any list of up to date Ren'py frameworks & code snippets, so we don't have to reinvent the wheel constantly?

There are no up-to-date and beginner-friendly navigation systems that I know of, the newest one dates to something like 2015-2017, but I think it might still work. I'm currently working on my own, I might release to the cookbook if I determine it is useful, but these are more complicated than it see...
by RicharDann
Fri Feb 19, 2021 12:54 pm
Forum: Creator Discussion
Topic: Directing Scenes With Too Many (or Too Few) Characters
Replies: 4
Views: 5051

Re: Directing Scenes With Too Many (or Too Few) Characters

I don't think having characters speaking off-screen is a bad thing. I agree that player's focus is more likely to be on the dialogue that in the camera and sprites. That's not to say you shouldn't care about the sprites and the camera, as it can be a nice touch to animate it as long as its consistan...
by RicharDann
Fri Feb 19, 2021 12:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Get syntax error. Why?
Replies: 3
Views: 377

Re: Get syntax error. Why?

You're trying to run a say statement from an init python block. You need to use renpy.say(), the statement equivalent function instead for it to work in python.
Instead of:

Code: Select all

cr 'wallet_size error!'
Use:

Code: Select all

renpy.say(cr, "wallet_size error!")
by RicharDann
Tue Feb 16, 2021 3:05 pm
Forum: Ren'Py Questions and Announcements
Topic: What is an "interaction"?
Replies: 13
Views: 2027

Re: What is an "interaction"?

DISCLAIMER: I'm not 100% sure about this, as I haven't been able to find relevant documentation. I edited my first post a bit to clarify the wording, but in this case, a context is sort of like a mode, a particular state the program enters depending if you're calling a screen, invoking a pause or st...
by RicharDann
Tue Feb 16, 2021 2:02 pm
Forum: Ren'Py Questions and Announcements
Topic: What is an "interaction"?
Replies: 13
Views: 2027

Re: What is an "interaction"?

I don't know the exact internal specifics for this, but as far as I understand it (hope I'm not wrong), an interaction occurs any time Ren'Py is waiting for input from the player. Clicking on a Menu button, advancing the dialogue text by clicking or pressing enter, anytime the player has to "in...
by RicharDann
Tue Feb 09, 2021 9:34 am
Forum: Ren'Py Questions and Announcements
Topic: Call Screen with hyperlink instead of show
Replies: 2
Views: 347

Re: Call Screen with hyperlink instead of show

Is there a way to force the hyperlink to call the screen instead of show? If not, any other suggestions as to how to get the quick_menu to hide with a hyperlink? Try using showmenu instead of show for the hyperlink argument. "I have {a=showmenu:info}info{/a} for you." If it doesn't work, ...
by RicharDann
Mon Feb 08, 2021 3:47 pm
Forum: Works in Progress
Topic: [EPISODE 2 RELEASE] Guilty Parade [Point & Click][Detective | War | Mystery]
Replies: 54
Views: 11075

Re: [EPISODE 2 RELEASE] Guilty Parade [Point & Click][Detective | War | Mystery]

This is an amazing game! Beautiful art, an intriguing and enganging story, unique characters, and great music. The first is episode one of the best demo episodes I've ever had the pleasure to play, really well written and structured. Great job so far, I'm really looking forward to future episodes!