Help:Playfield: Difference between revisions

From Hard Drop Tetris Wiki

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
This only works in [http://tetris.wiki Tetris Concept wiki,]as the extension is only installed in that wiki. Therefore the examples won't work.
This doesn't belong here. This belongs in [http://tetris.wiki Tetris Concept wiki,] as the extension is only installed there. Therefore the examples won't work.


<code>
Usually, you'll have a
Usually, you'll have a
<pre>&lt;playfield&gt;
<pre>&lt;playfield&gt;
Line 106: Line 107:
| 1&ndash;9 || [[image:1Tet.png| ]][[image:2Tet.png| ]][[image:3Tet.png| ]] || Mark the cells that reject a given kick position
| 1&ndash;9 || [[image:1Tet.png| ]][[image:2Tet.png| ]][[image:3Tet.png| ]] || Mark the cells that reject a given kick position
|}
|}
</code>
However, this extension may be installed in the future, so we have included this page as well.

Revision as of 18:23, 2 September 2017

This doesn't belong here. This belongs in Tetris Concept wiki, as the extension is only installed there. Therefore the examples won't work.

Usually, you'll have a

<playfield>
one or more lines of the same length
</playfield>

Example

<playfield>
..JJJ.....
....J.....
..........
..........
..........
J.---...I.
JJJZ-SLLI.
OOZZTSSLI.
OOZTTTSLI.
GGG.GGGGGG
GGG.GGGGGG
</playfield>
<playfield>

..JJJ..... ....J..... .......... .......... .......... J.---...I. JJJZ-SLLI. OOZZTSSLI. OOZTTTSLI. GGG.GGGGGG GGG.GGGGGG </playfield>

Code Output

It is possible to show one preview by putting the next piece all alone in a 2-row-high playfield above the main playfield.

<playfield> .......... ...IIII... </playfield> <playfield> ......T... .....TTT.. .......... .......... ......-... J.JJJ---I. JJJZJSLLI. OOZZTSSLI. OOZTTTSLI. GGG.GGGGGG GGG.GGGGGG </playfield>

Unlike the {{pfstart}} and friends, you can use any arbitrary width you want. Just be sure every row is the same length to ensure it works properly.

List

<playfield> ZLOSIJTG-CPB X1234567890.D </playfield>

Note: Using space as an empty cell is not suggested, as it hinders readability for other editors; support for using space may or may not be unsupported in the future, as well. It is also suggested you only use purely uppercase letters, as there may be extensions in the future that interpret lowercase as something different from uppercase.

Code Img Description
space Tet.png Empty Cell
. .Tet.png Empty Cell
Z ZTet.png Red Block (Z Tetromino)
L LTet.png Orange Block (L Tetromino)
O OTet.png Yellow Block (O Tetromino)
S STet.png Green Block (S Tetromino)
I ITet.png Cyan Block (I Tetromino)
J JTet.png Blue Block (J Tetromino)
T TTet.png Purple Block (T Tetromino)
G GTet.png Gray Block (ghost piece)
- -Tet.png Line clear
D DTet.png Down arrow, soft drop, firm drop
C CTet.png Rotation center of a piece, a bomb in Bombliss, or any other specially marked block
P PTet.png Purple block for the T Tetromino, designed for use in documenting T-Spin setups
B BTet.png Mark a cell that has to be occupied for something (like a wallkick) to happen
X XTet.png Mark a cell that cannot be occupied for something (like a wallkick) to happen
1–9 1Tet.png2Tet.png3Tet.png Mark the cells that reject a given kick position

However, this extension may be installed in the future, so we have included this page as well.