Hi all,
Maybe as you guys know, I'm making an exactly (for the moment offline) game like darkorbit was before...
Now I wanna make the high maps to...
I changed the code so it should have to work, but when I jump to 4-4 (created map) It only plays the anymation and wont change the map...
Here is a piece of the teleporting code:
PS: if you have any old darkorbit files, you can send them :D
Maybe as you guys know, I'm making an exactly (for the moment offline) game like darkorbit was before...
Now I wanna make the high maps to...
I changed the code so it should have to work, but when I jump to 4-4 (created map) It only plays the anymation and wont change the map...
Here is a piece of the teleporting code:
Code:
case lv4_1: //PVP
{teleport1=instance_create(1024,5000,teleport);
teleport1.map1=lv1_4;
teleport1.map2=lv4_1;
teleport2=instance_create(14960,1024,teleport);
teleport2.map1=lv4_2;
teleport2.map2=lv4_1;
teleport3=instance_create(14960,8960,teleport);
teleport3.map1=lv4_3;
teleport3.map2=lv4_1;
teleport4=instance_create(8000,5000,teleport);
teleport4.working=true;
teleport4.map2=lv4_4; break;} // ->HERE<-, I think this should need to work, anyway... Where can I find the right coordinates and how do I make it work?
case lv4_2:
{teleport1=instance_create(8000,1024,teleport);
teleport1.map1=lv2_4;
teleport1.map2=lv4_2;
teleport2=instance_create(8000,5000,teleport);
teleport2.working=false;
teleport2.map2=lv4_4;
teleport3=instance_create(1024,8960,teleport);
teleport3.map1=lv4_2;
teleport3.map2=lv4_1;
teleport4=instance_create(14960,8960,teleport);
teleport4.map1=lv4_3;
teleport4.map2=lv4_2; break;}
case lv4_3:
{teleport1=instance_create(14960,5000,teleport);
teleport1.map1=lv3_4;
teleport1.map2=lv4_3;
teleport2=instance_create(8000,5000,teleport);
teleport2.working=false;
teleport2.map2=lv4_4;
teleport3=instance_create(512,512,teleport);
teleport3.map1=lv4_3;
teleport3.map2=lv4_2;
teleport4=instance_create(512,9488,teleport);
teleport4.map1=lv4_3;
teleport4.map2=lv4_1; break;}
PS: if you have any old darkorbit files, you can send them :D