Sunday, August 14, 2016

If we had an actual engine...

(also has tooltips)
Too bad it's really laggy with all small calculations javascript has to do on every girl's status. Will try smaller number of details on next update and see how people will react.

Humble reminder, that supporting me on patreon goes long way on helping me afford qualified assistance and make huge progress.

7 comments:

  1. Humble reminder that I am a patron, and that you look lovely today!

    ReplyDelete
  2. 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

    ReplyDelete
    Replies
    1. It wouldn't be a 'complete' rewrite, more of engine rewrite and content transaction.

      Delete
  3. 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.

    ReplyDelete
    Replies
    1. 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.

      Delete
  4. 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.

    ReplyDelete