C++, Win32 API 게임 소스코드 (물고기 피하기 게임, 벽돌 밟기 게임, 생존게임)
*남*
다운로드
장바구니
소개글
장르 : 아케이드 게임제목 : 너구리 생존 게임
개발환경 : Visual Studio 6.0
구동OS : Windows 7
개발언어 : C++ 및 WIN32 API
전반적인 주요 스킬
- cpp, header의 사용
- class 구현 및 활용
- 윈도우즈 프로그래밍의 기초 이해
- 게임 규칙 특성상 객체의 생성 및 소멸에 커다란 관심 (메모리 관리)
- 이미지 리소스의 활용
게임 설명
- 물에 사는 식인물고기에게 잡아먹히지 않기 위한 생존게임
- 물속에서 올라오는 다양한 종류의 받침대를 밟아가며 목숨을 유지해야한다.
- 제한 HP는 5개이며, 다 줄어들었을 경우에는 자동으로 물속에 빠지게 된다.
- 버틴 시간 초를 실시간으로 갱신하며 사용자에게 보여준다.
기획서 및 사용설명서.hwp
1. 프로젝트 주제
2. 유사 프로그램
3. 프로젝트 명세
4. 결과 화면
5. 실행 방법
개발자 필독.hwp
- 프로젝트환경 구성 관련 내용 포함
소스코드 전체 프로젝트 폴더 포함.
- C++ 파일 7개
- 헤더 파일 7개
- 프로젝트 용량 대략 6Mb 정도됨
- 이미지 자체만 5.6Mb 가량 됨
- 이미지 수정을 원할 경우 기존 이미지 사이즈만 맞춰서 덮어씌우면 됨. (단, 이름도 기존 이미지 파일이름 사용)
프로젝트 소요 기간
- 너구리 모션 추가 [ 1일 ]
- 게임 흐름도 구현 및 인터페이스 구축 [ 1일 ]
- 종류별 받침대 추가 [ 4~5일 ]
- 각각 받침대 옵션 부여 [ 5~7일 ]
- 물고기 추가 [ 1일 ]
- 상단에 위치할 장애물 추가 [ 1~2일 ]
- 공중에서의 중력 효과와 물속에서의 저항 효과 추가 [ 3~4일 ]
- 기포 효과 추가 [ 2~3일 ]
- 기타 부가적인 설정 작업 [ 1~2일 ]
- 디버깅 작업 [ 2일 ]
- 총 [ 21일 ]
컴파일 실행환경
Visual studio 6.0 ( 다운로드시 Visual studio 2010 ultimate 버전에서도 호환하는 방법 수록 )압축파일 내 파일목록
TheRaccoon/BackGournd.cpp
TheRaccoon/BackGround.h
TheRaccoon/Effect.cpp
TheRaccoon/Effect.h
TheRaccoon/Image/bonoBG.bmp
TheRaccoon/Image/fishFrame.bmp
TheRaccoon/Image/gameOverBG.bmp
TheRaccoon/Image/hp.bmp
TheRaccoon/Image/obstacle1.bmp
TheRaccoon/Image/obstacle2.bmp
TheRaccoon/Image/obstacle3.bmp
TheRaccoon/Image/obstacle4_1_1.bmp
TheRaccoon/Image/obstacle4_2_1.bmp
TheRaccoon/Image/obstacle5_1.bmp
TheRaccoon/Image/obstacle5_2.bmp
TheRaccoon/Image/racoonFrame.bmp
TheRaccoon/Image/seaBG.bmp
TheRaccoon/Image/spring.bmp
TheRaccoon/Image/titleBG.bmp
TheRaccoon/Image/water.bmp
TheRaccoon/Obstacle.cpp
TheRaccoon/Obstacle.h
TheRaccoon/Racoon.cpp
TheRaccoon/Racoon.h
TheRaccoon/Shark.cpp
TheRaccoon/Shark.h
TheRaccoon/Spring.cpp
TheRaccoon/Spring.h
TheRaccoon/TheRaccoon.dsp
TheRaccoon/TheRaccoon.dsw
TheRaccoon/TheRaccoon.exe
TheRaccoon/TheRaccoon.ncb
TheRaccoon/TheRaccoon.opt
TheRaccoon/TheRaccoon.plg
TheRaccoon/_Main.cpp
TheRaccoon/_WholeDef.h
개발자 필독.hwp
기획서 및 사용설명서.hwp
TheRaccoon/BackGround.h
TheRaccoon/Effect.cpp
TheRaccoon/Effect.h
TheRaccoon/Image/bonoBG.bmp
TheRaccoon/Image/fishFrame.bmp
TheRaccoon/Image/gameOverBG.bmp
TheRaccoon/Image/hp.bmp
TheRaccoon/Image/obstacle1.bmp
TheRaccoon/Image/obstacle2.bmp
TheRaccoon/Image/obstacle3.bmp
TheRaccoon/Image/obstacle4_1_1.bmp
TheRaccoon/Image/obstacle4_2_1.bmp
TheRaccoon/Image/obstacle5_1.bmp
TheRaccoon/Image/obstacle5_2.bmp
TheRaccoon/Image/racoonFrame.bmp
TheRaccoon/Image/seaBG.bmp
TheRaccoon/Image/spring.bmp
TheRaccoon/Image/titleBG.bmp
TheRaccoon/Image/water.bmp
TheRaccoon/Obstacle.cpp
TheRaccoon/Obstacle.h
TheRaccoon/Racoon.cpp
TheRaccoon/Racoon.h
TheRaccoon/Shark.cpp
TheRaccoon/Shark.h
TheRaccoon/Spring.cpp
TheRaccoon/Spring.h
TheRaccoon/TheRaccoon.dsp
TheRaccoon/TheRaccoon.dsw
TheRaccoon/TheRaccoon.exe
TheRaccoon/TheRaccoon.ncb
TheRaccoon/TheRaccoon.opt
TheRaccoon/TheRaccoon.plg
TheRaccoon/_Main.cpp
TheRaccoon/_WholeDef.h
개발자 필독.hwp
기획서 및 사용설명서.hwp
참고 자료
참고서적- Windows API 정복 김상형 저.
- 서적에서는 기본적인 API 활용에 대해서만 참고
- 기타 모든 내용에 대해서는 (알고리즘 뿐 아니라 C++ 기초지식 등) 본인 혼자 모두 구현 및 작성.