|I had this idea if I could build an ASCII map from a set of coordinates that looks like this:|
The x coordinate specifies the horizontal position (coloumn number), and the y is the vertical position (line number).
I came up with this script to assemble the map inside cmd:
Echo Drawing world...
for /f "tokens=1,2* delims=;" %%A in (asciiMap.txt) do (
for /f "tokens=1,2 delims==" %%C in ("%%B") do (
call :sr_Draw "%%D"
pause > nul
echo | set /p drawChar=%1
But every time a special character is attempted to be drawn, it outputs
The system cannot find the drive specified
I know I can comment out the special chars, but I don't know how to make it work with ALL characters. Is there a way around this? (Doesn't have to be compatible with all chars, only the most common ones in ASCII drawings).
99 little bugs in the code,
99 little bugs.
Take one down, patch it around,
129 little bugs in the code.
message edited by RainBawZ