Recently I coded an animation system in the C programming language. This system works pretty well, however, upon invoking C’s
putchar() function to print a
rn (untested), the animation system breaks and moves all previously rendered text down. This is of course expected behavior, but in order for the animations to work, I must have a sprite (say a circle) printed on top of a pre-rendered background image.
What I’ve tried
Honestly, I’m not quite sure what to do… I’m aware I could code something to move to the next line and back to the initial sprite X-position, but this can obviously break quite easily. Can you achieve this using standard library functions? Thanks!
Source: Windows Questions C++