使用DirectX9和Lazarus(FPC) [英] Using DirectX9 with Lazarus(FPC)

查看:167
本文介绍了使用DirectX9和Lazarus(FPC)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用DirectX9( http://clootie.ru )在Lazarus(FPC - FreePascal编译器)中制作游戏。但是没有任何文件。我对C / C ++知之甚少,所以我不能在那里使用C / C ++教程。

我的问题:在哪里可以找到使用带有Pascal的DirectX9的教程?

I've been trying to make a game in Lazarus (FPC - FreePascal Compiler) with DirectX9 (http://clootie.ru). But there isn't any documentation. I don't know much of C/C++ so I can't use the C/C++ tutorials out there.
My question: where can I find tutorials for using DirectX9 with Pascal?

推荐答案

安装Lazarus时,您将看到已经安装的DirectX单元: http:// wiki .freepascal.org / FPC_and_DirectX [ ^ ]。



您可以阅读任何DirectX文档和手册,只是不要尝试在Pascal中找到它,只能在Pascal中找到它。您可以在Pascal中编写任何代码示例,因为所有函数调用都很容易在可用的Pascal单元中找到。通过这种方式,学习可以更深入,因为它可以让您免于加载可用的示例项目并使用它进行游戏。 :-)当你亲自动手时,你会了解更多。



-SA
When you install Lazarus, you will see DirectX units already in place: http://wiki.freepascal.org/FPC_and_DirectX[^].

You can read any DirectX documentation and manuals, just don't try to find it in Pascal and only in Pascal. You can write any code sample in Pascal, just because all the function calls are easy to find in the available Pascal units. This way, learning can be even deeper, because it will save you from the temptation to just load available sample project and play with it. :-) When you do it all by your own hands, you learn more.

—SA


这篇关于使用DirectX9和Lazarus(FPC)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆