renpy

Ren'Py : ModuleNotFoundError: No module named 'netrc'

Ren'Py : ModuleNotFoundError: No module named 'netrc' Question: Trying to plug openai’s API to Ren’Py (to make characters answer to the player) I installed the openai python module in Ren’Py using this pip command : pip install –target /Users/…../GameName/game/python-packages netrc And then inside the game I use this to import the module (as expalined in …

Total answers: 3

Using for loop variable on a getattr() function

Using for loop variable on a getattr() function Question: I have a class Person with the attributes name and level class Person: def __init__(self, name, level): self.name = name self.level = level let’s say i have a bunch of objects from that class with different attributes p1 = Person("person1", "5") p2 = Person("person2", "10") p3 …

Total answers: 2

I'm having problems getting RenPy Language extension to work

I'm having problems getting RenPy Language extension to work Question: I’m new to both RenPy and VSC so I might be doing something wrong but the RenPy Language extension doesn’t work for me for some reason. All of the syntax comes up as error and it seems to me that the problem might be that …

Total answers: 2