Search found 4 matches

by bilmem
Wed May 03, 2023 5:44 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Side image problem for character created using Class
Replies: 6
Views: 594

Re: Side image problem for character created using Class

init python: class Person: def __init__(self, name, relation = 0, **kwargs): self.c = Character(name, **kwargs) self.relation = relation default e = Person("Eileen", color="#ff889c", image="eileen") As I understand it, I need to define the basic properties of the chara...
by bilmem
Tue May 02, 2023 1:02 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Side image problem for character created using Class
Replies: 6
Views: 594

Re: Side image problem for character created using Class

Ok now it display. It happened when she defined a natural image for eileen too. Actually, I tried this before, but after your suggestion, it worked now. Thanks a lot.
by bilmem
Tue May 02, 2023 12:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Side image problem for character created using Class
Replies: 6
Views: 594

Re: Side image problem for character created using Class

Thanks, I tried that but unfortunately it still didn't display. Continuing the line where I defined the characters, I defined a new character named Zet and its sideimage is displayed. But the parameters are not valid for Zet because it is not included in that class. define e = Person(Character("...
by bilmem
Tue May 02, 2023 11:07 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Side image problem for character created using Class
Replies: 6
Views: 594

[SOLVED] Side image problem for character created using Class

Hi. In the game I'm trying to write, I've been able to define characters as "define". When I write as in the first lines of the code, the character colors and side images work fine. Later I took some python lessons and now I am trying to create the characters with the class. Of course, I a...