Now, this is my problem, and I was wondering, is there a way that the following can be done???
1) My plan is to make a small console program, where you have a space craft moving about the screen, but the problem is the control. My idea was to do this to make up movement (the other directions I haven't programmed in yet)...
My idea was that I could make a basic space craft using ASCII letters (space craft not the finished product), now, the way I was going to do the control bit was to make it so that it printed an empty new line above the picture, therefore making it drop a line, also, for moving up, I was thinking of making it so that it printed a line above itself so that the space craft looked like it was moving down. This idea would then be expanded on horizontal directions, and so give control, but the problem is making it do that...
I no, this is a tall order, but r there any ideasCode:system ("cls"); cout << "" << endl; cout << " | A |" << endl; cout << " | A A |" << endl; cout << " AAAAAA" << endl; cin >> a; if(a == 1) { cout << "" << endl; \\This line of code needs to be \\shown above the space craft } else if(a == 2) { }



LinkBack URL
About LinkBacks



