I'm trying to make a ASCII art game in batch and I'm having problems with color. I'm new to batch and I would like a simple answer.
@echo off
echo Hello
color 01
echo hello
color 02
echo hEllo
color 03
echo heLlo
color 04
echo helLo
color 05
echo hellO
This is my code I'm trying to make the text difference colors but it isn't working. If I need to be more specific I can just ask!
(I'm trying to make a game with a similar art style to dwarf fortress, If you have suggestions to a better EASY language to use 'Thank You!')
答案 0 :(得分:0)
检查coloroutput.bat。您可以像以下一样使用它:
call coloroutput.bat -s hello -f 1 -b 0
call coloroutput.bat -s hello -f 0 -b 1
call coloroutput.bat -s hello -f 0 -b 2
call coloroutput.bat -s hello -f 0 -b 3
call coloroutput.bat -s hello -f 0 -b 4
call coloroutput.bat -s hello -f 0 -b 5
call coloroutput.bat -s hello -f 0 -b 6
了解更多信息 - coloroutput.bat -help