Skip to content

bamtoll09/GROWN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroEngine 예제 코드

ZeroEngine 예제 코드입니다.

요구 사항

  • Visual Studio 2012 이상의 IDE

설치

  1. DirectX 9 SDK를 다운로드받아 설치합니다. 기본 옵션으로 설치하시면 되고, 설치 후 나오는 S1023 오류는 무시해도 됩니다.
  2. git clone https://github.com/zer0pen/ZeroEngine.git 명령 혹은 Clone in Desktop으로 ZeroEngine Git 저장소를 복제합니다.
  3. git clone https://github.com/zer0pen/ZeroEngine-Example.git 명령 혹은 Clone in Desktop으로 이 Git 저장소를 복제합니다.
  4. 2와 3에서 받은 프로젝트를 한 폴더에 넣습니다. 그렇게 되면 폴더 구조는 다음과 같습니다:
Root
├─ZeroEngine
│  └─ZeroEngine
│      ├─Include
│      └─Texture
│          ├─Shader
│          │  └─NightVision
│          └─Transition
└─ZeroEngine-Example
    └─ZeroEngine
        ├─Include
        ├─Lib
        ├─Sound
        └─Texture
            ├─Font
            ├─monster
            ├─Shader
            │  └─NightVision
            └─Transition
  1. ZeroEngine-Example.sln 파일을 열어 오류 없이 컴파일되는지 확인합니다.
  2. Root\ZeroEngine-Example\ZeroEngine 폴더의 fmod.dllRoot\ZeroEngine-Example\Debug 혹은 Release 폴더에 붙여넣습니다.

설명

WinMain.cpp 파일에서 어떤 예제를 실행할 지 지정할 수 있습니다.

ZeroSceneMgr->ChangeScene(new SpriteExample());

사용 가능한 예제 목록:

  • SpriteExample
  • InputManagerExample
  • LineExample
  • FontExample
  • FPSExample
  • MathManagerExample
  • SceneManagerExample
  • AnimationExample
  • ParticleExample
  • RenderTargetExample
  • ShaderExample
  • CameraExample
  • SoundExample

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published