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

📄 gamemap.java

📁 用java编写的魔塔小游戏,经过应用很实用,运行良好
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
2,13,2,2,1,53,1,2,19,2,51,
1,1,1,2,2,2,1,2,19,2,52,
50,2,1,52,51,52,1,2,19,2,51,
50,2,2,2,2,2,1,1,1,2,1,
1,1,1,1,1,2,2,13,2,2,1,
2,2,2,2,52,2,51,1,51,2,1,
2,1,1,1,1,2,26,52,19,2,1,
12,1,2,2,2,2,25,24,19,2,11
},
//floor4
{
1,1,1,2,1,46,1,2,1,54,1,
13,2,13,2,1,1,1,2,13,2,13,
1,2,1,2,2,16,2,2,1,2,1,
1,2,53,2,57,63,57,2,53,2,1,
52,2,23,2,26,57,26,2,23,2,52,
52,2,23,2,2,15,2,2,23,2,52,
51,2,1,2,58,62,58,2,1,2,51,
1,2,1,2,25,58,25,2,1,2,1,
1,2,1,2,2,14,2,2,1,2,1,
1,2,1,2,19,1,19,2,1,2,1,
11,2,1,1,54,1,54,1,1,2,12
},
//floor5
{
22,2,23,2,24,56,1,1,56,19,20,
1,2,25,2,56,1,1,1,1,56,19,
57,2,1,2,55,1,2,2,13,2,2,
1,13,1,2,32,55,2,1,58,55,49,
57,2,1,2,2,2,2,1,1,1,55,
25,2,1,1,1,52,53,1,1,1,1,
26,2,2,54,2,2,2,2,1,1,1,
1,48,2,54,2,1,1,1,58,62,1,
2,2,2,52,2,13,2,14,2,13,2,
1,1,2,1,2,52,2,26,13,1,2,
12,1,52,1,1,1,2,19,2,11,2
},
//floor6
{
38,59,2,26,2,19,65,40,2,24,24,
59,19,2,25,2,1,19,65,2,60,24,
19,63,14,1,14,63,1,19,2,1,60,
1,1,2,62,2,1,1,1,2,69,1,
2,2,2,15,2,2,2,2,2,13,2,
1,1,64,1,19,19,19,1,64,1,1,
1,2,2,2,2,2,2,2,2,2,2,
1,2,57,13,57,1,1,1,1,1,1,
1,2,13,2,13,2,2,2,2,2,14,
1,2,57,2,1,1,2,2,1,1,1,
1,1,1,2,11,1,13,13,1,1,12
},
//floor7
{
11,1,1,1,1,1,1,1,2,2,2,
2,2,1,63,2,14,2,59,1,2,2,
2,1,63,26,2,66,2,25,59,1,2,
1,1,2,2,2,10,2,2,2,1,1,
1,1,14,66,16,42,10,66,14,1,1,
1,2,2,2,2,10,2,2,2,2,1,
1,2,23,25,2,66,2,26,23,2,1,
1,2,19,23,2,14,2,23,19,2,1,
1,2,2,20,20,24,20,20,2,2,1,
1,1,2,2,2,15,2,2,2,1,1,
2,1,1,13,12,1,1,13,1,1,2
},
//floor8
{
12,2,1,1,1,1,2,1,19,59,1,
1,2,1,2,2,13,2,13,2,2,1,
1,2,1,2,1,1,14,1,1,2,25,
1,2,1,2,61,2,2,2,57,2,54,
57,2,1,2,23,2,11,1,1,2,54,
63,2,26,2,23,2,2,2,2,2,1,
57,2,54,2,1,1,1,2,1,63,1,
1,2,54,2,2,2,62,2,13,2,2,
1,2,1,59,1,2,59,2,1,1,1,
1,2,2,2,13,2,1,2,2,2,1,
1,1,61,1,1,2,1,65,66,65,1
},
//floor9
{
37,19,1,2,2,2,1,1,1,2,1,
19,1,69,13,1,1,1,2,1,13,59,
2,13,2,2,1,2,2,2,1,2,19,
1,1,1,2,1,2,1,1,1,2,19,
1,1,1,2,1,2,12,2,1,2,23,
2,14,2,2,1,2,2,2,1,2,2,
26,68,25,2,61,2,11,2,1,2,23,
2,13,2,2,1,1,1,13,1,2,19,
59,23,59,2,2,14,2,2,1,2,19,
20,59,23,2,60,61,60,2,1,13,59,
28,20,59,13,24,60,24,2,1,2,1
},
//floor10
{
1,2,2,26,69,2,69,25,2,2,1,
1,1,2,2,13,2,13,2,2,1,60,
1,1,1,1,1,2,1,1,1,60,24,
1,2,1,2,2,2,2,2,1,2,2,
57,2,1,1,19,19,19,1,1,2,19,
63,2,1,2,2,2,2,13,2,2,19,
57,2,1,16,1,12,2,1,13,63,1,
1,2,2,2,2,2,2,13,2,2,1,
1,2,23,26,25,2,1,63,1,2,19,
1,2,23,26,25,15,61,2,61,2,19,
11,2,23,26,25,2,20,2,20,2,23
},
//floor11
{
23,2,19,2,20,2,21,2,24,33,24,
23,2,19,2,20,2,21,2,62,62,62,
23,2,19,2,20,2,21,2,1,62,1,
13,2,13,2,13,2,13,2,2,14,2,
1,1,1,1,1,2,1,1,1,1,1,
13,2,2,14,2,2,2,14,2,2,13,
26,2,1,70,24,72,24,70,1,2,25,
26,2,69,2,2,2,2,2,69,2,25,
26,2,69,2,3,17,4,2,69,2,25,
2,2,15,2,23,1,23,2,15,2,2,
12,1,1,1,1,1,1,1,1,1,11
},
//floor12
{
49,26,2,1,67,74,67,1,2,24,43,
25,1,2,1,2,13,2,1,2,1,24,
1,1,2,1,2,74,2,1,2,1,1,
1,72,2,1,2,19,2,1,2,77,1,
72,73,2,1,2,19,2,1,2,75,77,
2,14,2,1,2,23,2,1,2,14,2,
1,1,1,1,2,23,2,1,1,1,1,
2,2,2,1,2,2,2,1,2,2,2,
26,72,13,70,70,71,70,70,13,72,25,
2,2,2,2,2,14,2,2,2,2,2,
11,1,1,1,1,1,1,1,1,1,12
},
//floor13
{
1,72,1,1,1,1,1,2,1,73,1,
1,2,2,2,2,2,13,2,1,2,1,
1,2,1,1,70,1,1,2,1,2,1,
24,2,15,2,2,2,1,2,1,2,1,
67,2,1,1,73,2,70,2,25,2,1,
74,2,1,76,10,2,71,2,25,2,1,
67,2,73,16,48,2,70,2,25,2,26,
1,2,2,2,2,2,1,2,1,2,26,
1,67,1,2,1,1,1,73,1,2,26,
2,2,1,2,24,2,2,2,2,2,1,
12,1,1,14,1,11,2,39,76,13,1
},
//floor14
{
2,1,77,22,11,1,1,1,1,1,2,
2,1,24,2,2,2,2,2,24,1,2,
2,1,2,2,2,2,2,2,2,1,2,
2,1,2,2,2,41,2,2,2,1,2,
2,1,2,2,2,16,2,2,2,1,2,
2,1,23,2,2,73,2,2,23,1,2,
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,6,2,2,2,2,2,6,6,6,
6,6,6,2,2,2,2,2,6,6,6,
6,6,6,6,2,2,2,6,6,6,6,
6,6,6,6,6,1,6,6,6,6,6,
6,6,6,6,6,1,6,6,6,6,6,
12,1,1,1,1,1,1,1,1,1,1
},
//floor19
{
1,1,1,1,1,1,1,1,1,1,1,
1,6,1,6,6,6,6,6,1,6,1,
1,6,1,6,6,6,6,6,1,6,1,
1,6,1,6,6,11,6,6,1,6,1,
1,6,1,6,6,1,6,6,1,6,1,
1,6,79,6,6,1,6,6,79,6,1,
1,6,16,6,6,80,6,6,16,6,1,
1,6,31,6,6,1,6,6,35,6,1,
1,6,6,6,6,1,6,6,6,6,1,
1,6,6,6,6,1,6,6,6,6,1,
1,1,1,1,1,1,1,1,1,1,12
},
//floor20
{
78,25,66,23,76,21,76,23,66,25,78,
24,6,19,6,20,6,20,6,19,6,24,
6,26,66,1,77,1,77,1,66,26,6,
23,6,19,6,1,12,1,6,19,6,23,
76,20,77,1,1,1,1,1,77,20,76,
21,6,6,6,1,6,1,6,6,6,21,
76,20,77,1,1,1,1,1,77,20,76,
23,6,19,6,1,11,1,6,19,6,23,
6,26,66,1,77,1,77,1,66,26,6,
24,6,19,6,20,6,20,6,19,6,24,
78,25,66,23,76,21,76,23,66,25,78
},
//floor21
{
6,6,6,6,6,6,6,6,6,6,6,
6,6,1,1,6,80,6,1,1,6,6,
6,1,1,6,6,75,6,6,1,1,6,
6,1,1,1,6,75,6,1,1,1,6,
6,6,1,1,1,1,1,1,1,6,6,
6,6,1,1,1,1,1,1,1,6,6,
6,6,6,1,1,6,1,1,6,6,6,
6,6,6,6,10,12,10,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6
}

};
	//hold the position of after hero downstair
	//private static final int[] heroDownstairPos = {16,2};
	//hold the current game floor array,if player exit,save it to RMS
	//if player load last game,read array from RMS
	//private int[][] floorArray = FLOOR_ARRAY;
	public static final int MAP_ROAD = 1,
							MAP_WALL = 2,
							MAP_LEFT_SHOP = 3,
							MAP_RIGHT_SHOP = 4,
							MAP_LOCKED_DOOR = 5,
							MAP_STAR1 = 6,
							MAP_STAR2 = 7,
							MAP_WATER1 = 8,
							MAP_WATER2 = 9,
							MAP_LOCKED_BARRIER = 10,
							MAP_UPSTAIR = 11,
							MAP_DOWNSTAIR = 12,
							MAP_YELLOW_DOOR = 13,
							MAP_BLUE_DOOR = 14,
							MAP_RED_DOOR = 15,
							MAP_BARRIER = 16,
							MAP_SHOP1 = 17,
							MAP_SHOP2 = 18,
							//gem
							MAP_YELLOW_KEY = 19,
							MAP_BLUE_KEY = 20,
							MAP_RED_KEY = 21,
							MAP_KEY_RING = 22,
							MAP_SMALL_BLOOD = 23,
							MAP_BIG_BLOOD = 24,
							MAP_RED_GEM = 25,
							MAP_BLUE_GEM = 26,
							MAP_SWORD1 = 27,
							MAP_SWORD2 = 28,
							MAP_SWORD3 = 29,
							MAP_SWORD4 = 30,
							MAP_SWORD5 = 31,
							MAP_SHIELD1 = 32,
							MAP_SHIELD2 = 33,
							MAP_SHIELD4 = 34,//3
							MAP_SHIELD5 = 35,//4
							MAP_LOOKUP = 36,
							MAP_JUMP = 37,
							MAP_LEVEL_UP1 = 38,
							MAP_LEVEL_UP3 = 39,
							MAP_COIN = 40,
							MAP_DOUBLE_BLOOD = 41,
							MAP_CROSS = 42,
							MAP_AX = 43,
							MAP_SHIELD3 = 44,//5
							//person
							MAP_ANGLE = 45,
							MAP_THIEF = 46,
							MAP_PRINCESS = 47,
							MAP_BLUE_GEEZER = 48,
							MAP_RED_GEEZER = 49,
							//ORGE
							MAP_ORGE1 = 50,
							MAP_ORGE2 = 51,
							MAP_ORGE3 = 52,
							MAP_ORGE4 = 53,
							MAP_ORGE5 = 54,
							MAP_ORGE6 = 55,
							MAP_ORGE7 = 56,
							MAP_ORGE8 = 57,
							MAP_ORGE9 = 58,
							MAP_ORGE10 = 59,
							MAP_ORGE11 = 60,
							MAP_ORGE12 = 61,
							MAP_ORGE13 = 62,
							MAP_ORGE14 = 63,
							MAP_ORGE15 = 64,
							MAP_ORGE16 = 65,
							MAP_ORGE17 = 66,
							MAP_ORGE18 = 67,
							MAP_ORGE19 = 68,
							MAP_ORGE20 = 69,
							MAP_ORGE21 = 70,
							MAP_ORGE22 = 71,
							MAP_ORGE23 = 72,
							MAP_ORGE24 = 73,
							MAP_ORGE25 = 74,
							MAP_ORGE26 = 75,
							MAP_ORGE27 = 76,
							MAP_ORGE28 = 77,
							MAP_ORGE29 = 78,
							MAP_ORGE30 = 79,
							MAP_ORGE31 = 80;
							
							
							
							
}

⌨️ 快捷键说明

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