iPhone, iPod OpenGL ES 기반 슈팅 게임 source code
*상*
다운로드
장바구니
소개글
apple iPhone과 iPod용 슈팅 게임 소스 코드입니다.iPhone OS 2.0이상 모두에서 돌아가며, 실제 iPod에서의 실행도 확인하였습니다.
OpenGL ES기반에서 Objective-C로 작성되었으며, 애플 아이폰, 아이팟 프로그래밍과 게임 제작에 대한 프로세스를 알 수 있도록 게임 자체는 되도록 심플하게 작성하였지만, 멀티 터치 기능도 들어있습니다.
소스 코드 내부에 주석 달았습니다.
컴파일 실행환경
XCode 3.1.3, iPhone OS 2.0 이상압축파일 내 파일목록
SimpleShooter/bg0.png
SimpleShooter/bg1.png
SimpleShooter/bg2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bg0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bg1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bg2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bullet.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_down.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_fire.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_left.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_right.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_up.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/enemy0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/enemy1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo3.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo4.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo5.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo6.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/Info.plist
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/MainWindow.nib
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/PkgInfo
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/plane0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/plane1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/plane2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/SimpleShooter
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo3.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo4.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo5.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app.dSYM/Contents/Info.plist
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app.dSYM/Contents/Resources/DWARF/SimpleShooter
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/BulletSprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/EAGLView.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/EnemySprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/main.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/ObstacleSprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/ObstacleSprite.o~$
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/OpenGLES2DView.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/PlaneSprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/PlaneSprite.o~$
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/SimpleShooter.LinkFileList
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/SimpleShooterAppDelegate.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/Sprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/Texture2D.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-all-target-headers.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-generated-files.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-own-target-headers.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-project-headers.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter.dep
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter~.dep
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/categories.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/cdecls.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/decls.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/files.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/imports.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/pbxindex.header
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/protocols.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/refs.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/strings.pbxstrings/control
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/strings.pbxstrings/strings
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/subclasses.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/symbols0.pbxsymbols
__MACOSX/SimpleShooter/build/SimpleShooter.build/._SimpleShooter.pbxindex
__MACOSX/SimpleShooter/build/._SimpleShooter.build
__MACOSX/SimpleShooter/._build
SimpleShooter/bullet.png
SimpleShooter/button_down.png
SimpleShooter/button_fire.png
SimpleShooter/button_left.png
SimpleShooter/button_right.png
SimpleShooter/button_up.png
SimpleShooter/Classes/BulletSprite.h
__MACOSX/SimpleShooter/Classes/._BulletSprite.h
SimpleShooter/Classes/BulletSprite.m
__MACOSX/SimpleShooter/Classes/._BulletSprite.m
SimpleShooter/Classes/Constants.h
__MACOSX/SimpleShooter/Classes/._Constants.h
SimpleShooter/Classes/EAGLView.h
__MACOSX/SimpleShooter/Classes/._EAGLView.h
SimpleShooter/Classes/EAGLView.m
__MACOSX/SimpleShooter/Classes/._EAGLView.m
SimpleShooter/Classes/EnemySprite.h
__MACOSX/SimpleShooter/Classes/._EnemySprite.h
SimpleShooter/Classes/EnemySprite.m
__MACOSX/SimpleShooter/Classes/._EnemySprite.m
SimpleShooter/Classes/ObstacleSprite.h
__MACOSX/SimpleShooter/Classes/._ObstacleSprite.h
SimpleShooter/Classes/ObstacleSprite.m
__MACOSX/SimpleShooter/Classes/._ObstacleSprite.m
SimpleShooter/Classes/PlaneSprite.h
__MACOSX/SimpleShooter/Classes/._PlaneSprite.h
SimpleShooter/Classes/PlaneSprite.m
__MACOSX/SimpleShooter/Classes/._PlaneSprite.m
SimpleShooter/Classes/SimpleShooterAppDelegate.h
__MACOSX/SimpleShooter/Classes/._SimpleShooterAppDelegate.h
SimpleShooter/Classes/SimpleShooterAppDelegate.m
__MACOSX/SimpleShooter/Classes/._SimpleShooterAppDelegate.m
SimpleShooter/Classes/Sprite.h
__MACOSX/SimpleShooter/Classes/._Sprite.h
SimpleShooter/Classes/Sprite.m
__MACOSX/SimpleShooter/Classes/._Sprite.m
SimpleShooter/Classes/Texture2D.h
SimpleShooter/Classes/Texture2D.m
SimpleShooter/enemy0.png
SimpleShooter/enemy1.png
SimpleShooter/explo0.png
SimpleShooter/explo1.png
SimpleShooter/explo2.png
SimpleShooter/explo3.png
SimpleShooter/explo4.png
SimpleShooter/explo5.png
SimpleShooter/explo6.png
SimpleShooter/main.m
__MACOSX/SimpleShooter/._main.m
SimpleShooter/MainWindow.xib
SimpleShooter/plane0.png
SimpleShooter/plane1.png
SimpleShooter/plane2.png
SimpleShooter/SimpleShooter-Info.plist
SimpleShooter/SimpleShooter.xcodeproj/jinbook.mode1v3
SimpleShooter/SimpleShooter.xcodeproj/jinbook.pbxuser
SimpleShooter/SimpleShooter.xcodeproj/project.pbxproj
SimpleShooter/SimpleShooter_Prefix.pch
SimpleShooter/smallexplo0.png
SimpleShooter/smallexplo1.png
SimpleShooter/smallexplo2.png
SimpleShooter/smallexplo3.png
SimpleShooter/smallexplo4.png
SimpleShooter/smallexplo5.png
SimpleShooter/bg1.png
SimpleShooter/bg2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bg0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bg1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bg2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/bullet.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_down.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_fire.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_left.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_right.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/button_up.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/enemy0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/enemy1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo3.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo4.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo5.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/explo6.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/Info.plist
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/MainWindow.nib
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/PkgInfo
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/plane0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/plane1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/plane2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/SimpleShooter
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo0.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo1.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo2.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo3.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo4.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app/smallexplo5.png
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app.dSYM/Contents/Info.plist
SimpleShooter/build/Debug-iphonesimulator/SimpleShooter.app.dSYM/Contents/Resources/DWARF/SimpleShooter
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/BulletSprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/EAGLView.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/EnemySprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/main.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/ObstacleSprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/ObstacleSprite.o~$
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/OpenGLES2DView.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/PlaneSprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/PlaneSprite.o~$
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/SimpleShooter.LinkFileList
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/SimpleShooterAppDelegate.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/Sprite.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/Objects-normal/i386/Texture2D.o
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-all-target-headers.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-generated-files.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-own-target-headers.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter-project-headers.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter.dep
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter.hmap
SimpleShooter/build/SimpleShooter.build/Debug-iphonesimulator/SimpleShooter.build/SimpleShooter~.dep
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/categories.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/cdecls.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/decls.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/files.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/imports.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/pbxindex.header
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/protocols.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/refs.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/strings.pbxstrings/control
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/strings.pbxstrings/strings
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/subclasses.pbxbtree
SimpleShooter/build/SimpleShooter.build/SimpleShooter.pbxindex/symbols0.pbxsymbols
__MACOSX/SimpleShooter/build/SimpleShooter.build/._SimpleShooter.pbxindex
__MACOSX/SimpleShooter/build/._SimpleShooter.build
__MACOSX/SimpleShooter/._build
SimpleShooter/bullet.png
SimpleShooter/button_down.png
SimpleShooter/button_fire.png
SimpleShooter/button_left.png
SimpleShooter/button_right.png
SimpleShooter/button_up.png
SimpleShooter/Classes/BulletSprite.h
__MACOSX/SimpleShooter/Classes/._BulletSprite.h
SimpleShooter/Classes/BulletSprite.m
__MACOSX/SimpleShooter/Classes/._BulletSprite.m
SimpleShooter/Classes/Constants.h
__MACOSX/SimpleShooter/Classes/._Constants.h
SimpleShooter/Classes/EAGLView.h
__MACOSX/SimpleShooter/Classes/._EAGLView.h
SimpleShooter/Classes/EAGLView.m
__MACOSX/SimpleShooter/Classes/._EAGLView.m
SimpleShooter/Classes/EnemySprite.h
__MACOSX/SimpleShooter/Classes/._EnemySprite.h
SimpleShooter/Classes/EnemySprite.m
__MACOSX/SimpleShooter/Classes/._EnemySprite.m
SimpleShooter/Classes/ObstacleSprite.h
__MACOSX/SimpleShooter/Classes/._ObstacleSprite.h
SimpleShooter/Classes/ObstacleSprite.m
__MACOSX/SimpleShooter/Classes/._ObstacleSprite.m
SimpleShooter/Classes/PlaneSprite.h
__MACOSX/SimpleShooter/Classes/._PlaneSprite.h
SimpleShooter/Classes/PlaneSprite.m
__MACOSX/SimpleShooter/Classes/._PlaneSprite.m
SimpleShooter/Classes/SimpleShooterAppDelegate.h
__MACOSX/SimpleShooter/Classes/._SimpleShooterAppDelegate.h
SimpleShooter/Classes/SimpleShooterAppDelegate.m
__MACOSX/SimpleShooter/Classes/._SimpleShooterAppDelegate.m
SimpleShooter/Classes/Sprite.h
__MACOSX/SimpleShooter/Classes/._Sprite.h
SimpleShooter/Classes/Sprite.m
__MACOSX/SimpleShooter/Classes/._Sprite.m
SimpleShooter/Classes/Texture2D.h
SimpleShooter/Classes/Texture2D.m
SimpleShooter/enemy0.png
SimpleShooter/enemy1.png
SimpleShooter/explo0.png
SimpleShooter/explo1.png
SimpleShooter/explo2.png
SimpleShooter/explo3.png
SimpleShooter/explo4.png
SimpleShooter/explo5.png
SimpleShooter/explo6.png
SimpleShooter/main.m
__MACOSX/SimpleShooter/._main.m
SimpleShooter/MainWindow.xib
SimpleShooter/plane0.png
SimpleShooter/plane1.png
SimpleShooter/plane2.png
SimpleShooter/SimpleShooter-Info.plist
SimpleShooter/SimpleShooter.xcodeproj/jinbook.mode1v3
SimpleShooter/SimpleShooter.xcodeproj/jinbook.pbxuser
SimpleShooter/SimpleShooter.xcodeproj/project.pbxproj
SimpleShooter/SimpleShooter_Prefix.pch
SimpleShooter/smallexplo0.png
SimpleShooter/smallexplo1.png
SimpleShooter/smallexplo2.png
SimpleShooter/smallexplo3.png
SimpleShooter/smallexplo4.png
SimpleShooter/smallexplo5.png