How can I use any command really (in c++ programming with Devkit Pro for NDS) to simply print a variably rather than text to a specific location? Here's what I have that prints text:
iprintf("\x1b[1;20HHello");
I found out later that for both iprintf and printf, this is a way to do it:
iprintf("\x1b[%d;%dHText goes here...", y, x); //the x and y are reverse because that is how printf works
You can also manipulate the console directly (including window it and have multiple consoles to print to).
PrintConsole* pc = consoleDemoInit(); pc->cursorX = 10; pc->cursorY = 10; printf("hi");
Here is a bit more detail:
http://libnds.devkitpro.org/a00107.html
Copyright © 2021 Jogjafile Inc.
I found out later that for both iprintf and printf, this is a way to do it: