Game slowdown

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
SteelRazer
Newbie
Posts: 10
Joined: Thu Dec 06, 2018 12:25 pm
Contact:

Game slowdown

#1 Post by SteelRazer » Wed Dec 12, 2018 3:41 pm

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.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Game slowdown

#2 Post by Imperf3kt » Wed Dec 12, 2018 4:37 pm

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
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

SteelRazer
Newbie
Posts: 10
Joined: Thu Dec 06, 2018 12:25 pm
Contact:

Re: Game slowdown

#3 Post by SteelRazer » Thu Dec 13, 2018 3:21 am

Well, I don't have that many variables, I was just asking hypothetically. But thank you for the answer.

rames44
Veteran
Posts: 232
Joined: Sun May 29, 2016 4:38 pm
Contact:

Re: Game slowdown

#4 Post by rames44 » Thu Dec 13, 2018 2:36 pm

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.

Post Reply

Who is online

Users browsing this forum: Google [Bot], span4ev