📄 level0003.txt
字号:
// level name
<NAME>Level 3</NAME>
// starting money and waste speed ($ /second)
<MONEY>300,2</MONEY>
// size of the block map
<SIZE>10,10</SIZE>
// 0 = gravel
// 1 = grass
// 2 = water
// 3 = tree01
// 4 = tree02
<BLOCKS>
3 3 3 3 3 3 3 3 3 0
1 1 1 1 1 1 1 0 0 0
1 1 1 3 1 3 0 0 2 4
1 1 1 1 1 0 0 2 2 4
1 4 1 4 0 0 2 2 1 4
1 1 1 0 0 2 2 1 1 4
1 4 0 0 2 2 1 1 1 4
1 0 0 2 2 1 1 1 1 4
3 0 2 2 1 1 1 1 1 4
0 0 0 0 0 0 0 0 0 0
</BLOCKS>
// animated grass, in pixel coordinates
<GRASS>50,50</GRASS>
// buildings, center in pixels coordinates
// NOT IMPLEMENTED
<BUILDING>200, 200</BUILDING>
// bonuses use block coordinates
//<BONUS_MONEY>14,27</BONUS_MONEY>
<BONUS_POWER>9,9</BONUS_POWER>
//<BONUS_WATER>14,29</BONUS_WATER>
// all ghosts use block coordinates
// ghost AI desc:
// RED: moves towards player
// params: startblockx, startblocky, speed (pixels/sec)
// GREEN: moves between two given blocks
// params: startblockx, startblocky, endblockx, endblocky, speed (pixels/sec)
// BLUE: stays in same place, but pulls player towards it
// params: startblockx, startblocky, pullforce
<GHOST_RED>0,0,170</GHOST_RED>
//<GHOST_GREEN>14,28,15,20,150</GHOST_GREEN>
//<GHOST_BLUE>14,29,100</GHOST_BLUE>
// start & goal in block coordinates
<START>0,9</START>
<GOAL>9,0</GOAL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -