+ 1

I'm making a mario game and I made mario with help of computer graphics but how do I move mario ?

moving of mario

16th Mar 2017, 7:13 AM
Shûbhãm ßìsht
Shûbhãm ßìsht - avatar
2 odpowiedzi
0
In Cpp I think you are using graphics.h to do that. To move your character you need to assign all the Cordinates of your Mario via variables. Then u can put code for your mario in a loop and increment the coordinate variable and also use delay of a sec or two according to us need.
16th Mar 2017, 7:53 AM
Ramjivan Jangid
Ramjivan Jangid - avatar
0
I m making consol base game , I have to move mario from up ,down ,left,right button how do I do that?
16th Mar 2017, 9:38 AM
Shûbhãm ßìsht
Shûbhãm ßìsht - avatar