KyleRansford
Member
Hello, when I finished a demo of a game in development my testing was done using the VM (Virtual Machine) export and everthing worked like it should. But, when I exported using the YYC (YoYo Compiler) the attached script doesn't work. It just hangs up.
These are custom scripts by the way.
What the script should do is, when the game starts the player selects New Game and a Title Cutscene starts. But it gets stuck on the first cutscene image and won't go any further.
I added the function to skip the cutscene to see if everything else is working ok and it appears it is. I know I'm not giving much of example in terms of code, but has this happened to anyone else? or does anyone know what it could be?
Update: Further testing shows it's not counting the "counter" like it's supposed to.
This is the script_cutscene_wait script with the counter.
These are custom scripts by the way.
Code:
[script_cutscene_instance_create_with_alpha, 0, 0, "Instances", Title_Cutscene1],
[script_cutscene_wait, 1],
[script_cutscene_alpha_increase, Title_Cutscene1, 0.01],
[script_cutscene_wait, 5], //Code gets stuck here
[script_cutscene_alpha_decrease, Title_Cutscene1, 0.01],
I added the function to skip the cutscene to see if everything else is working ok and it appears it is. I know I'm not giving much of example in terms of code, but has this happened to anyone else? or does anyone know what it could be?
Update: Further testing shows it's not counting the "counter" like it's supposed to.
This is the script_cutscene_wait script with the counter.
Code:
timer_ += 1;
if timer_ >= argument0 * room_speed {
timer_ = 0;
script_cutscene_end_action();
}
Last edited: