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

📄 map.java

📁 恶魔城-晓月圆舞曲 JAVA手機遊戲
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
			{0,128,64,16,16},   //索引:[56]
			{0,144,64,16,16},   //索引:[57]
			{0,160,64,16,16},   //索引:[58]
			{0,176,64,16,16},   //索引:[59]
			{0,0,80,16,16},     //索引:[60]
			{0,16,80,16,16},    //索引:[61]
			{0,32,80,16,16},    //索引:[62]
			{0,48,80,16,16},    //索引:[63]
			{0,64,80,16,16},    //索引:[64]
			{0,80,80,16,16},    //索引:[65]
			{0,96,80,16,16},    //索引:[66]
			{0,112,80,16,16},   //索引:[67]
			{0,128,80,16,16},   //索引:[68]
			{0,144,80,16,16},   //索引:[69]
			{0,160,80,16,16},   //索引:[70]
			{0,176,80,16,16},   //索引:[71]
			{0,0,96,16,16},     //索引:[72]
			{0,16,96,16,16},    //索引:[73]
			{0,32,96,16,16},    //索引:[74]
			{0,48,96,16,16},    //索引:[75]
			{0,64,96,16,16},    //索引:[76]
			{0,80,96,16,16},    //索引:[77]
			{0,96,96,16,16},    //索引:[78]
			{0,112,96,16,16},   //索引:[79]
			{0,128,96,16,16},   //索引:[80]
			{0,144,96,16,16},   //索引:[81]
			{0,160,96,16,16},   //索引:[82]
			{0,176,96,16,16},   //索引:[83]
			{0,0,112,16,16},    //索引:[84]
			{0,16,112,16,16},   //索引:[85]
			{0,32,112,16,16},   //索引:[86]
			{0,48,112,16,16},   //索引:[87]
			{0,64,112,16,16},   //索引:[88]
			{0,80,112,16,16},   //索引:[89]
			{0,96,112,16,16},   //索引:[90]
			{0,112,112,16,16},  //索引:[91]
			{0,128,112,16,16},  //索引:[92]
			{0,144,112,16,16},  //索引:[93]
			{0,160,112,16,16},  //索引:[94]
			{0,176,112,16,16},  //索引:[95]
			{0,95,80,16,16},    //索引:[96]
			{0,162,96,16,16},   //索引:[97]
			{0,159,0,16,16},    //索引:[98]
			{0,145,80,16,16},   //索引:[99]
			{0,64,51,16,16}     //索引:[100]
			};
//			[]场景单元
			short mapItem2[]={//地图元素:{通过设置,子图片索引}
				0,0/*地形1*/,
				1,0/*地形2*/,
				2,0/*地形3*/,
				3,0/*地形4*/,
				4,0/*地形5*/,
				5,0/*地形6*/,
				6,0/*地形7*/,
				7,0/*地形8*/,
				8,0/*地形9*/,
				9,0/*地形10*/,
				10,0/*地形11*/,
				11,0/*地形12*/,
				12,0/*地形13*/,
				13,0/*地形14*/,
				14,0/*地形15*/,
				15,0/*地形16*/,
				16,0/*地形17*/,
				17,0/*地形18*/,
				18,0/*地形19*/,
				19,0/*地形20*/,
				20,0/*地形21*/,
				21,0/*地形22*/,
				22,0/*地形23*/,
				23,0/*地形24*/,
				24,0/*地形25*/,
				25,0/*地形26*/,
				26,0/*地形27*/,
				27,0/*地形28*/,
				28,0/*地形29*/,
				29,0/*地形30*/,
				30,0/*地形31*/,
				31,0/*地形32*/,
				32,0/*地形33*/,
				33,0/*地形34*/,
				34,0/*地形35*/,
				35,0/*地形36*/,
				36,0/*地形37*/,
				37,0/*地形38*/,
				38,0/*地形39*/,
				39,0/*地形40*/,
				40,0/*地形41*/,
				41,0/*地形42*/,
				42,0/*地形43*/,
				43,0/*地形44*/,
				44,0/*地形45*/,
				45,0/*地形46*/,
				46,0/*地形47*/,
				47,0/*地形48*/,
				48,0/*地形49*/,
				49,0/*地形50*/,
				50,0/*地形51*/,
				51,0/*地形52*/,
				52,0/*地形53*/,
				53,0/*地形54*/,
				54,0/*地形55*/,
				55,0/*地形56*/,
				56,0/*地形57*/,
				57,0/*地形58*/,
				58,0/*地形59*/,
				59,0/*地形60*/,
				60,0/*地形61*/,
				61,0/*地形62*/,
				62,0/*地形63*/,
				63,0/*地形64*/,
				64,0/*地形65*/,
				65,0/*地形66*/,
				66,0/*地形67*/,
				67,0/*地形68*/,
				68,0/*地形69*/,
				69,0/*地形70*/,
				70,0/*地形71*/,
				71,0/*地形72*/,
				72,0/*地形73*/,
				73,0/*地形74*/,
				74,0/*地形75*/,
				75,0/*地形76*/,
				76,0/*地形77*/,
				77,0/*地形78*/,
				78,0/*地形79*/,
				79,0/*地形80*/,
				80,0/*地形81*/,
				81,0/*地形82*/,
				82,0/*地形83*/,
				83,0/*地形84*/,
				84,0/*地形85*/,
				85,0/*地形86*/,
				86,0/*地形87*/,
				87,0/*地形88*/,
				88,0/*地形89*/,
				89,0/*地形90*/,
				90,0/*地形91*/,
				91,0/*地形92*/,
				92,0/*地形93*/,
				93,0/*地形94*/,
				94,0/*地形95*/,
				95,0/*地形96*/
			};
			short objItem2[][][]={//建筑元素:{帧表->子图表}
				//{{134746130}}新对象:Speed,
				{/*普通*/{28,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{40,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{52,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{65,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{96,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{67,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{68,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{69,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{89,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{46,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{60,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{72,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{84,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{35,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{47,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{85,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{87,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{88,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{73,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{74,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{75,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{76,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{77,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{78,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{79,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{80,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{81,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{97,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{83,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{92,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{94,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{95,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{7,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{8,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{9,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{98,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{11,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{23,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{94,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{32,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{33,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{45,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{44,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{56,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{57,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{99,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{70,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{58,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{43,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{31,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{28,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{100,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{52,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{64,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{65,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{66,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{67,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{68,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{69,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{55,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{54,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{53,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{41,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{42,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{19,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{21,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{34,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{29,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{30,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{31,0,0}},
				//{{134746130}}新对象:Speed,
				{/*普通*/{42,0,0}}
			};
			String strMapName2="";
//			场景属性:地图类型,B0,B1,B2,B3,DX0,DX1,DX2,DX3,WX,WY
			byte mapInfo2[]={0, 0, 8,16,24,32, 16,0,16,0, 16,16};
//			图层掩码
			int nMask2[]={0xff,0xff,0xff,0xff,0x0};
//			地图数据18x14
			int nMapData2[][]={
				{0x0b00,0x0b00,0x2600,0x2600,0x2200,0x2300,0x2300,0x2300,0x2300,0x2300,0x2300,0x2300,0x2300,0x2300,0x2300,0x2600,0x0c00,0x0c00},
				{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0c00,0x0c00},
				{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4500,0x4500,0x4500,0x0f00,0x0f00,0x0f00,0x0c00,0x0c00},
				{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0500,0x4400,0x4500,0x0000,0x0000,0x4600,0x0500,0x0f00,0x0f00,0x0c00,0x0c00},
				{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0500,0x0800,0x0600,0x0700,0x0400,0x0600,0x0f00,0x0f00,0x0f00,0x0c00,0x0c00},
				{0x0c00,0x0c00,0x0f00,0x0f00,0x0500,0x0500,0x4600,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4500,0x0f00,0x0c00,0x0c00},
				{0x0d00,0x0d00,0x0f00,0x0f00,0x0700,0x0700,0x0700,0x0700,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x3500,0x0f00,0x0c00,0x0c00},
				{0x0900,0x0900,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x3600,0x0f00,0x0c1b,0x0c1c},
				{0x0e00,0x0e1b,0x2f1c,0x3200,0x4400,0x4500,0x4600,0x3200,0x3200,0x3200,0x3200,0x3e00,0x0000,0x3100,0x0f00,0x0f00,0x0a33,0x0a32},
				{0x0f00,0x0f33,0x3032,0x0002,0x0005,0x0003,0x001b,0x001c,0x0000,0x0000,0x0000,0x0000,0x0000,0x3100,0x0f00,0x0f00,0x0a33,0x0a32},
				{0x0f0d,0x0f33,0x3032,0x000e,0x000e,0x0010,0x0033,0x0032,0x0000,0x0002,0x3704,0x391a,0x3707,0x3002,0x0f04,0x0f07,0x0a33,0x0a32},
				{0x0a19,0x0a33,0x1332,0x0019,0x0019,0x0019,0x3d33,0x0032,0x000d,0x000e,0x3c0f,0x0f10,0x0f10,0x0f11,0x0f10,0x1310,0x0a33,0x0a32},
				{0x0c25,0x0c3f,0x1040,0x1325,0x3625,0x3725,0x383f,0x3940,0x3a25,0x3b25,0x0f25,0x0f25,0x0f25,0x0f25,0x1325,0x1025,0x0c3f,0x0c40},
				{0x0d31,0x0d31,0x1131,0x1231,0x1331,0x1431,0x1531,0x1631,0x1731,0x1831,0x1931,0x1a31,0x1b31,0x1c31,0x1131,0x1231,0x0d31,0x0d31}};

			mapItem = mapItem2;
			mapData = nMapData2;
			DrawPos = nDrawPos2;
			objItem = objItem2;
			cellW = mapInfo2[10];
			cellH = mapInfo2[11];
			break;
		}
		
	}
}

⌨️ 快捷键说明

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