move a character in a game in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

move a character in a game in C

how can I move a character or character created by an ascii for a game in c?

9th Feb 2020, 7:21 PM
Nicola
Nicola  - avatar
6 Answers
+ 4
How are you displaying the game? You can't do that in console programs.
9th Feb 2020, 7:28 PM
Kevin ★
+ 1
I don't think u can do it in normal text mode. U will have to do graphics programming in C using Dosbox.
9th Feb 2020, 7:56 PM
Peter Parker
Peter Parker - avatar
0
if i use the executable file from terminal can i do that ?
9th Feb 2020, 7:35 PM
Nicola
Nicola  - avatar
0
i have made a labyrinth with ascii code and i want to move a character from A to B
9th Feb 2020, 8:04 PM
Nicola
Nicola  - avatar
0
U can do it on Dosbox. Dosbox is for graphics mode
9th Feb 2020, 8:08 PM
Peter Parker
Peter Parker - avatar
0
what is the use of dosbox ?
9th Feb 2020, 8:42 PM
Nicola
Nicola  - avatar