So I’m recently setting up couple logics with something like 0.1 sec delay with the delay node to ensure I’m going to get all the data that I need in that 0.1 sec before starting the second logic sequence.
The question is, is this delay an absolute duration, or it differs on different system specs?
e.g. If I bring the game to run on a lower spec system, does it means that if the loading taking longer than actual 0.1 sec, I will not get the data loaded and the logic will get messed up?
Thanks, been thinking a lot about these things that seems hard to find a certain answer from.
The system will get as close as it can to the absolute delay you specify, given the frame rate of the machine you’re running it on.
If a machine is very slow, that might mean the delay is longer.
Oh ok, so no worries on the logic side using delay now I guess?
It depends what sort of thing you’re doing. If you use a .1 delay to make sure some stuff is loaded, then that won’t work. Because on a slow system, the delay will still be .1, but maybe only 10% of what you expected was loaded.
So say I’m loading character’s saved data, the next thing that’s going to trigger is based on character’s saved data. I need to make sure the data is fully loaded before the next event can happen, how to make sure the first task is 100% complete before the next event start then?
From the save game? Then it’s synchronous anyway.