我正在制作基于文本的PokeMon冒险游戏,我想知道如何在菜单中“文字滚动”而不是制作:
cout << "MENU" << endl;
cout << "[N] New Game" << endl;
cout << "Mode: ";
cin >> option;
如果您不知道我的意思是“文字滚动”,那么这就是我想要的:
#####MENU################################# Now when I press "s" or "down" that
>[N] New Game # ">" thing will go down to where the
+[L] Load Game # "+" symbol is. And when they press
#[O] Options # "enter" they are taken to the loading
#0.0.1a # screen. This also works by pressing
########################################## the "w" or "up" keys.
有没有办法做或者我需要外部库?