Level Transitions: Difference between revisions
Brandished (talk | contribs) mNo edit summary |
Brandished (talk | contribs) (images) |
||
Line 16: | Line 16: | ||
== Creating a seamless transition == | == Creating a seamless transition == | ||
To create a seamless transition, parts of one level are included inside the next level being loaded. The exception being "teleportation" style transitions, where the players are transported into an entirely new world or environment. | To create a seamless transition, parts of one level are included inside the next level being loaded. The exception being "teleportation" style transitions, where the players are transported into an entirely new world or environment. | ||
<br>{{clr}} | |||
[[Image:D1 trn sta 01.jpg|right|150px]] | |||
Here in the first image you can see the trigger changelevel in the doorway that loads the next map.{{clr}} | |||
[[Image:D1 trn sta 02.jpg|right|150px]] | |||
If you zoom out you can see the map were in now ends at the staircase visible in the first picture.{{clr}} | |||
[[Image:D1 trn sta 03.jpg|right|150px]] | |||
Once the player touches the changelevel, the next map is loaded.{{clr}} | |||
[[Image:D1 trn sta 04.jpg|right|150px]] | |||
From the other side of the door, it appears the old level is still there.{{clr}} | |||
[[Image:D1 trn sta 05.jpg|right|150px]] | |||
However, if you zoom out, you can see that a new level was loaded and the original level was almost entirely removed.{{clr}} | |||
== See Also == | == See Also == |
Revision as of 14:14, 18 February 2009
Level transitions allow you transfer the player from one map to another, essentially making two separate levels seem like one larger map.
Why change levels?
The Source Engine, while expansive, still has limits as to the the amount data that can be processed. Breaking up levels also helps split up the work load and compile times during the design process.
Types of level transitions
One way transitions
One way transitions prevent the player from traveling back to previously explored areas after being completed.
Two way transitions
Unlike the one way transition described above, a two way level transition allows a player to travel back and forth between two connected maps.
Creating a seamless transition
To create a seamless transition, parts of one level are included inside the next level being loaded. The exception being "teleportation" style transitions, where the players are transported into an entirely new world or environment.
Here in the first image you can see the trigger changelevel in the doorway that loads the next map.
If you zoom out you can see the map were in now ends at the staircase visible in the first picture.
Once the player touches the changelevel, the next map is loaded.
From the other side of the door, it appears the old level is still there.
However, if you zoom out, you can see that a new level was loaded and the original level was almost entirely removed.