Game Du Skill
- Posted by Paul Kerslake <paulk at UNISERVE.COM> Jan 12, 2001
- 428 views
------=_NextPart_000_0043_01C07CC3.FE6E91E0 charset="iso-8859-1" Hey, all. I'm thinking of starting a role-playing game and I thought I'd use = the Dragon Warrior top down view. I then got to thinking I should use a = TXT file, with a series of numbers that represent the landscape.=20 Like this: 1=3Dgrass plain 2=3Dhills 11112222111 Which would make 4 squares of grass plains, the 4 hills, the 3 more = grass plains. The problem is, I don't know how to read and write files. = Even a text file for crying out loud. So, if one of you great big gurus = in the sky could teach me how to read and write text files. -----Thanks -------------------/\=3D=3D=3D=3DThomas ------=_NextPart_000_0043_01C07CC3.FE6E91E0 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hey, all.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2> I'm thinking of = starting a=20 role-playing game and I thought I'd use the <EM>Dragon Warrior </EM>top = down=20 view. I then got to thinking I should use a TXT file, with a series of = numbers=20 that represent the landscape. </FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Like this:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>1=3Dgrass plain</FONT></DIV> <DIV><FONT face=3DArial size=3D2>2=3Dhills</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>11112222111</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Which would make 4 squares of grass = plains, the 4=20 hills, the 3 more grass plains. The problem is, I don't know how to read = and=20 write files. Even a text file for crying out loud. So, if one of you = great big=20 gurus in the sky could teach me how to read and write text = files.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>-----Thanks</FONT></DIV> <DIV><FONT face=3DArial = ------=_NextPart_000_0043_01C07CC3.FE6E91E0--