云架构师 了解docker_了解游戏架构

云架构师 了解docker

People who are creative and artistic, find devotion in sharing their dreams, thoughts and visions. A Painter does so by painting, while a Musician creates music. Similarly, programmers want to automate and make your life easy, and game designers want to make their thoughts and ideas to come to life through their games.

富有创造力和艺术精神的人会在分享自己的梦想,思想和愿景时发掘奉献精神。 画家通过绘画来完成,而音乐家则在创作音乐。 同样,程序员希望实现自动化并使您的生活变得轻松,而游戏设计师则希望使自己的思想和想法通过他们的游戏得以实现。

Every standard game consists of some series of levels: embedded and closely related with the storyline of the game, action and adventure sequences to live, spectacular visuals to experience, and they challenge our mental abilities by exploring and bringing out our tactical & strategy making skills. Games are the most unique, of all entertainment mediums because of its interactive power with its audience.

每个标准游戏都包含一系列级别:嵌入并与游戏的故事情节紧密相关,要进行生动的动作和冒险序列,要体验壮观的视觉效果,它们通过探索和展示我们的战术和策略制定技巧来挑战我们的思维能力。 游戏是所有娱乐媒体中最独特的,因为它具有与观众互动的能力。

Most of the games, give the player(s) the most important role of the story: the Hero. Which is a great way to invlove the player into the gameplay.

大多数游戏赋予玩家故事最重要的角色:英雄。 这是吸引玩家参与游戏的好方法。

游戏架构 (Architecture of a Game)

The architecture and structure of a game is similar to that of a software. But it does have some additional components which makes it different from a software. Every game has the following components:

游戏的架构和结构与软件相似。 但是它确实具有一些其他组件,这使其与软件有所不同。 每个游戏都包含以下组件:

Game Development Architecture
  • Graphics Engine

    图形引擎

  • Sound/Audio Engine

    声音/音频引擎

  • Rendering & Vision-Input Engine

    渲染和视觉输入引擎

  • I/O Devices (like, Mouse, keyboard, speaker, monitor etc)

    I / O设备(例如鼠标,键盘,扬声器,监视器等)

  • DLL files and Drivers/Device APIs

    DLL文件和驱动程序/设备API

All these above mentioned components combine together to make a game playable to its full extent. Before discussing each of them, let's just clear what an engine is. Engines are the self-processing component(s) of a complete process that are driving automatically behind the original process.

所有上述所有组件结合在一起,可以充分发挥游戏的作用。 在讨论每个引擎之前,让我们先弄清楚引擎是什么。 引擎是整个过程的自处理组件,它们在原始过程的后面自动驱动。

图形引擎 (Graphics Engine)

A graphic engine is a software which in association with an application program helps to draw graphics on your computer's display device.

图形引擎是与应用程序结合使用的软件,可帮助您在计算机的显示设备上绘制图形。

The word engine in the computer field refers to a software which helps performing some definite type of processing on programs, such as text-to-speech engine, a database engine, a layout engine and a graphics engine. Graphics engine helps to make your game's graphics better by increasing the resolution and increasing the number of pixels per unit area. This engine also makes your game's scenes clear and run smooth.

计算机领域中的词引擎是指有助于对程序执行某种确定类型的处理的软件,例如文本到语音引擎,数据库引擎,布局引擎和图形引擎。 图形引擎通过提高分辨率和增加每单位面积的像素数来帮助改善游戏的图形。 该引擎还可以使您的游戏场景清晰且运行流畅。

声音/音频引擎 (Sound/Audio Engine)

The audio/sound engine is the component that consists of algorithms for dealing with sound and in-built programs are written into it to handle the sound effects embedded in the game. It has the capability to perform calculations using the CPU, or on any dedicated ASIC (Application Specific Integrated Circuit). Abstraction APIs, such as Open-AL, SDL Audio, X-Audio 2, Web Audio, etc. can be available within this engine.

音频/声音引擎是由用于处理声音的算法组成的组件,并且将内置程序写入其中以处理游戏中嵌入的声音效果。 它具有使用CPU或任何专用ASIC(专用集成电路)执行计算的能力。 该引擎内可以使用抽象API,例如Open-AL,SDL Audio,X-Audio 2,Web Audio等。

渲染和视觉输入引擎 (Rendering and Vision-Input Engine)

The rendering engine along with vision input system produces 3D animated graphics, using different techniques, like rasterization and ray-tracing. Being programmed and compiled to be executed on any CPU or GPU straightforwardly, majority of rendering engines are developed upon one or more rendering APIs like Direct3D and/or OpenGL that offers a software abstraction layer for the Graphics Processing Unit (GPU).

渲染引擎与视觉输入系统一起使用各种技术(例如光栅化和光线跟踪)生成3D动画图形。 大多数渲染引擎都经过编程和编译以直接在任何CPU或GPU上执行,因此它们是基于一个或多个渲染API(例如Direct3D和/或OpenGL)开发的,这些API提供了图形处理单元(GPU)的软件抽象层。

Low-level libraries like DirectX or OpenGL are popularly incorporated in games because they supply the hardware-independent access to different computer hardware. These hardware devices can be input devices like mouse, keyboard, and joystick; network devices like NIC and also to sound cards.

诸如DirectX或OpenGL之类的低级库通常被集成到游戏中,因为它们提供了独立于硬件的对不同计算机硬件的访问。 这些硬件设备可以是鼠标,键盘和操纵杆之类的输入设备。 网络设备(如NIC)以及声卡。

I / O设备 (I/O Devices)

The devices which are used for inputting the data and the programs in the computer are known as Input Devices. Input device can read data and convert them to a form that a computer can use. Output Devices can generate the finished product of machine processing into a form usable/readable by humans. For a game, there should have to be a strong interaction between the user and the game he/she is playing. So for this the peripheral devices like mouse, keyboard, joysticks and monitors play a major role to make the game interactive.

在计算机中用于输入数据和程序的设备称为输入设备 。 输入设备可以读取数据并将其转换为计算机可以使用的形式。 输出设备可以将机器加工的成品生成为人类可以使用/阅读的形式。 对于游戏,用户和他/她正在玩的游戏之间应该有很强的互动性。 因此,为此,外围设备(如鼠标,键盘,操纵杆和监视器)在使游戏互动方面起着重要作用。

DLL文件和驱动程序/设备API (DLL files and Drivers/Device APIs)

A DLL (Dynamic Link Library) file, is a type of file which includes instructions written in the form of programs which can be called or used by other programs for performing certain tasks. In this manner, different programs can share the abilities and characteristics that have been programmed into a single file.

DLL(动态链接库)文件是一种文件,其中包括以程序形式编写的指令,这些指令可以被其他程序调用或用于执行某些任务。 以这种方式,不同的程序可以共享已编程到单个文件中的功能和特征。

These system level files play a supporting role to build the architecture of the game and help to make it perform well. You might have noticed that, if you have installed a game which you want to play and you click the executable(.exe file) to run the game, and just before starting of the game, an error message pops up, with a message - <particular_dll_name>.dll is missing". These files are the supporting files that your system should have to make the game work.

这些系统级文件在构建游戏体系结构并帮助使其性能良好方面发挥了辅助作用。 您可能已经注意到,如果您已经安装了要玩的游戏,并且单击了可执行文件(.exe文件)以运行该游戏,并且在游戏开始之前,会弹出一条错误消息,并显示一条消息- <particular_dll_name> .dll丢失” 。这些文件是系统使游戏正常运行所必需的支持文件。

Again, a device API can be defined as API (Application Programming Interface) which lets the developers to create any application which can ultimately interact with hardware devices plugged or installed with your system. A device API normally provides end users to employ their plugged or associated hardware for interacting with the system. Majority of the games (popular) need these device drivers and APIs to make the game work with all its components running successfully.

同样,设备API可以定义为API(应用程序编程接口) ,开发人员可以使用该API创建最终可以与系统中插入或安装的硬件设备进行交互的任何应用程序。 设备API通常为最终用户提供使用其插入或关联的硬件与系统进行交互的功能。 大多数游戏(受欢迎)都需要这些设备驱动程序和API才能使游戏及其所有组件成功运行。

These five components make the architecture of a game both internally as well as externally.

这五个组成部分构成了内部和外部游戏的体系结构。

翻译自: https://www.studytonight.com/3d-game-engineering-with-unity/game-development-architecture

云架构师 了解docker

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值