|
You last visited: Today at 16:00
Advertisement
[CODE] Teleporting (Jumping) In DOREMIX
Discussion on [CODE] Teleporting (Jumping) In DOREMIX within the DarkOrbit forum part of the Browsergames category.
01/17/2013, 18:01
|
#1
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
[CODE] Teleporting (Jumping) In DOREMIX
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:
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
|
|
|
01/17/2013, 18:12
|
#2
|
elite*gold: 0
Join Date: May 2012
Posts: 868
Received Thanks: 947
|
good luck with it lol
but why
teleport2.working = false;
btw C#?
|
|
|
01/17/2013, 18:18
|
#3
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
Quote:
Originally Posted by chichi011
good luck with it lol
but why
teleport2.working = false;
btw C#?
|
I only editted it to 'true' in 4-1... PS: Gamemaker...
|
|
|
01/17/2013, 18:18
|
#4
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
This is not C#. It's Gamemaker
You must create a instance with the coordinate. Don't ask me how, I don't know it
|
|
|
01/17/2013, 18:31
|
#5
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
Quote:
Originally Posted by 'RD.
This is not C#. It's Gamemaker
You must create a instance with the coordinate. Don't ask me how, I don't know it 
|
Yeah, I get it... but hmm, how to find the coordinates? :s This will take a lot of time if I don't know how
|
|
|
01/17/2013, 19:15
|
#6
|
elite*gold: 0
Join Date: Feb 2011
Posts: 552
Received Thanks: 801
|
Hehe i've fun with DO remix source too  I added pseudo "3d" effects of ships like in DO 
What coords u want to find ?
|
|
|
01/17/2013, 19:20
|
#7
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
Quote:
Originally Posted by poczatki
Hehe i've fun with DO remix source too  I added pseudo "3d" effects of ships like in DO 
What coords u want to find ?
|
I think I need the coordinates of the portal, to edit in the source so I can jump to newer map, no?
|
|
|
01/17/2013, 19:27
|
#8
|
elite*gold: 0
Join Date: Feb 2011
Posts: 552
Received Thanks: 801
|
case lv4_1:
teleport4=instance_create(8000,5000,teleport);
teleport4.working=true;
teleport4.map2=lv4_4; break;}
case lv4_2:
teleport2=instance_create(8000,5000,teleport);
teleport2.working=false;
teleport2.map2=lv4_4;}
case lv4_3:
{teleport2=instance_create(8000,5000,teleport);
teleport2.working=false;
teleport2.map2=lv4_4;}
This are portals to 4-4. (in center of map 'coz maps are 16000x10000).
About graphics ---> There are a lot of public res downloaders so use search.
(Old DO, UW and DO resources)
|
|
|
01/17/2013, 19:37
|
#9
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
Quote:
Originally Posted by poczatki
case lv4_1:
teleport4=instance_create(8000,5000,teleport);
teleport4.working=true;
teleport4.map2=lv4_4; break;}
case lv4_2:
teleport2=instance_create(8000,5000,teleport);
teleport2.working=false;
teleport2.map2=lv4_4;}
case lv4_3:
{teleport2=instance_create(8000,5000,teleport);
teleport2.working=false;
teleport2.map2=lv4_4;}
This are portals to 4-4. (in center of map 'coz maps are 16000x10000).
About graphics ---> There are a lot of public res downloaders so use search.
(Old DO, UW and DO resources)
|
I think teleport2.working=true;
?
Anyway, I'll try...
|
|
|
01/17/2013, 19:44
|
#10
|
elite*gold: 0
Join Date: Feb 2011
Posts: 552
Received Thanks: 801
|
Quote:
Originally Posted by Joever11
I think teleport2.working=true;
?
Anyway, I'll try...
|
If u want to add other maps you should add rooms like 1-2 oe 1-3 ect. (just duplicate them) and add portals (on 4-4, 1-5, 1-6 ect) on adequate coords like in pvp or other mas cases.
About portals to 4-4 ---> Of course, all of them should have true value !
EDIT: Can you tell me, what object have code with portals coords 'coz i can't find it ? Thank ya
|
|
|
01/17/2013, 19:48
|
#11
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
Quote:
Originally Posted by poczatki
If u want to add other maps you should add rooms like 1-2 oe 1-3 ect. (just duplicate them) and add portals (on 4-4, 1-5, 1-6 ect) on adequate coords like in pvp or other mas cases.
About portals to 4-4 ---> Of course, all of them should have true value !
EDIT: Can you tell me, what object have code with portals coords ? Thank ya 
|
Found it!
If you want the good code, here it is  anyway, thanks for your help!
Code:
case lv4_1: // case + map where you are
{teleport1=instance_create(1024,5000,teleport); // portal create on coordinates
teleport1.map1=lv1_4; // map1= the map where you go to when you jumped
teleport1.map2=lv4_1; // map2= the map where you are at the moment you jump
#Closerequest
|
|
|
01/17/2013, 19:57
|
#12
|
elite*gold: 0
Join Date: Feb 2011
Posts: 552
Received Thanks: 801
|
Quote:
Originally Posted by Joever11
Found it!
If you want the good code, here it is  anyway, thanks for your help!
Code:
case lv4_1: // case + map where you are
{teleport1=instance_create(1024,5000,teleport); // portal create on coordinates
teleport1.map1=lv1_4; // map1= the map where you go to when you jumped
teleport1.map2=lv4_1; // map2= the map where you are at the moment you jump
#Closerequest
|
No, no, no, if u can tell me what object have this code
|
|
|
01/17/2013, 20:07
|
#13
|
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
|
Quote:
Originally Posted by poczatki
No, no, no, if u can tell me what object have this code 
|
Population_ctrl
|
|
|
01/17/2013, 20:07
|
#14
|
elite*gold: 5
Join Date: Dec 2007
Posts: 579
Received Thanks: 1,129
|
Quote:
Originally Posted by Joever11
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 
|
The reason it won't "change" map, is because IIRC there is no 4-4 background/minimap image in v2.3.2. If you added the room 4-4 it will actually change map, but since there is no 4-4 background it will keep the background of the map you came from.
|
|
|
01/17/2013, 20:10
|
#15
|
elite*gold: 0
Join Date: Feb 2011
Posts: 552
Received Thanks: 801
|
Quote:
Originally Posted by Joever11
Population_ctrl
|
Thanks a lot
Quote:
Originally Posted by rider735
The reason it won't "change" map, is because IIRC there is no 4-4 background/minimap image in v2.3.2. If you added the room 4-4 it will actually change map, but since there is no 4-4 background it will keep the background of the map you came from.
|
We just need to add backgrounds of all maps and minimaps ;D
|
|
|
 |
|
Similar Threads
|
teleporting
08/13/2008 - Dekaron - 14 Replies
hi,
can i make that when ill go to north morte 0:5 i telleport to aquarius?
if yes what values do i need to change in the warp/location/skyteleporting .csv or somthing else
thx alot
Ben.
|
teleporting at any lvl
03/13/2008 - Dekaron - 2 Replies
i want to know what cheat program to use where u can teleport to anywhre at any lvl. I seen a guy selling pots at crevice at very low lvl.. I heard tmme or uce but i dont know what they are..
|
hey i would like to do some teleporting and have q
05/05/2006 - World of Warcraft - 1 Replies
hey i would like to do some teleporting and have question
if i have my main account and a secondary account and use the secondary account for teleport hacks will my main account be in any danger, accounts registred in 2 seperate names but share ip
|
No more teleporting?
06/01/2005 - World of Warcraft - 4 Replies
Can any1 use a teleport hack now? bwh doesnt work(disconnected)... did Blizz fix it?
Any info would be welcome!
thx!
|
All times are GMT +1. The time now is 16:01.
|
|