Search found 123 matches

by jeffster
Wed May 18, 2022 10:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Plans for multiline input?
Replies: 2
Views: 320

Plans for multiline input?

I know text editing is not the most important feature in VNs, but still... Some people try to use Ren'Py as a GUI engine for their utilities. Some as IRL role-playing games assistance. And in some games actual in-game notes can be useful. So I'd like to ask Tom, are there any plans regarding editabl...
by jeffster
Fri Apr 22, 2022 12:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Using Mouse to Place the Cursor in an Input Screen
Replies: 2
Views: 318

Re: Using Mouse to Place the Cursor in an Input Screen

Ren'Py uses pygame library to show displayables and to interact with human input. You can find some "pygame text editor" online and adapt (a part of) its code for Ren'Py, making your own editable text area. Though I don't think that many players would like to input much text in a game. Maybe it woul...
by jeffster
Mon Apr 11, 2022 6:36 am
Forum: Ren'Py Questions and Announcements
Topic: (SOLVED, after much suffering) Weird Bug: Some (Not All) Input Screens Clashing with Hotkeys
Replies: 3
Views: 377

Re: Weird Bug: Some (Not All) Input Screens Clashing with Hotkeys

I haven't studied your code thoroughly but it seems that similar screens should be integrated in one screen: default mc = { "pcname": "You didn't write the name.", "appearance": "You didn't describe the appearance.", #... } screen enter_string(mc_key, prompt, maxlength = 250): $ length = len(mc[mc_k...
by jeffster
Sun Apr 10, 2022 1:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Simple indexation error
Replies: 8
Views: 421

Re: Simple indexation error

Nope. You define

Code: Select all

persistent.achievements_dict["test"]

# So you can do:

a = persistent.achievements_dict["test"]
But it's not the same as

Code: Select all

test

# So you can not do:

a = test
by jeffster
Sun Apr 10, 2022 12:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Displayable Offsets Repeating on Rollback (CDS Problem)
Replies: 7
Views: 351

Re: Displayable Offsets Repeating on Rollback (CDS Problem)

I'm not really convinced. As the documentation says, The problem not in xoffset applying several times, but in rollback not reverting changes. You can do the same with conditionally setting either xpos and ypos and finding out that after rollback both are set. I was thinking that rollback tries to ...
by jeffster
Sun Apr 10, 2022 12:03 am
Forum: Ren'Py Questions and Announcements
Topic: Displayable Offsets Repeating on Rollback (CDS Problem)
Replies: 7
Views: 351

Re: Displayable Offsets Repeating on Rollback (CDS Problem)

If the problem is about the transform iheriting some previous properties... Maybe this could help: https://www.renpy.org/doc/html/atl.html#replacing-transforms I did think that it could be something like that, but doing the same thing with the show statement manually really does work. I've tested i...
by jeffster
Sat Apr 09, 2022 8:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't read /var/mail/__future__
Replies: 7
Views: 312

Re: Can't read /var/mail/__future__

> I'll try running it on a Linux machine and see how it goes there

LOL... Are you saying you tried to run a Linux game on Windows? :D
by jeffster
Sat Apr 09, 2022 6:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't read /var/mail/__future__
Replies: 7
Views: 312

Re: Can't read /var/mail/__future__

The problem is the code needs those imports in order to do the things it tries to do.

So if you can't figure out how to repair the problem (looking in the problematic file) there is nothing to do but report the bug to the developer.
by jeffster
Sat Apr 09, 2022 5:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't read /var/mail/__future__
Replies: 7
Views: 312

Re: Can't read /var/mail/__future__

It looks like some python code tried to load some modules but didn't succeed. Look which exactly file produces that error and what's inside that file. Without details I can't say what's wrong.
by jeffster
Sat Apr 09, 2022 5:03 pm
Forum: Ren'Py Questions and Announcements
Topic: How to move an item between Inventory and Equipment system in RPG style
Replies: 1
Views: 341

Re: How to move an item between Inventory and Equipment system in RPG style

Basically there are 2 lists. (Inventory and Equipped.) Items there are represented as buttons. (The same images and tooltips in both lists.) Clicking such button should remove its item from its current list and add it to another list: default list_1 = ["item_1", "item_2"] default list_2 = [] define ...
by jeffster
Sat Apr 09, 2022 4:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Displayable Offsets Repeating on Rollback (CDS Problem)
Replies: 7
Views: 351

Re: Displayable Offsets Repeating on Rollback (CDS Problem)

If the problem is about the transform iheriting some previous properties... Maybe this could help:
https://www.renpy.org/doc/html/atl.html ... transforms
by jeffster
Sat Apr 09, 2022 3:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen to Track Number of Characters in Renpy.Input (Solved)
Replies: 3
Views: 283

Re: Screen to Track Number of Characters in Renpy.Input

Before you do the input you show a screen with the symbol count to indicate the string length. So every time the player enters a new symbol the screen updates to show the new length. I'm not sure how to show the update with "renpy.input", so I would use a screen with "input" statement: https://www.r...
by jeffster
Fri Apr 08, 2022 11:14 pm
Forum: Ren'Py Questions and Announcements
Topic: In the music room, the progress bar controls the playing time of music
Replies: 6
Views: 403

Re: In the music room, the progress bar controls the playing time of music

Hi. I think I used functions .hovered() and .unhovered() for something like mouse cursor changes or whatnot. I think the error message says that probably there are no such functions in your code. You should maybe add them or even better remove them at all. The code will be simpler. Remember, I didn'...