monkeyx Posted May 9 Report Share Posted May 9 Hi, This is how levels and sprites are defined. So if you could share however your designs are defined. I could look to convert them. Thanks example sprite -- [1] sprite index 0: Robot (Central Cavern) { {7968,14816,6624,3872,40704,24448,65472,24064,40896,8064,3584,7936,48032,29120,8320,4352}, {1988,3708,1660,9156,6080,6112,16368,6128,6128,10208,896,896,1728,1728,7280,1728}, {498,926,414,242,2544,1528,4092,1504,2556,504,224,224,224,224,224,496}, {125,231,103,61,124,127,1020,120,124,127,56,56,108,108,455,108}, {48640,59136,58880,48128,15872,65024,16320,7680,15872,65024,7168,7168,13824,13824,58240,13824}, {20352,31168,31104,20224,3984,8096,16368,1952,16272,8064,1792,1792,1792,1792,1792,3968}, {9184,15984,15968,9156,1000,2024,4092,4072,4072,2020,448,448,864,864,3640,864}, {1272,1948,1944,1264,249,506,1023,122,1017,504,112,248,1501,910,260,136}, }, Example level { name = "Central Cavern", data = { 2,0,0,0,0,0,0,0,0,7,0,6,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,7,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,7,0,0,5,0,0,0,2, 2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,3,4,4,4,4,3,3,3,3,3,3,3,3,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,2, 2,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,5,0,0,0,0,0,0,0,0,0,2, 2,3,3,3,3,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,2,2,2,4,4,4,4,4,3,3,3,2, 2,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, 2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2 }, gfx = { {0,0,0,0,0,0,0,0}, {240,102,240,102,0,153,255,0}, {221,0,119,0,221,0,119,0}, {255,255,219,110,197,64,0,0}, {255,219,165,36,82,32,8,0}, {68,40,148,81,53,214,88,16}, {255,254,126,124,76,76,8,8}, {48,72,136,144,104,4,10,4} }, info = { {colour=0x00,type=T_SPACE}, {colour=0x0c,type=T_CONVEYL}, {colour=0xea,type=T_SOLID}, {colour=0x0a,type=T_FLOOR}, {colour=0x0a,type=T_COLLAPSE}, {colour=0x04,type=T_HARM}, {colour=0x05,type=T_HARM}, {colour=0x00,type=T_ITEM} } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.