Hi,
I'm having trouble with a short animation loop featuring BGM and BGS that is supposed to play on stepping on a certain region, and then fade out when the player steps away, both events controlling both regions with parallel processes.
The issue is that on subsequent visits when the player steps in the activation region for the animation loop, the event playing the animation loop fails to start over and instead resumes, wherever it's suspended at in the loop. This removes the foreground and background picture layers, as well as the BGM and BGS. So the scene functions properly until the player leaves the activation area.
The events then set up properly if the player leaves the area and returns, forcing EV003 to break its loop and start over.
I am using VS8 Event and Movement Core but I don't think it's related here, it's an issue that can only crop up because of the way the plugin triggers subsequent region activations and parallel processing in general.
The only code at the end of EV003 are multiple frames and then a standard loop ending.
I can partially get around this issue by including picture IDs/layers 1 and 3 inside the loop but that does nothing for the BGM and BGS once EV004 has erased them. There are other workarounds I can do here as well, but a lot of the image and sound quality depends on this being able to be triggered multiple times without the player casually breaking the scene loop until they leave the room (because leaving the room may trigger conditions preventing the scene from being shown again immediately during later implementation).
I'm having trouble with a short animation loop featuring BGM and BGS that is supposed to play on stepping on a certain region, and then fade out when the player steps away, both events controlling both regions with parallel processes.
The issue is that on subsequent visits when the player steps in the activation region for the animation loop, the event playing the animation loop fails to start over and instead resumes, wherever it's suspended at in the loop. This removes the foreground and background picture layers, as well as the BGM and BGS. So the scene functions properly until the player leaves the activation area.
The events then set up properly if the player leaves the area and returns, forcing EV003 to break its loop and start over.
I am using VS8 Event and Movement Core but I don't think it's related here, it's an issue that can only crop up because of the way the plugin triggers subsequent region activations and parallel processing in general.
The only code at the end of EV003 are multiple frames and then a standard loop ending.
I can partially get around this issue by including picture IDs/layers 1 and 3 inside the loop but that does nothing for the BGM and BGS once EV004 has erased them. There are other workarounds I can do here as well, but a lot of the image and sound quality depends on this being able to be triggered multiple times without the player casually breaking the scene loop until they leave the room (because leaving the room may trigger conditions preventing the scene from being shown again immediately during later implementation).