Hi,
This time I have 2 more general questions about how the game engine works.
1) From a performance point of view: is it always better to run the game processes in a single flow or, sometimes, to divide the internal processes into a parallel process?
A more concrete example: suppose a dialogue.
At a certain moment the player must make a choice that, through a filter, makes things happen in the game world according to the choice made.
Suppose this filter is a veeery long common event, full of conditional branches and scripts.
Which of the two structures is better?
(I know that too many simultaneous parallel processes, mostly if not well structured with wait commands, can be heavy, but in this case we only suppose the one activated by the switch).
2) How much can the use of script calls in common events actually affect performance? I have seen that Yanfly has even created a plugin called "Optimize script calls", are they really that heavy? Any tips on how to best use them?
This time I have 2 more general questions about how the game engine works.
1) From a performance point of view: is it always better to run the game processes in a single flow or, sometimes, to divide the internal processes into a parallel process?
A more concrete example: suppose a dialogue.
At a certain moment the player must make a choice that, through a filter, makes things happen in the game world according to the choice made.
Suppose this filter is a veeery long common event, full of conditional branches and scripts.
Which of the two structures is better?
(I know that too many simultaneous parallel processes, mostly if not well structured with wait commands, can be heavy, but in this case we only suppose the one activated by the switch).
2) How much can the use of script calls in common events actually affect performance? I have seen that Yanfly has even created a plugin called "Optimize script calls", are they really that heavy? Any tips on how to best use them?