공룡게임1 2022-05-04 동아리, 공룡 점프 코드 분석하기 #include #include #include #define DINO_BOTTOM_Y 12 #define TREE_BOTTOM_Y 20 #define TREE_BOTTOM_X 45 //콘솔 창의 크기와 제목을 지정하는 함수 void SetConsoleView() { /* system()함수는 우리가 윈도우 창에서 콘솔창을 띄워 cmd 명령을 내리는 과정을 다이렉트로 실행시키는 함수. */ system("mode con:cols=100 lines=25"); system("title Google Dinosaurs. By BlockDMask"); } //커서의 위치를 x, y로 이동하는 함수 void GotoXY(int x, int y) // 콘솔 창의 커서를 특정 위치로 이동시키기 위한 함수 { /* 구조.. 2022. 5. 4. 이전 1 다음