Scene: Difference between revisions
no edit summary
imported>Leoetlino |
imported>Leoetlino No edit summary |
||
Line 1: | Line 1: | ||
Scene changes | ''Not to be confused with [[map]]s, [[Map unit|map units]] or [[Stage|stages]]''. | ||
<onlyinclude>'''Scenes'''<ref>"SceneWorkTime" @ 0x7100A89528 (Switch 1.5.0)</ref> are active instances of a [[stage]]. By design, exactly one scene is active at a time. The active scene is managed by [[GameScene]], which is responsible for generating and unloading stages and changing to another scene.</onlyinclude> | |||
== Scene changes == | |||
In practice, '''scene changes''' are essentially warps that trigger loading screens. They can be explicitly triggered with three different actions: ChangeScene, FromCDungeonToMainField and ToCDungeon. | |||
All three actions are very similar; in fact they share the same base class. However, the first one is the most flexible action since the other two can only be used for shrines. | All three actions are very similar; in fact they share the same base class. However, the first one is the most flexible action since the other two can only be used for shrines. | ||
Line 5: | Line 10: | ||
Scene changes can also be triggered from [[AIDef:Action/AreaRoot]]. | Scene changes can also be triggered from [[AIDef:Action/AreaRoot]]. | ||
== Actions == | === Actions === | ||
=== ChangeScene === | ==== ChangeScene ==== | ||
{{link to article|link=AIDef:Action/ChangeScene}} | {{link to article|link=AIDef:Action/ChangeScene}} | ||
=== FromCDungeonToMainField === | ==== FromCDungeonToMainField ==== | ||
{{link to article|link=AIDef:Action/FromCDungeonToMainField}} | {{link to article|link=AIDef:Action/FromCDungeonToMainField}} | ||
=== ToCDungeon === | ==== ToCDungeon ==== | ||
{{link to article|link=AIDef:Action/ToCDungeon}} | {{link to article|link=AIDef:Action/ToCDungeon}} | ||
== Warp cutscene == | === Warp cutscene === | ||
[[Demo|Demo005_1]] is used as the event flow for most warps, for example when fast travelling to shrines, towers, Travel Medallion and Divine Beasts. | [[Demo|Demo005_1]] is used as the event flow for most warps, for example when fast travelling to shrines, towers, Travel Medallion and Divine Beasts. |