So i'm experiencing a glitches. Here's the situation:
After clicking go to next room region actor going half of way and then next scene is loading. After that all other scenes loading that way.
Bug number two is... I have a stairs in my scene, so if go up stairs to the next scene and immediately go down to the previous scene actor stop doing animation "go up stairs" or "go down stairs" and engine just loading next scene. And after that all scripts behave this way.
Here's the scripts
Stairs go down script
#include "scripts\base.inc"
on "LeftClick"
{
actor.GoTo(816, 598);
actor.TurnTo(DI_DOWN);
Game.Interactive = false;
Scene.FadeOutAsync(1500,0,0,0,255);
actor.PlayAnim("stairs_dn");
Game.ChangeScene("scenes\Stairs\Stairs2\Stairs2.scene", false, false);
actor.UnloadAnim("stairs_dn");
Game.Interactive = true;
}
on "LeftDoubleClick"
{
actor.RunTo(816, 598);
actor.TurnTo(DI_DOWN);
Game.Interactive = false;
Scene.FadeOutAsync(1500,0,0,0,255);
actor.PlayAnim("stairs_dn");
Game.ChangeScene("scenes\Stairs\Stairs2\Stairs2.scene", false, false);
actor.UnloadAnim("stairs_dn");
Game.Interactive = true;
}
Go to next room script
#include "scripts\base.inc"
on "LeftClick"
{
actor.GoTo(-61, 686);
actor.TurnTo(DI_LEFT);
Game.ChangeScene("scenes\Stairs\Stairs4\Stairs4.scene", false, false);
}
on "LeftDoubleClick"
{
actor.RunTo(-61, 686);
actor.TurnTo(DI_LEFT);
Game.ChangeScene("scenes\Stairs\Stairs4\Stairs4.scene", false, false);
}
They seems OK to me... but i'm no good scripter so...
Help strongly appreciated!