Code Monkey home page Code Monkey logo

shoot-the-chicken-3d's Introduction

Shoot-The-Chicken-3D

C++控制台做的3D第一人称射击游戏,没有引用任何外部库、第三方库(只用了少许Windows API)。
这个项目的层次分为三层:

  • 软件渲染器(软件模拟的显卡层)
  • 引擎层(场景管理)
  • 游戏逻辑层(主要的游戏逻辑)

也就是说,这个游戏是从D3D9风格的软件渲染API开始写起(软件模拟),封装了多层。从底层到高层都一个人包办(当然引擎层的类有不少是借用了 我的Noise3D的东西)。好了这么一来,c++大作业就不用愁能直接交了吧啊哈哈哈哈哈!!

下面两个知乎回答给了项目的更加细致的介绍:

https://www.zhihu.com/question/32242664/answer/94239254

https://www.zhihu.com/question/24786878/answer/100713585


Log

  • (不知道什么时候了)最后,因为Win10控制台好像变了不少,所以Win10下运行貌似图像会乱掉 (因为字符的输出不用换行,所以强制限定了窗口的大小,窗口大小设置代码在Renderer.cpp的IRenderer::mFunction_AdjustWindowSize()函数里, 有可能是因为win10的控制台字体窗体之类的尺寸有点变化导致画面乱掉,但手头上没有win10来测试所以这bug也一直没修...)
  • (2018.8.16)来鹅厂实习有Win10电脑了,所以稍微修了一下Win10控制台画面会乱掉的“特性”:)

shoot-the-chicken-3d's People

Contributors

china-jige 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.