开发者

How are software and game templates designed?

please don't mind my question since I don't know much about software because I come from a web perspective.. For example, in web css is used for the design and appearance

so..

How are the designs, templates, and environments created for software and games made with pro开发者_运维知识库grams like c++ and java?

Are they designed with the same languges?


Are they designed with the same languages?

It depends on how the game developer has decided to do it.

  • They could be implemented in (just) the coding language; e.g. C++ or Java.
  • They could be implemented in part using some language provided by a standard games engine or framework ... or a more general (non-gaming) graphics / presentation framework ... or some general purpose scripting language (with an embeddable interpreter).
  • They could be implemented in part using a game-specific language implemented by the game developer as part of his/her.

Or some combination ...


There are many facets to developing a game. Most games consist of the following:

1) A rendering engine. This is the presentation layer and provides scene-graphs, math, particle effects, post-processing effects, and a whole host of other things. Unreal is such an engine. A good free rendering engine is Ogre

2) A sound engine. This takes care of processing sound effects (usually handling it in 3D space), and streaming audio. An excellent free audio-layer is OpenAL.

3) Video compression/playback (E.g BINK) if your game requires it. A free version is Theora.

4) Networking. This is something that might well be written in house, or got off the shelf like the other components, e.g. Raknet.

5) Scripting. It doesn't always make sense to have the entire game written in C/C++/Java. Sometimes the logic and flow of a level is easier to describe in a scripting language which makes changing it on the fly without recompilation much easier. Good candidates are LUA, Python and even Squirrel. LUA is used by World of Warcraft for example and is easy to bind to C++. Civ4 uses Python.

Obviously some or all of these can be written in-house, but it make sense from a cost point of view that if it has been done well already, why bother? You also need some software to edit your assets (3D Studio Max for 3D, for example, Blender if you want a good, solid, free package).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜