Delphi 有游戏引擎吗?

发布于 2024-09-09 00:30:32 字数 1539 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

情场扛把子 2024-09-16 00:30:33

这是另一个不错的: https://github.com/Cooler2/ApusGameEngine

开发了《星界英雄》游戏使用这个。

Here is another good one: https://github.com/Cooler2/ApusGameEngine

Astral Heroes game was developed using this.

酸甜透明夹心 2024-09-16 00:30:32

这是一个非常非常广泛的问题,很难给出简单的答案。

大多数“游戏引擎”是用一种或另一种语言预先构建的系统,并实现某种类型游戏的所有低级游戏逻辑。它们通常附带某种工具包,允许您创建在引擎上运行的游戏内容(关卡、角色、脚本等)。如果您正在寻找一个真正的游戏引擎,它不会是“Delphi 的”。它可能内置了一个脚本系统,但这将是一种脚本语言,而不是像 Delphi 这样真正的、编译为本机代码的编程语言。您可能会发现的最接近的东西是 TURBU 引擎,这是我正在开发的一个项目建筑。它是控制台式 RPG 的引擎,并且内置了基于 Object Pascal 的脚本。但它仍然是一种有很多限制的脚本语言,而不是成熟的 Delphi 编程。

另一方面,如果您正在寻找自己构建游戏逻辑的工具,那么您绝对可以在 Delphi 中找到它。看看Asphyre,它是一个游戏开发框架,而不是游戏引擎。它包含一堆类和单元,大大简化了计算机上多媒体组件的接口,例如 DirectX/OpenGL、键盘、鼠标和其他输入、声音和音乐等。它是一个相当不错的框架,适合构建它没有附带任何脚本组件,但有相当多的脚本语言可用于 Delphi。

希望这可以帮助您入门。如果您有更具体的问题,请随时在 StackOverflow 上提问,也许我们中的一个人可以找到更有帮助的答案。

This is a very, very broad question, and it's hard to give a simple answer.

Most "game engines" are systems that come pre-built in one language or another and implement all the low-level game logic for a certain type of game. They generally come with some sort of toolkit that allows you to create game content (levels, characters, scripts, etc) to run on the engine. If you're looking for a real game engine, it won't be "for Delphi." It might have a scripting system built in, but that will be in a scripting language, not a real, compiled-to-native-code programming language like Delphi. Probably the closest thing you'll find is the TURBU engine, a work-in-progress that I'm building. It's an engine for console-style RPGs, and it comes with Object Pascal-based scripting built in. But it's still a scripting language with a lot of limitations, not full-fledged Delphi programming.

On the other hand, if you're looking for tools to build the game logic yourself, you can definitely find that in Delphi. Take a look at Asphyre, which is a game development framework, not a game engine. It contains a bunch of classes and units that greatly simplify the interface to the multimedia components on a computer, such as DirectX/OpenGL, keyboard, mouse and other inputs, sound and music, etc. It's a fairly good framework, suitable for building a game engine in. It doesn't come with any components for scripting, but there are a fair number of scripting languages available for Delphi.

Hopefully this can help you get started. If you have more specific questions, feel free to ask them here on StackOverflow, and maybe one of us can find a more helpful answer.

妖妓 2024-09-16 00:30:32

这是与游戏相关的 Delphi 链接列表。

(随时添加到此列表)

Here is the list of Games Related Delphi Links.

(Feel free to add to this list)

很酷又爱笑 2024-09-16 00:30:32

查看安道尔 2D
它是一个很棒的游戏引擎,比 DelphiX 更强大。
我知道它叫做 Andorra 2D,但你也可以用它开发 3D 游戏。
顺便说一句,那里有很多教程,所以我认为你开发游戏不会有问题。

更新:您可以找到有关 Andorra2D 的精彩教程 此处

问候

Check out Andorra 2D.
It is a great engine to create games and it is more powerful than DelphiX.
I know it is called Andorra 2D, but you can develop 3D games with it as well.
BTW there are a lot of tutorials out there, so I think there will be no problem for you to develop your game.

Update: Great tutorials for Andorra2D you can find here.

Greetings

怼怹恏 2024-09-16 00:30:32

unDelphiX

但它主要用于 2D 游戏并且基于 DirectX。

there are unDelphiX

but it's mostly for 2D games and based on DirectX.

零崎曲识 2024-09-16 00:30:32

有一个正在开发的 Delphi OpenGL 游戏引擎,名为 Rage 3D。有一段时间看起来很有希望,但似乎已经四年没有更新了。

There is a Delphi OpenGL game engine under development called Rage 3D. It was looking promising for a while, but it doesn't seem to have been updated in 4 years.

紅太極 2024-09-16 00:30:32

几年前有一个名为 DelphiX 的 directX 包装器项目。

我不太了解这个项目的质量以及一年来是否维护,但我想你可以看一下。 (或者其他人可以评论)

There was a directX wrapper project a few years ago called DelphiX.

I don't know much about the project's quality and if it was maintained over the year, but I guess you could take a look at it. (Or someone else can comment on it)

微暖i 2024-09-16 00:30:32

自从 Delphi 发布以来我就一直在用它来编写游戏。我广泛使用 TGraphics32 进行游戏板渲染,使用 UndelphiX 进行 DirectX 声音和 LAN 播放,使用 KSDev 的皮肤包提供炫酷的外观,并使用 LMD 工具和 TMS 等多种通用组件来提供特殊用途的功能。这样我就可以专注于编写游戏内容而不是工具内容。希望这有帮助。

I have been programming games in Delphi since it came out. I use TGraphics32 extensively for the game board rendering, UndelphiX for DirectX sound and lan play, a skinning package from KSDev to give a cool look, and a multitude of general components like LMD Tools and TMS to supply special purpose functionality. That way I can concentrate on writing the game stuff and not the tools stuff. Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文