gpt4 book ai didi

architecture - 基于组件的游戏引擎设计

转载 作者:行者123 更新时间:2023-12-03 10:03:13 27 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

6年前关闭。











锁定。这个问题及其答案是locked因为这个问题是题外话,但具有历史意义。它目前不接受新的答案或互动。








我一直在研究游戏引擎设计(特别关注 2d 游戏引擎,但也适用于 3d 游戏),并且对如何进行的一些信息感兴趣。我听说现在许多引擎正在转向基于组件的设计,而不是传统的深层对象层次结构。

您是否知道有关此类设计通常如何实现的信息的任何良好链接?我见过evolve your hierarchy ,但我真的找不到更多详细信息(他们中的大多数似乎只是说“使用组件而不是层次结构”,但我发现在两种模型之间切换我的想法需要一些努力)。

任何关于这方面的好的链接或信息将不胜感激,甚至是书籍,尽管这里的链接和详细答案将是首选。

最佳答案

更新 2013-01-07 :如果您想看到基于组件的游戏引擎与(在我看来)响应式(Reactive)编程的卓越方法的良好组合,请查看 V-Play engine .它很好地集成了 QT QML property binding功能。

我们在我们大学对游戏中的 CBSE 进行了一些研究,这些年来我收集了一些 Material :

游戏文学中的CBSE:

  • 游戏引擎架构
  • Game Programming Gems 4:管理游戏实体游戏的系统
  • 游戏编程宝典 5:基于组件的对象管理
  • 游戏编程 Gems 5:通用组件库
  • 游戏编程宝典6:游戏对象组件系统
  • 面向对象的游戏开发
  • Architektur des Kerns einer Game-Engine und Implementationierung mit Java(德语)

  • 在 C# 中基于组件的游戏引擎的一个非常好的和干净的例子是 Elephant game framework .

    如果您真的想知道读取了哪些组件:基于组件的软件工程!
    他们将组件定义为:

    A software component is a software element that conforms to a component model and can be independently deployed and composed without modification according to a composition standard.

    A component model defines specific interaction and composition standards. A component model implementation is the dedicated set of executable software elements required to support the execution of components that conform to the model.

    A software component infrastructure is a set of interacting software components designed to ensure that a software system or subsystem constructed using those components and interfaces will satisfy clearly defined performance specifications.



    2年经验后的我的意见 CBSE 在游戏中的想法是,面向对象的编程简直是一条死胡同。请记住我的警告,当您看到您的组件变得越来越小,并且更像是封装在具有大量无用开销的组件中的函数时。使用 functional-reactive programming反而。也看看我的新博客文章(这让我在写这篇文章时提出了这个问题:))关于 Why I switched from component-based game engine architecture to FRP .

    游戏论文中的CBSE:
  • Component Based Game Development – A Solution to Escalating Costs and Expanding Deadlines?
  • A Flexible And Expandable Architecture For Computer Games (404)
  • A Software Architecture for Games
  • A Generic Framework For Game Development (网络文件)
  • Smart Composition Of Game Objects Using Dependency Injection

  • 游戏网络链接中的 CBSE(按相关性排序):
  • Component based objects Wiki (空维基)
  • Evolve Your Hierachy
  • Game Object Structure: Inheritance vs. Aggregation
  • A Data-Driven Game Object System (PDF)
  • A Data-Driven Game Object System (PPT)
  • Component-based prototyping tool for flash
  • Theory and Practice of Game Object Component Architecture (404)
  • Entity Systems are the Future of MMOs
  • ogre3d.org forum: Component Based Objects
  • gamedev.net: Outboard component-based entity system architecture
  • gamedev.net: Entity System question
  • Brainfold entity-system blog (网络文件)
  • 关于architecture - 基于组件的游戏引擎设计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1901251/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com