⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 level0007.txt

📁 RGA: Biowaste Game Example This C++ application demonstrates how to create a 2D mobile game for S60
💻 TXT
字号:

// level name
<NAME>Level 7</NAME>

// starting money and waste speed ($ /second)
<MONEY>700,2</MONEY>

// size of the block map
<SIZE>13,18</SIZE>

// 0 = gravel
// 1 = grass
// 2 = water
// 3 = tree01
// 4 = tree02
<BLOCKS>
3 3 3 3 3 3 0 3 3 3 3 3 3
4 1 1 1 1 1 0 1 1 1 1 1 4
4 0 0 0 0 0 0 0 0 0 0 0 4
4 0 1 1 1 1 0 1 1 1 1 0 4 
4 0 1 1 1 1 0 1 1 1 1 0 4 
4 0 1 1 1 0 0 0 1 1 1 0 4 
4 0 1 1 1 1 0 1 1 1 1 0 4 
4 0 0 0 1 0 0 0 1 1 1 0 4
4 0 1 1 1 1 0 1 1 1 1 0 4 
4 0 1 1 1 1 0 1 1 1 1 0 4
4 0 1 1 1 1 0 1 1 1 1 0 4
4 0 0 0 0 0 0 0 0 0 0 0 4 
4 1 1 1 1 1 0 1 1 1 1 1 4 
4 1 1 1 1 1 0 1 1 1 1 1 4 
4 2 2 1 1 1 0 1 1 1 2 2 4 
4 2 2 1 1 1 0 1 1 1 2 2 4
4 1 1 1 1 1 0 1 1 1 1 1 4 
4 4 4 4 4 4 0 4 4 4 4 4 4
</BLOCKS>


// animated grass, in pixel coordinates
<GRASS>300,100</GRASS>
<GRASS>320,105</GRASS>

// buildings, center in pixels coordinates
// NOT IMPLEMENTED
<BUILDING>200, 200</BUILDING>

// bonuses use block coordinates
<BONUS_MONEY>2,7</BONUS_MONEY>
<BONUS_MONEY>7,7</BONUS_MONEY>
<BONUS_MONEY>5,5</BONUS_MONEY>
<BONUS_MONEY>11,7</BONUS_MONEY>

//<BONUS_POWER>14,28</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>14,27,50</GHOST_RED>
<GHOST_BLUE>3,7,150</GHOST_BLUE>

<GHOST_BLUE>7,5,130</GHOST_BLUE>
<GHOST_BLUE>5,7,130</GHOST_BLUE>
<GHOST_GREEN>11,0,11,6,100</GHOST_GREEN>
<GHOST_GREEN>11,8,11,13,100</GHOST_GREEN>
<GHOST_GREEN>0,6,3,6,150</GHOST_GREEN>
<GHOST_GREEN>0,8,3,8,150</GHOST_GREEN>

// start & goal in block coordinates
<START>6,17</START>
<GOAL>6,0</GOAL>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -