Search found 5 matches

by Lacha
Sat Apr 27, 2024 10:48 am
Forum: Ren'Py Questions and Announcements
Topic: Making an imagebutton move from within python function
Replies: 0
Views: 64

Making an imagebutton move from within python function

Hello everyone, I'm working on a minigame where you can move cars by clicking them. It all works pretty fine, but instead of moving around, the cars just change position. I am basically done with this game, but I want to make it look better. I defined the cars to move as imagebuttons facing the corr...
by Lacha
Mon Mar 18, 2024 8:32 am
Forum: Ren'Py Questions and Announcements
Topic: Reloading the game resets my python Classes
Replies: 9
Views: 344

Re: Reloading the game resets my python Classes

Hello everyone, I finally found some time to work over the class and put in some of your helpful hints. default characters = [ Person("tapsin", "Tapsin", 19, 100, 100, 1), Person("cira", "Kira", 26, 100, 100, 5) ] init python: def notify(output): renpy.transit...
by Lacha
Thu Mar 07, 2024 12:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Reloading the game resets my python Classes
Replies: 9
Views: 344

Re: Reloading the game resets my python Classes

Hello and first of all: Thank you for your replies. I have not seen @jeffster s reply before I wrote my first reply. I am sorry, I didn't mean to be rude. I just didn't notice. Both of you helped me really good to understand how renpy works. I must say: I have read the renpy documentation but didn't...
by Lacha
Wed Mar 06, 2024 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Reloading the game resets my python Classes
Replies: 9
Views: 344

Re: Reloading the game resets my python Classes

Well... It kept me busy and I found out what was the problem. It wasn't that renpy undid the girls variables... it was in the way I tried to access them... When defined, I saved all of them in a list. And I was going to access them while iterating through that list. It was the list that was reset to...
by Lacha
Wed Mar 06, 2024 12:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Reloading the game resets my python Classes
Replies: 9
Views: 344

Reloading the game resets my python Classes

Hello everybody. I am new to this forum. That is mainly because in the past I didn't encounter a problem I wasn't able to solve by myself. I am writing my first visual novel with renpy, but not the first program. I am encountering a problem lately and I was able to figure out why this happens, but n...