📄 map.java
字号:
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 objItem1[][][]={//建筑元素:{帧表->子图表}
//{{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,
{/*普通*/{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 strMapName1="";
// 场景属性:地图类型,B0,B1,B2,B3,DX0,DX1,DX2,DX3,WX,WY
byte mapInfo1[]={0, 0, 8,16,24,32, 16,0,16,0, 16,16};
// 图层掩码
int nMask1[]={0xff,0xff,0xff,0xff,0x0};
// 地图数据52x14
int nMapData1[][]={
{0x0b00,0x0b00,0x2000,0x2100,0x2200,0x2100,0x2100,0x2300,0x2100,0x2100,0x2100,0x2100,0x2100,0x2100,0x2400,0x2400,0x2000,0x2100,0x2200,0x2300,0x0f00,0x0f00,0x0f00,0x0f00,0x2000,0x2100,0x2200,0x2200,0x2400,0x2400,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2400,0x2400,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2200,0x2600,0x0b00,0x0b00},
{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x2500,0x2500,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x2500,0x2500,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4300,0x0f00,0x0f00,0x0f00,0x0f00,0x2500,0x2500,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0c00,0x0c00},
{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4500,0x4500,0x4500,0x0f00,0x0e00,0x0e00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f1b,0x0e1c,0x0e00,0x3300,0x3000,0x2d00,0x0f00,0x0f00,0x3800,0x0000,0x3000,0x4600,0x0f00,0x0e00,0x0e00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0c00,0x0c00},
{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4300,0x4400,0x4500,0x0000,0x0000,0x4600,0x4500,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x2b00,0x2c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f33,0x0f34,0x0f00,0x0600,0x0000,0x4300,0x3100,0x4400,0x4500,0x0000,0x2d00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4500,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0c00,0x0c00},
{0x0c00,0x0c00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0300,0x0800,0x0600,0x0700,0x0400,0x0600,0x0f00,0x2700,0x2800,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f33,0x2734,0x2800,0x0300,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x4600,0x0f00,0x0f00,0x2700,0x2800,0x0f00,0x3000,0x4500,0x4500,0x4500,0x0f00,0x4500,0x3000,0x0c00,0x0c00},
{0x0c00,0x0c00,0x0f00,0x0f00,0x0200,0x0300,0x4600,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x2a00,0x2900,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x2b00,0x2c00,0x0f00,0x0f00,0x4500,0x4500,0x4433,0x2a34,0x3400,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x4600,0x0f00,0x0f00,0x2a00,0x2900,0x4500,0x0000,0x0000,0x0000,0x0000,0x4500,0x0000,0x0000,0x0c00,0x0c00},
{0x0d00,0x0d00,0x0f00,0x0f00,0x0700,0x0700,0x0700,0x0700,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x4500,0x0000,0x0000,0x0033,0x0034,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x4600,0x0f00,0x0f00,0x0f00,0x0f00,0x3400,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0d00,0x0d00},
{0x0900,0x0900,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x0f1b,0x0f1c,0x0f00,0x0f00,0x0f00,0x2b00,0x2c00,0x3000,0x0000,0x3500,0x3600,0x3833,0x3934,0x3c00,0x3c00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x4600,0x0f00,0x0f00,0x0f00,0x0f00,0x0f00,0x3600,0x3500,0x3c00,0x3f00,0x3d00,0x0000,0x3500,0x0900,0x0900},
{0x0e00,0x0e1b,0x2e1c,0x3100,0x4300,0x4400,0x4500,0x3400,0x3100,0x3e00,0x3500,0x3f00,0x3100,0x3000,0x2700,0x2800,0x0f33,0x3332,0x4500,0x0f00,0x0f00,0x0f00,0x0f00,0x0000,0x3000,0x4300,0x0f00,0x0f33,0x2734,0x2800,0x3300,0x0000,0x0000,0x0000,0x0000,0x0000,0x3000,0x0f00,0x0f00,0x0f00,0x2700,0x2800,0x4400,0x4400,0x4400,0x0f00,0x0f00,0x0f00,0x3d00,0x4400,0x0e00,0x0e00},
{0x0f00,0x0f33,0x2f32,0x0002,0x0005,0x0003,0x001b,0x001c,0x0000,0x0000,0x0100,0x0000,0x0000,0x0000,0x2a00,0x2900,0x2f33,0x3932,0x0060,0x0002,0x3003,0x2b04,0x2c1b,0x001c,0x0000,0x0000,0x4660,0x0f33,0x2a34,0x291a,0x3306,0x0000,0x0000,0x0000,0x0000,0x0000,0x4600,0x0f00,0x0f00,0x0f00,0x2a00,0x2900,0x2e00,0x0000,0x0000,0x3000,0x3100,0x3100,0x0000,0x0000,0x0f00,0x0f00},
{0x0f0d,0x0f33,0x2f32,0x000e,0x000e,0x0010,0x0033,0x0032,0x0000,0x0002,0x3604,0x381a,0x3607,0x2f02,0x0f04,0x0f07,0x2f33,0x3832,0x000d,0x000e,0x000f,0x440f,0x4433,0x0032,0x000d,0x000d,0x460d,0x0f33,0x0f34,0x0f12,0x3312,0x0000,0x0000,0x0000,0x0000,0x0000,0x4600,0x4500,0x0f00,0x0f00,0x0f00,0x0f00,0x2e00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0f00,0x0f00},
{0x0a19,0x0a33,0x1332,0x0019,0x0019,0x0019,0x3c33,0x0032,0x000d,0x000e,0x3b0f,0x0f10,0x0f10,0x0f11,0x0f10,0x0f10,0x2f33,0x0f32,0x3d19,0x0019,0x0019,0x0019,0x0033,0x3832,0x3819,0x3919,0x4619,0x0f33,0x0f34,0x0f19,0x2e19,0x0000,0x3c00,0x0000,0x0000,0x0000,0x0000,0x0000,0x4500,0x4500,0x0f00,0x0f00,0x2e00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x1400,0x0a00,0x0a00},
{0x0c25,0x0c3f,0x1040,0x1325,0x3525,0x3625,0x373f,0x3840,0x3925,0x3a25,0x0f25,0x0f25,0x0f25,0x0f25,0x0f25,0x0f25,0x2f3f,0x0f40,0x3d25,0x3925,0x3c25,0x3c25,0x383f,0x3740,0x3725,0x0f25,0x0f25,0x0f3f,0x0f40,0x0f25,0x3525,0x3600,0x3700,0x3800,0x3900,0x3500,0x3600,0x3700,0x3800,0x3900,0x0f00,0x0f00,0x3600,0x3700,0x3800,0x3a00,0x3600,0x3900,0x1400,0x1300,0x0c00,0x0c00},
{0x0d31,0x0d31,0x1131,0x1231,0x1331,0x1431,0x1531,0x1631,0x1731,0x1831,0x1931,0x1a31,0x1b31,0x1c31,0x1e31,0x1631,0x1731,0x1831,0x1b31,0x1d31,0x1d31,0x1d31,0x1d31,0x1d31,0x1d31,0x1431,0x1531,0x1731,0x1931,0x1b31,0x1531,0x1700,0x1b00,0x1c00,0x1c00,0x1c00,0x1c00,0x1700,0x1700,0x1700,0x1c00,0x1c00,0x1c00,0x1c00,0x1700,0x1700,0x1d00,0x1d00,0x1200,0x1100,0x0d00,0x0d00}};
mapItem = mapItem1;
mapData = nMapData1;
DrawPos = nDrawPos1;
objItem = objItem1;
cellW = mapInfo1[10];
cellH = mapInfo1[11];
break;
case MAP_2:
// 使用到的图片表
drawImg[0]=CastleCanvas.createImage("map_two");//被使用101次
// 子图片索引表:{图片,左,上,宽,高,[旋转及镜象]}
short nDrawPos2[][]={
{0,0,0,16,16}, //索引:[0]
{0,16,0,16,16}, //索引:[1]
{0,32,0,16,16}, //索引:[2]
{0,48,0,16,16}, //索引:[3]
{0,64,0,16,16}, //索引:[4]
{0,80,0,16,16}, //索引:[5]
{0,96,0,16,16}, //索引:[6]
{0,112,0,16,16}, //索引:[7]
{0,128,0,16,16}, //索引:[8]
{0,144,0,16,16}, //索引:[9]
{0,160,0,16,16}, //索引:[10]
{0,176,0,16,16}, //索引:[11]
{0,0,16,16,16}, //索引:[12]
{0,16,16,16,16}, //索引:[13]
{0,32,16,16,16}, //索引:[14]
{0,48,16,16,16}, //索引:[15]
{0,64,16,16,16}, //索引:[16]
{0,80,16,16,16}, //索引:[17]
{0,96,16,16,16}, //索引:[18]
{0,112,16,16,16}, //索引:[19]
{0,128,16,16,16}, //索引:[20]
{0,144,16,16,16}, //索引:[21]
{0,160,16,16,16}, //索引:[22]
{0,176,16,16,16}, //索引:[23]
{0,0,32,16,16}, //索引:[24]
{0,16,32,16,16}, //索引:[25]
{0,32,32,16,16}, //索引:[26]
{0,48,32,16,16}, //索引:[27]
{0,64,32,16,16}, //索引:[28]
{0,80,32,16,16}, //索引:[29]
{0,96,32,16,16}, //索引:[30]
{0,112,32,16,16}, //索引:[31]
{0,128,32,16,16}, //索引:[32]
{0,144,32,16,16}, //索引:[33]
{0,160,32,16,16}, //索引:[34]
{0,176,32,16,16}, //索引:[35]
{0,0,48,16,16}, //索引:[36]
{0,16,48,16,16}, //索引:[37]
{0,32,48,16,16}, //索引:[38]
{0,48,48,16,16}, //索引:[39]
{0,64,48,16,16}, //索引:[40]
{0,80,48,16,16}, //索引:[41]
{0,96,48,16,16}, //索引:[42]
{0,112,48,16,16}, //索引:[43]
{0,128,48,16,16}, //索引:[44]
{0,144,48,16,16}, //索引:[45]
{0,160,48,16,16}, //索引:[46]
{0,176,48,16,16}, //索引:[47]
{0,0,64,16,16}, //索引:[48]
{0,16,64,16,16}, //索引:[49]
{0,32,64,16,16}, //索引:[50]
{0,48,64,16,16}, //索引:[51]
{0,64,64,16,16}, //索引:[52]
{0,80,64,16,16}, //索引:[53]
{0,96,64,16,16}, //索引:[54]
{0,112,64,16,16}, //索引:[55]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -