Blog about adult text game in development.
Humble reminder that I am a patron, and that you look lovely today!
Thank you :)
Very nice looking screen.On performance, I have noticed the latest version is a bit slow with many slaves/servants. Aside from a complete re-write, I am not sure a good solution
It wouldn't be a 'complete' rewrite, more of engine rewrite and content transaction.
Well the lag isn't bad compared to when I played free cities. So I don't think you need to worry that much. I had about 20 servants and 6 prisoners.
I referred to the screenshot. Every detail after girl's race is calculated by checking girls stats hence why page was taking about 1-2 seconds to load on my PC. And FC has LOT more calculations than strive right now, hence why I have my mind on switching before it gets catastrophic.
Just a tip for performance. Nested loops are a huge performance drain when it comes to scaling.For example if you have 10 slaves and you loop through each one, then inside that loop you loop through each one, that's a total of 10*10 iterations, so 100. If you increase the number of slaves to 100 then it's 100*100, or 10,000 iterations. If you manage to do the same code with only one loop then it would only be 100 loop iterations in the case of 100 slaves. So keep that in mind when using loops.You shouldn't really worry about how many things are done inside the loop. Worry about nested loops.