Kain Nobel
Member
Good day everybody!
What is the easiest workaround to BIG refresh methods... like, in my situation, my Advanced Debug Menu draws every switch/variable in its own page, but changing their value requires clearing EVERYTHING and redrawing it again, and again, and again while the value is being changed.
Well, since the switch/variable Names and ID's don't change, they don't need to be redrawn, or cleared, during the process of changing a value, only the value itself needs to be redrawn. Sure, if all 5000 were showing, there'd still be some kinda lag maybe, but it would be greatly reduced by not having to redraw the non-changing items. I've split the methods up, between drawing the text for things such as switch names, variable names, actor settings, player settings, etc. and their respective values... but when it all comes down to it, it still leads to a self.contents.clear and everything has to be redrawn again anyway.
So, what would you suggest to workaround not refreshing the stuff that doesn't need to be refreshed, and refreshing their modified values only? It wouldn't be a big deal, except changing one variable in 5000 would be a time consuming process as all 5000 are redrawn each time the value of ONE variable is changed.
What is the easiest workaround to BIG refresh methods... like, in my situation, my Advanced Debug Menu draws every switch/variable in its own page, but changing their value requires clearing EVERYTHING and redrawing it again, and again, and again while the value is being changed.
Well, since the switch/variable Names and ID's don't change, they don't need to be redrawn, or cleared, during the process of changing a value, only the value itself needs to be redrawn. Sure, if all 5000 were showing, there'd still be some kinda lag maybe, but it would be greatly reduced by not having to redraw the non-changing items. I've split the methods up, between drawing the text for things such as switch names, variable names, actor settings, player settings, etc. and their respective values... but when it all comes down to it, it still leads to a self.contents.clear and everything has to be redrawn again anyway.
So, what would you suggest to workaround not refreshing the stuff that doesn't need to be refreshed, and refreshing their modified values only? It wouldn't be a big deal, except changing one variable in 5000 would be a time consuming process as all 5000 are redrawn each time the value of ONE variable is changed.