You can move the preload save file from the save folder of your project to the deployment version.
The preloader as of current version saves the images and audio used to a list and then preloads that the next time the game is launched
You have the latest version with skip title set to 'true' in the parameters? When you set this to false, does it still lag?
The lag with images is persistent or simply loading? Is it possible to check with hue and without hue? The preloader does not store hue changes or any hard image data other than name and location to pull the file.
Enemy count can be gotten from $gameMap._enemies.length
To set a variable using script call, the code is $gameVariables.setValue(id, value) where id is the variable ID and value is the value to set it to.
eg: $gameVariables.setValue(1, $gameMap._enemies.length) will set the variable 1 to the total number of enemies.
To get the total number of living enemies, you need to filter the array:
$gameMap._enemies.filter(map_enemy => !!map_enemy._battler.isAlive()).length will give the number of enemies that are alive
Yes but there was an older version but since then the only difference between the two is supposed to be one uses nodeJS to determine the files and this current version uses the load data from initial play.
Now there's two things I need to ask:
1) Is this test play a battle test or did you open the project itself?
2) Are you able to view the waveform of your audio file to see if there is a silent period before the audio starts up?