Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
portals
-
- Member
- Posts: 5
- Joined: May 20th, 2010, 7:04 am
portals
i want to say excuse my writing from the start of this thread
my question is there a way to create portals that lead to another map like on lets say legend of zelda when you go from the field to a village it loads a different map for the village to save strain on the memory also when you go into a dungeon it loads the map for the dungeon only. Also when you go through a door from point A you end up on the other side of point A in a new map area. So to sum it up you walk through the door in point A on one map you end up in the other map on point A in the other smaller map to save strain on the memory you should figure out what im talking about hopefully also if theres another thread talking about this same subject sorry but i couldn't find it.
my question is there a way to create portals that lead to another map like on lets say legend of zelda when you go from the field to a village it loads a different map for the village to save strain on the memory also when you go into a dungeon it loads the map for the dungeon only. Also when you go through a door from point A you end up on the other side of point A in a new map area. So to sum it up you walk through the door in point A on one map you end up in the other map on point A in the other smaller map to save strain on the memory you should figure out what im talking about hopefully also if theres another thread talking about this same subject sorry but i couldn't find it.
-
- Support Team
- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: portals
What your talking about is teleporting from one map to another. And fortunately, it is very much possible!
Here's a bit of code I took from a Support topic: When you open your map in Sandbox, place this in the map config, by pressing F6. Then Create a mapmodel with the level trigger 2. Once you insert the map name and the message, it'll transport you from the current map, to the map of your choice!
Hope that helps!
Arc
P.S. Next time please post your support question in the Sandbox Support Section. Thanks
Here's a bit of code I took from a Support topic:
Code: Select all
level_trigger_2 = [echo "*message*"; endsp; sleep 1000 [map *name*]]
Hope that helps!
Arc
P.S. Next time please post your support question in the Sandbox Support Section. Thanks
Want a user bar like this one? PM Leo!
-
- Member
- Posts: 5
- Joined: May 20th, 2010, 7:04 am
Re: portals
thanks I haven't tried it yet but from i what i got from what you wrote it seems like what i needed.
-
- Member
- Posts: 5
- Joined: May 20th, 2010, 7:04 am
Re: portals
hmm the code doesn't work exactly right when i use it instead of loading the map i said to it just loads a blank map or a new map
- GR1M
- Support Team
- Posts: 1305
- Joined: August 22nd, 2009, 4:35 pm
- Name: Luke
- IRC Username: Gr1m
- Location: Texas
- Contact:
Re: portals
Code: Select all
level_trigger_2 = [echo "*message*"; endsp; sleep 1000 [map *name*]]
This also counts for the message "[echo "Hi there!"]. I think that was your problem.
Gr1m
Want a user bar like this one? PM Leo
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: portals
I find it amusing that. The following code: was mine... You can also set a different trigger as the map changeing one. Trigger 2 is the "Progress" trigger, Trigger 1 is the "Return" Trigger.
Code: Select all
level_trigger_2 = [echo "*message*"; endsp; sleep 1000 [map *name*]]
Game Projects
Sandbox Tools
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: portals
"Return" trigger is used for "Returning" to a previous map. "Progress" trigger is for "Progressing" to another map, very much like Zelda, from field to Village, and Village to field. "Progress" from Field, "Return" from Village. That good for you?
"Progress"
"Return"
Code: Select all
level_trigger_2 = [echo "You head to the Village"; endsp; sleep 1000 [map Village_2]]
Code: Select all
level_trigger_1 = [echo "You head to the Field"; endsp; sleep 1000 [map Field]]
Game Projects
Sandbox Tools
-
- Support Team
- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: portals
I hand picked your code Leo, as I couldn't remember how Map teleporting worked
Want a user bar like this one? PM Leo!
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: portals
Okay. But theres more information about it.
You can actually have 3 triggers for it. The third is the "Pass" trigger... Works a little like this:
"Pass"
You can actually have 3 triggers for it. The third is the "Pass" trigger... Works a little like this:
Code: Select all
level_trigger_3 = [echo "You Head to the Temple"; endsp; sleep 1000 [map Temple]]
Game Projects
Sandbox Tools