Switch layer/zh: Difference between revisions
"Update links from ddnet.tw to ddnet.org" |
Updating to match new version of source page |
||
Line 1: | Line 1: | ||
<languages/> | |||
{{Stub | {{Stub}} | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:Switch.svg|thumb| | [[File:Switch.svg|thumb|The switch layer]] | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
The switch layer allows the use of conditionally enabled tiles, mostly used for teleports, doors and draggers, but it also allows changing the default 3 second freeze time on the freeze tile. | |||
</div> | |||
== | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
== How it works== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
The layer consists of 4 types of switches<ref>https://ddnet.org/explain/switch/</ref>: | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
* {{Tile|switch|22}} '''Timed switch activator''': Activates the switch for a set time (delay value) | |||
* {{Tile|switch|23}} '''Timed switch deactivator''': Deactivates the switch for a set time (delay value) | |||
* {{Tile|switch|24}} '''Switch activator''': Activates the switch | |||
* {{Tile|switch|25}} '''Switch deactivator''': Deactivates the switch | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
The switches enable or disable all tiles that are places under the same '''number'''. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Some switch tiles use the delay value for specific purposes, like the [[Special:MyLanguage/Telegun|Telegun]] or the {{Tile|switch|9}} freeze. | |||
</div> | |||
== | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
== References == | |||
</div> | |||
<references /> | <references /> |
Revision as of 20:31, 11 February 2023
The switch layer allows the use of conditionally enabled tiles, mostly used for teleports, doors and draggers, but it also allows changing the default 3 second freeze time on the freeze tile.
How it works
The layer consists of 4 types of switches[1]:
- Timed switch activator: Activates the switch for a set time (delay value)
- Timed switch deactivator: Deactivates the switch for a set time (delay value)
- Switch activator: Activates the switch
- Switch deactivator: Deactivates the switch
The switches enable or disable all tiles that are places under the same number.
Some switch tiles use the delay value for specific purposes, like the Telegun or the freeze.