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

📄 level0008.txt

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

// level name
<NAME>Level 8</NAME>

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

// size of the block map
<SIZE>11,24</SIZE>

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

         
// animated grass, in pixel coordinates
<GRASS>200,100</GRASS>
<GRASS>240,100</GRASS>
<GRASS>220,100</GRASS>
            
// buildings, center in pixels coordinates
// NOT IMPLEMENTED
<BUILDING>200, 200</BUILDING>
            
// bonuses use block coordinates
<BONUS_MONEY>9,1</BONUS_MONEY>
<BONUS_MONEY>4,16</BONUS_MONEY>
<BONUS_MONEY>2,6</BONUS_MONEY>
<BONUS_MONEY>1,1</BONUS_MONEY>
<BONUS_MONEY>8,6</BONUS_MONEY>
<BONUS_MONEY>9,16</BONUS_MONEY>

//<BONUS_POWER>1,2</BONUS_POWER>
//<BONUS_POWER>8,19</BONUS_POWER>
//<BONUS_WATER>1,10</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>10,0,40</GHOST_RED>
<GHOST_GREEN>1,16,5,16,100</GHOST_GREEN>
<GHOST_GREEN>4,1,4,5,100</GHOST_GREEN>
<GHOST_GREEN>8,1,8,5,100</GHOST_GREEN>
<GHOST_GREEN>9,14,9,18,100</GHOST_GREEN>
<GHOST_GREEN>6,17,9,17,100</GHOST_GREEN>

<GHOST_BLUE>1,18,150</GHOST_BLUE>
<GHOST_BLUE>3,18,150</GHOST_BLUE>
<GHOST_BLUE>3,6,150</GHOST_BLUE>
<GHOST_BLUE>5,13,150</GHOST_BLUE>
<GHOST_BLUE>7,6,150</GHOST_BLUE>
<GHOST_BLUE>8,19,150</GHOST_BLUE>
// start & goal in block coordinates
<START>1,23</START>
<GOAL>10,23</GOAL>


⌨️ 快捷键说明

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