Hey With Dark GDK they gave an example of a first person shooter they called Dark Dungeons. Well For the level they used strings and char. for the X and Z axis below is a little code clip
void makeLevel()
{
int objectCount = 300;
int charNum = 0;
int stringNum = 0;
int addFloor = 0;
int lightNum = 0; // can have 6 lights max in the level R, G or B
int shadow = 0;
// Define the level
czLevel[0] = "{121 ";
czLevel[1] = " 1$1 ";
czLevel[2] = " 1.1 ";
czLevel[3] = " 1.1 }";
czLevel[4] = "{1.222222222222222221 ";
czLevel[5] = " 1~....C...^........1 ";
czLevel[6] = " 1.o...o...o.@...2221 ";
czLevel[7] = " 1..........r...22221 ";
czLevel[8] = " 1.o.b...x.o.J......1 ";
czLevel[9] = " 1.............s....1 ";
czLevel[10] = " 1.o..*>.P.D.22#22221 ";
czLevel[11] = " 1..T.*.....22.ng...1 ";
czLevel[12] = " 1.....^...22..s....1 ";
czLevel[13] = " 12222222222222#22221}";
czLevel[14] = "{ 122#221 ";
czLevel[15] = " 1#####1 ";
czLevel[16] = " 1#222#1 }";
czLevel[17] = "{122222222222#222#221 ";
czLevel[18] = " 1...........n...n..1 ";
czLevel[19] = " 1..o..C..x.o.......1 ";
czLevel[20] = " 1.....D....b...P...1 ";
czLevel[21] = " 1..@s..@.....^..^..1 ";
czLevel[22] = " 1222#222222222222221}";
czLevel[23] = "{ 1#221 ";
czLevel[24] = " 1###1 ";
czLevel[25] = " 122#1 }";
czLevel[26] = "{122222#222221 ";
czLevel[27] = " 1.....n.....1 ";
czLevel[28] = " 1..C........1 ";
czLevel[29] = " 1......D...^1 ";
czLevel[30] = " 1.....xr....1 ";
czLevel[31] = " 1^..P...T...1 ";
czLevel[32] = " 1...........1 ";
czLevel[33] = " 1..s.*s.*s..1 ";
czLevel[34] = " 122#22#22#221 }";
czLevel[35] = "{ 1#22#22#221 ";
czLevel[36] = " 1#########1 ";
czLevel[37] = " 122222222#1 }";
czLevel[38] = "{12222222222#22222221 ";
czLevel[39] = " 1..........n...^...1 ";
czLevel[40] = " 1..................1 ";
czLevel[41] = " 1.o.......o......o.1 ";
czLevel[42] = " 1....g.............1 ";
czLevel[43] = " 1........x.........1 ";
czLevel[44] = " 1.o..P...........o.1 ";
czLevel[45] = " 1........@...T...@.1 ";
czLevel[46] = " 1..@..M.......r.*..1 ";
czLevel[47] = " 1.o....*..o......o.1 ";
czLevel[48] = " 1.....^.....C.^....1 ";
czLevel[49] = " 12222222222222222221}";
for ( stringNum = 0 ; stringNum < 50 ; stringNum++ )
{
for ( charNum = 0 ; charNum < 22 ; charNum++ )
{
Couldn't I take that and then make a floor2Y and do the same thing for another floor that you can climb up to?
Then There is another Example of Space invaders they gave. Wich would be easier to take there code and change it around adding new guys and main guys or just use there code as a visual example but type it from scratch?
The quality of what a man gives without seeking anything in return shows his integrity.