The code for the background is:
- Code: Select all
if (DOLOAD==1) {
switch(BG) {
case 0:
ChangeAnimation("Event Actor", "SCREEN", FORWARD);
break;
case 1:
ChangeAnimation("Event Actor", "Grass", FORWARD);
break;
case 2:
ChangeAnimation("Event Actor", "water", FORWARD);
break;
case 3:
ChangeAnimation("Event Actor", "clouds", FORWARD);
break;
case 4:
ChangeAnimation("Event Actor", "rock", FORWARD);
break;
case 5:
ChangeAnimation("Event Actor", "space", FORWARD);
break;
case 6:
ChangeAnimation("Event Actor", "dark", FORWARD);
break;
}
DOLOAD=0;
}
And I made an actor to tell me what "BG" number is when the load starts, so WHY THE CRAP IS IT NOT WORKING >.>
it says it's "2" like it should be, but it doesnt change animation. Even if I have on the code, a simple "if (BG==2) { change animation... }" that doesnt even work!! WHY