48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
// 教学关(短,用来熟悉手感)
|
||
import { G, rep, E, plat, ent } from './kit.js';
|
||
|
||
export default [
|
||
{
|
||
id: 't1', name: 'FIRST STEPS', type: 'jump', diff: 1, bg: 'jump', width: 36,
|
||
hint: '← → 移动,Shift / Z / 空格跳跃。刺碰到就死,R 键重来。',
|
||
messages: ['← → 移动 Shift 跳跃 R 重来'],
|
||
grid: G(36, [
|
||
rep('#', 36),
|
||
E(36), E(36), E(36), E(36), E(36), E(36),
|
||
ent(36, [30, 'X']),
|
||
plat(36, 29, 5),
|
||
E(36),
|
||
plat(36, 26, 5),
|
||
E(36),
|
||
plat(36, 22, 5),
|
||
E(36),
|
||
plat(36, 18, 5),
|
||
E(36),
|
||
plat(36, 13, 5),
|
||
ent(36, [2, 'S'], [4, 'T'], [7, '^'], [8, '^'], [9, '^'], [22, 'G']),
|
||
rep('#', 36),
|
||
]),
|
||
},
|
||
{
|
||
id: 't2', name: 'DOUBLE JUMP', type: 'jump', diff: 1, bg: 'custom', width: 40,
|
||
hint: '空中再按一次跳跃=二段跳。5 格宽的刺坑只能靠二段跳过去。',
|
||
messages: ['空中再按一次 Shift = 二段跳'],
|
||
grid: G(40, [
|
||
rep('#', 40),
|
||
E(40), E(40), E(40), E(40), E(40), E(40), E(40),
|
||
ent(40, [19, 'X']),
|
||
plat(40, 18, 4),
|
||
E(40),
|
||
plat(40, 26, 4),
|
||
E(40),
|
||
plat(40, 18, 4),
|
||
E(40),
|
||
plat(40, 26, 4),
|
||
E(40),
|
||
plat(40, 18, 4),
|
||
ent(40, [2, 'S'], [4, 'T'], [11, '^'], [12, '^'], [13, '^'], [14, '^'], [15, '^'], [19, 'G']),
|
||
rep('#', 40),
|
||
]),
|
||
},
|
||
];
|