Code Monkey home page Code Monkey logo

simpleengine's Introduction

C++/OpenGL 梦幻西游

个人学习练手项目

Mac编译指南

  1. 安装好git和cmake,然后敲命令

     git clone --recursive https://github.com/oceancx/SimpleEngine
    
  2. 编译之前将Environment.h中WORK_DIR宏设置为SimpleEngine的路径,例如:

     #define WORK_DIR "/Users/oceancx/SimpleEngine"
    
  3. 下载资源压缩包:百度云盘,直接在SimpleEngine/下解压即可,你会看到Data/文件夹被创建

  4. 然后:

     cd SimpleEngine/
     mkdir build
     cd build
     cmake ..
     make -j8
     ./SimpleEngine
    

Windows编译

用CMake生成VisualStudio项目文件,打开VS编译即可,同样需要设置Environment.h的WORK_DIR

TODO

在线聊天~ (progress:0.01%)

相关资料

未整理,不过里面东西很多。https://pan.baidu.com/s/1kV9qrEB

程序入口

  1. main函数在program.cpp中
  2. Window负责初始化Game,Game负责初始化Engine,Engine负责初始化Sence,Sence就是游戏的内容了。
  3. 此Repo暂时还不稳定,稳定之后会发布相关文档,包括资源文件的id对应表,以及显示资源文件的工具,还有资源读取的相关源码,还有各种参考资料,汗。。。。

截图

C++/OpenGL Project Intro

Fantasy Westward Journey, individual learning and training project.

Mac build

  1. install cmake and git,then:

     git clone --recursive https://github.com/oceancx/SimpleEngine
    
  2. before build,in file "Environment.h",set WORK_DIR as SimpleEngine's path,for instance:

     #define WORK_DIR "/Users/oceancx/SimpleEngine"
    
  3. download resource zip file :baidu pan , and extract to SimpleEngine/ , you will see a new dir Data/ was created.

  4. then,happy to build:

     cd SimpleEngine/
     mkdir build
     cd build
     cmake ..
     make -j8
     ./SimpleEngine
    

Windows Build

Use CMake to generate Visual Studio Project file, Open it by VS and build.

ScreenShots

simpleengine's People

Contributors

oceancx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.