Game slowdown
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 10
- Joined: Thu Dec 06, 2018 12:25 pm
- Contact:
Game slowdown
Hello, this is more of a internal question than a problem, but I am curious if there is a slowdown or a noticeable pause when in a one click you would change 1000 or more variables from True to False and vice versa.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Game slowdown
Yes, it will, but why on earth do you have so many variables and need to edit them all with a single button press?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 10
- Joined: Thu Dec 06, 2018 12:25 pm
- Contact:
Re: Game slowdown
Well, I don't have that many variables, I was just asking hypothetically. But thank you for the answer.
Re: Game slowdown
Basically, the more Python or Ren’py code that has to execute in response to an event, the longer the interface will “freeze” before doing the next update. That’s common sense. Whether that freeze is long enough to be noticed by the user is a separate question - that’s going to depend on how MUCH code as well as the performance of the platform the player is on.
Who is online
Users browsing this forum: Karrion