Re: Graphic layers?
Posted: Thu Jun 25, 2009 12:02 am
technically if you went totally insane you could do it with loves vector support
What I meant was, people like to make their maps in tables as apart of the actual lua file, I thought that's what you had meant. The grid based approach I should've said to be usable only in an editor and not in the actual script files, like, dynamically rendering them based off a grid stored in a table would be a bad approach, mostly because it would be alot of calls to love.graphics.* commands. (although I hear the LOVE team are coming up with a new way to call lots of draw commands at once)Jasoco wrote:Explain what you mean. A map in a tile based game is basically a grid of numbers or letters representing objects to draw. Whether its stored in ASCII or binary.Zorbatron wrote:A good, full game, would not use a grid based numeratical layout for their maps, everyone does not, and should not use this method. Regardless you could load them when the game loads even if you don't have them precompiled. You should really consider making a basic tilemap editor for yourself if you want to make a decent game.
I already have a tilemap editor I made actually.
I should show you guys what I've done with JavaScript, CSS and HTML5. If I can replicate it in LÖVE, I'd be impressed extremely. Especially if it kept a steady 60FPS.
Here's a curious question, at any point is LÖVE going to consider doing basic 3D? I know it's "LÖVE2D" but simple 3D would be awesome. Even if it was just plain old SNES SuperFX style 3D. (Think StarFox) Maybe for the future. Since the program uses OpenGL and stuff and is able to do it very fast.
Honestly? A 3D engine coded in lua making calls to 2D drawing commands? Theres something that handles that already, its called a GPU. In other words, doing all that math and crap is, not only slow as hell (although suprisingly faster than I expected), its also useless when you could do it all with a C++ library, or better yet, someone could just include 3D libs and recompile LOVE with it (I'm talking about LOVE users not the dev team).bartbes wrote:This subject has come up before and the answer will be and always has been "the goal is to create an easy-to-use 2D engine", anyway, if you really want 3d you may want to check out gLöve/Löve3D which is floating around in projects and demos. (link on the front page of the wiki)
Code: Select all
30 30 31 31 31 8 8 8 8 8 31 41 30 30 31 31 30 30 30 30
30 31 1 1 1 9 9 9 9 9 1 41 31 31 1 1 31 31 30 30
30 1 1 1 1 11 11 11 11 11 3 37 34 1 1 1 1 1 31 30
30 1 1 1 1 10 10 10 10 10 3 3 41 1 1 1 1 1 1 31
30 1 1 1 1 1 1 7 7 7 7 7 6 7 7 7 7 7 7 7
30 1 1 1 1 1 1 1 1 7 1 1 41 1 1 1 1 1 1 29
30 1 1 1 1 1 1 1 1 7 1 1 37 34 1 1 1 1 1 30
30 29 1 1 1 1 1 1 1 7 1 1 1 41 1 1 1 1 1 30
31 31 2 32 40 40 40 40 40 4 40 40 40 38 34 1 1 1 1 30
40 40 40 39 1 1 1 1 1 7 1 1 1 1 41 1 1 1 1 30
29 29 29 29 29 1 1 1 1 7 1 1 29 1 41 1 1 1 29 30
30 30 30 30 30 29 29 29 1 7 1 29 30 29 41 29 29 29 30 30
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 0 0 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1
1 0 0 0 0 1 1 1 1 1 0 1 1 0 0 0 0 0 1 1
1 0 0 0 0 1 1 0 1 1 0 0 1 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1
1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1
1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 0 0 1
1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1
1 1 1 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 1
1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1
Code: Select all
mN = "The Village Inn";
mD[0] = ["0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::"];
mD[1] = ["0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "2_3:1:::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::1_5::", "0_3:1:::::", "0_3:1:::::", "2_2:1:::::", "2_2:1:::::", "2_2:1:::::", "2_2:1:::::", "2_2:1:::::", "2_2:1:::::", "2_2:1:::::", "2_2:1:::::", "0_3:1:::::"];
mD[2] = ["0_3:1:::::", "0_3:1:::::", "2_2:1:::::", "2_3:1:::::", "7_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "0_3:1:::::", "0_3:1:::0_6::0_5", "5_1:1:::::", "0_3:1:::2_6::", "2_3:1:::::", "3_0::::::", "3_0::::::", "4_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "0_3:1:::::"];
mD[3] = ["0_3:1:::::", "2_3:1:::::", "1_4::::::", "2_4::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "1_3:1:::::", "3_1:1:::::", "5_1:1:::::", "7_1:1:::::3_5", "3_0::::::2_5", "6_0::::0_0::2_5", "3_0::::::2_5", "3_0::::::2_5", "3_0::::::2_5", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "0_3:1:::::"];
mD[4] = ["0_3:1:::::", "7_0::::::", "4_0::::::", "3_0::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "3_1:1:::::", "5_1:1:::1_6::", "7_1:1:::::3_6", "7_4:1:::::", "7_4:1:::::", "7_4:1:::::", "7_4:1:::::", "7_4:1:::::", "3_0::::::", "5_0::::::", "4_0::::::", "3_0::::::", "0_3:1:::::"];
mD[5] = ["0_3:1:::::", "3_0::::::", "5_0::::::", "3_0:1::3_2:::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "3_1:1:::0_7::", "3_3:1:::::", "7_1:1:::2_7::", "4_2:1::4_2:::", "4_2:1::6_2:::", "4_2:1::2_1:::", "4_2:1::4_2:::", "4_2:1::6_2:2_8::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "1_3:1:::::"];
mD[6] = ["0_3:1:::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "3_3:1::4_2:0_8::", "3_3:1::5_2:::", "3_3:1::6_2:2_8::", "4_3:1::4_2:::2_2", "4_3:1::6_2:::", "4_3::1:4_0:::0_0", "4_3:1::4_2:::", "4_3:1::6_2:2_8::", "1_2:1:::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::"];
mD[7] = ["0_3:1:::::2_5", "3_0::::::2_5", "3_0::::::2_5", "4_0::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "4_3:1::4_2:0_8::", "4_3:1::5_2:::", "4_3:1::6_2:2_8::", "0_4:1:::::", "3_0:::1_1:::", "3_5::1::::", "4_6::::::", "4_6::::::", "0_6::::::", "0_6::::::", "0_6::::::", "0_6::::::", "0_6::::::", "0_6::::::"];
mD[8] = ["7_4:1:::::", "7_4:1:::::", "7_4:1:::::", "3_0::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "0_5::::::", "6_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::2_2"];
mD[9] = ["3_2:1::0_8:::2_2", "3_2::1:4_1:::0_0", "3_2:1::2_8:::", "3_0::::::", "3_0:1::1_0:::", "2_0:1::2_13:1_4::", "2_0:1::4_13:2_4::", "3_0::::::", "3_0::::::", "5_0::::::", "3_0:1::0_1:::", "3_0::::::", "3_0::::::", "0_5::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "0_3:1:::::"];
mD[10] = ["0_3:1:::::", "4_6::1::::", "4_6::::::", "0_6::::::", "0_6::::::", "1_1::1::::1_4", "1_1::1::::2_4", "0_6::::::", "0_6::::::", "0_6::::::", "0_6::::::", "0_6::::::", "0_6::::::", "2_6::::::", "3_0::::::", "3_0::::::", "3_0::::::", "6_0::::::", "3_0::::::", "3_0::::::2_2", "0_3:1:::::"];
mD[11] = ["0_3:1:::::", "3_0::::::", "3_0::::::", "4_0::::::", "3_0::::::", "2_0:1::2_13:1_3::", "2_0:1::4_13:2_3::", "3_0::::::", "3_0::::::", "3_0::::::2_2", "4_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "4_0::::::", "3_0::::::", "3_0::::::", "4_0::::::", "1_3:1:::::", "0_3:1:::::"];
mD[12] = ["0_3:1:::::", "3_0::::::", "5_0::::::", "3_0::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "6_0::::::", "0_4:1:::::", "3_0::::::", "3_0::::::", "3_0::::::", "5_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "0_3:1:::::"];
mD[13] = ["0_3:1:::::", "0_2:1:::::", "0_2:1:::::", "3_0::::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "3_0::::::", "3_0::::::", "3_0::::::", "4_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "0_3:1:::::"];
mD[14] = ["0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_2:1:::::", "3_0::::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "5_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "6_0::::::", "3_0::::::", "3_0::::::", "3_0::::::", "6_0::::::", "3_0::::::", "0_3:1:::::"];
mD[15] = ["0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_3:1:::::", "0_2:1:::::", "2_0:1::2_13:::", "2_0:1::4_13:::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_2:1:::::", "0_3:1:::::"];
hitZone[0].x = 16;
hitZone[0].y = 282;
hitZone[0].w = 64;
hitZone[0].h = 40;
hitZone[0].s = 7;
hitZone[0].e = 1;
hitZone[1].x = 400;
hitZone[1].y = 186;
hitZone[1].w = 64;
hitZone[1].h = 40;
hitZone[1].s = 15;
hitZone[1].e = 1;
hitZone[2].x = 400;
hitZone[2].y = 400;
hitZone[2].w = 100;
hitZone[2].h = 100;
hitZone[2].s = 500;
hitZone[2].e = 1;
Code: Select all
0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0203_0000_0000_0000_0000_x. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0105_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0202_0000_0000_0000_0000_x. 0203_0000_0000_0000_0000_x. 0700_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0006_0005_x. 0501_0000_0000_0000_0000_x. 0003_0000_0000_0206_0000_x. 0203_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0400_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0203_0000_0000_0000_0000_x. 0104_0000_0000_0000_0000_.. 0204_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0103_0000_0000_0000_0000_x. 0301_0000_0000_0000_0000_x. 0501_0000_0000_0000_0000_x. 0701_0000_0000_0000_0305_x. 0300_0000_0000_0000_0205_.. 0600_0000_0000_0000_0205_.. 0300_0000_0000_0000_0205_.. 0300_0000_0000_0000_0205_.. 0300_0000_0000_0000_0205_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0700_0000_0000_0000_0000_.. 0400_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0301_0000_0000_0000_0000_x. 0501_0000_0000_0000_0106_x. 0701_0000_0000_0000_0306_x. 0704_0000_0000_0000_0000_x. 0704_0000_0000_0000_0000_x. 0704_0000_0000_0000_0000_x. 0704_0000_0000_0000_0000_x. 0704_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0500_0000_0000_0000_0000_.. 0400_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0500_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0301_0000_0000_0000_0007_x. 0303_0000_0000_0000_0000_x. 0701_0000_0000_0000_0207_x. 0402_0402_0000_0000_0000_x. 0402_0602_0000_0000_0000_x. 0402_0201_0000_0000_0000_x. 0402_0402_0000_0000_0000_x. 0402_0602_0208_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0103_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0303_0402_0008_0000_0000_x. 0303_0502_0000_0000_0000_x. 0303_0602_0208_0000_0000_x. 0403_0402_0202_0000_0000_x. 0403_0602_0000_0000_0000_x. 0403_0400_0000_0000_0000_.. 0403_0402_0000_0000_0000_x. 0403_0602_0208_0000_0000_x. 0102_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_..
0003_0000_0000_0000_0205_x. 0300_0000_0000_0000_0205_.. 0300_0000_0000_0000_0205_.. 0400_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0403_0402_0008_0000_0000_x. 0403_0502_0000_0000_0000_x. 0403_0602_0208_0000_0000_x. 0004_0000_0000_0000_0000_x. 0300_0101_0000_0000_0000_.. 0305_0000_0000_0000_0000_.. 0406_0000_0000_0000_0000_.. 0406_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_..
0704_0000_0000_0000_0000_x. 0704_0000_0000_0000_0000_x. 0704_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0005_0000_0000_0000_0000_.. 0600_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0202_..
0302_0202_0000_0000_0000_x. 0302_0401_0000_0000_0000_.. 0302_0000_0000_0000_0208_x. 0300_0000_0000_0000_0000_.. 0300_0100_0000_0000_0000_x. 0200_0213_0104_0000_0000_x. 0200_0413_0204_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0500_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0005_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0406_0000_0000_0000_0000_.. 0406_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0101_0000_0000_0000_0104_.. 0101_0000_0000_0000_0204_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0006_0000_0000_0000_0000_.. 0206_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0202_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0400_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0202_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0103_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0500_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0600_0000_0000_0000_0000_.. 0004_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0400_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0300_0000_0000_0000_0000_.. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0500_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0600_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0600_0000_0000_0000_0000_.. 0300_0000_0000_0000_0000_.. 0003_0000_0000_0000_0000_x.
0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0200_0213_0000_0000_0000_x. 0200_0413_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0002_0000_0000_0000_0000_x. 0003_0000_0000_0000_0000_x.
Though we're kind of off-topic, you can just compile a C lib in the next version using love.native.Zorbatron wrote:Honestly? A 3D engine coded in lua making calls to 2D drawing commands? Theres something that handles that already, its called a GPU. In other words, doing all that math and crap is, not only slow as hell (although suprisingly faster than I expected), its also useless when you could do it all with a C++ library, or better yet, someone could just include 3D libs and recompile LOVE with it (I'm talking about LOVE users not the dev team).
It's an interesting project gLOVE, but the actual focus and usability of it is like making a house out of sticks and hay.
Me? The .map file is loaded once per screen. When you first enter it. All the variables are loaded into multidimensional arrays:bartbes wrote:Do you store the map in memory, or the contents of the file, or do you start reading the file over and over again?