A Delphi/Pascal programmer looking to make games...
I've uncovered the websites delphigamedev.com and delphigamer.com. Both seem to be very good resources for news and assistance, albeit slooooow assistance.
I have questions about which of the DirectX components to use with Delphi7. I've looked at DelphiX - but it is only good through Delphi5 unless you make changes manually via a tutorial - or download unDelphiX or some of the other half dozen 'updated' versions of DelphiX.
Uncertain of the version I should use, and from what I've gathered these are current through DirectX 8.1 and am uncertain how this would affect me on a machine with DirectX 9.0c installed.
Any help appreciated, either in response to my queries or in suggestions for other resources to take advantage of.
Thanks for the help.
Hey -- another Delphi developer! Although I don't really use it anymore, it helped me vastly in my trek into game development. Rage on, fellow Delphimonger! :)
I'm pretty sure DelphiX uses DirectDraw, which isn't that fast since it has no support for hardware rotations/scaling/etc.
DirectX is (thankfully!) backwards-compatible, so a DX8.1 app will run just fine if DX9 is installed.
Allow me to vigorously point you in the direction of Project Omega*. It's a set of awesome components aimed at game developers. It uses DirectX 8.1 or 9.0 (both headers are available) and can do all sorts of nice hardware operations that will make gamedev in Delphi dreamesque. ;)
Good luck in your noble quest, good sir!
* It seems that the main site for Omega, Delphi Sanctuary is down right now, but the link I gave originally points to the temporary site where the headers are being hosted.
Quote:Original post by dc2005silk
I have questions about which of the DirectX components to use with Delphi7. I've looked at DelphiX - but it is only good through Delphi5 unless you make changes manually via a tutorial - or download unDelphiX or some of the other half dozen 'updated' versions of DelphiX.
I'm pretty sure DelphiX uses DirectDraw, which isn't that fast since it has no support for hardware rotations/scaling/etc.
Quote:Uncertain of the version I should use, and from what I've gathered these are current through DirectX 8.1 and am uncertain how this would affect me on a machine with DirectX 9.0c installed.
DirectX is (thankfully!) backwards-compatible, so a DX8.1 app will run just fine if DX9 is installed.
Quote:Any help appreciated, either in response to my queries or in suggestions for other resources to take advantage of.
Allow me to vigorously point you in the direction of Project Omega*. It's a set of awesome components aimed at game developers. It uses DirectX 8.1 or 9.0 (both headers are available) and can do all sorts of nice hardware operations that will make gamedev in Delphi dreamesque. ;)
Good luck in your noble quest, good sir!
* It seems that the main site for Omega, Delphi Sanctuary is down right now, but the link I gave originally points to the temporary site where the headers are being hosted.
Hi there dc2005silk,
How are you doing?
The Problem
Developing in Delphi using DirectX8/9
The Solution
These are fantastic resources and essential when using borland products.
Borland DirectX9 Headers
Borland DirectX development
DirectX and Delphi tutorial
I hope this helps a bit buddy,
take care.
How are you doing?
The Problem
Developing in Delphi using DirectX8/9
The Solution
These are fantastic resources and essential when using borland products.
Borland DirectX9 Headers
Borland DirectX development
DirectX and Delphi tutorial
I hope this helps a bit buddy,
take care.
Thank both of you for the great replies! I was playing around with 'Clootie' or something's DirectX stuff last night but was only able to compile about half of his stuff. Media, .pas, etc. files were apparently left out of the project. Apparently there may have been additional resources from the JEDI DirectX headers that were not in the package I downloaded.
I am 100% new to DirectX, and am going off a book that gives it's examples in C/C++ but I have a little experience with C and can translate some of it without much of a problem.
Thank you very much sirs!
I don't even know what kind of game I want to make... I'm just wanting to learn right now. (I do notice that a group is converting the Quake III engine C code into Pascal which would be fun.)
I am 100% new to DirectX, and am going off a book that gives it's examples in C/C++ but I have a little experience with C and can translate some of it without much of a problem.
Thank you very much sirs!
I don't even know what kind of game I want to make... I'm just wanting to learn right now. (I do notice that a group is converting the Quake III engine C code into Pascal which would be fun.)
Okay, I've set up the directories, etc. of Clootie's DirectX files for the SDK...
/Bin
/Common
/Direct3D
/DirectDraw
/DirectInput
/DirectMusic
/DirectShow
/Examples
/Pas
info.cfg
JEDIDirectXInstaller.exe
I do have a couple of questions:
1.) Is there any reason (what are they?) to forget DirectX 8.1 and use DirectX 9?
2.) Which 3D Model format should I be looking at using with just DirectX?
3.) Are there any royalty free/cheap MP3 Playback libraries for Delphi?
I think that's all for now. I'm mainly compiling everything I need to set up my Virtual Machine with compiler and addins.
/Bin
/Common
/Direct3D
/DirectDraw
/DirectInput
/DirectMusic
/DirectShow
/Examples
/Pas
info.cfg
JEDIDirectXInstaller.exe
I do have a couple of questions:
1.) Is there any reason (what are they?) to forget DirectX 8.1 and use DirectX 9?
2.) Which 3D Model format should I be looking at using with just DirectX?
3.) Are there any royalty free/cheap MP3 Playback libraries for Delphi?
I think that's all for now. I'm mainly compiling everything I need to set up my Virtual Machine with compiler and addins.
I see you found the Clootie page. Bookmark it, you'll going to use it a lot. ^_^
To program DirectX, you will need the Headers, and the DLL files, they all go into your game directory and are to be included in your distribution.
DelphiX is hopelessly old. If you are really interested in DirectX programming, you 'll have to learn the API yourself.
Take a look at the MSDN site, search Google for tutorials, learn to translate from C plus plus to Object Pascal, and experiment.
I use DirectX 8 myself, but I don´t see any reason why you shouldn´t use DX 9. I know the DLL is much larger..
Remember, DirectX is a difficult API.
To program DirectX, you will need the Headers, and the DLL files, they all go into your game directory and are to be included in your distribution.
DelphiX is hopelessly old. If you are really interested in DirectX programming, you 'll have to learn the API yourself.
Take a look at the MSDN site, search Google for tutorials, learn to translate from C plus plus to Object Pascal, and experiment.
I use DirectX 8 myself, but I don´t see any reason why you shouldn´t use DX 9. I know the DLL is much larger..
Remember, DirectX is a difficult API.
Quote:Original post by dc2005silkI do have a couple of questions:
1.) Is there any reason (what are they?) to forget DirectX 8.1 and use DirectX 9?
2.) Which 3D Model format should I be looking at using with just DirectX?
3.) Are there any royalty free/cheap MP3 Playback libraries for Delphi?
I think that's all for now. I'm mainly compiling everything I need to set up my Virtual Machine with compiler and addins.
Hi,
I'm using the Clootie Delphi SDK and it's excellent for Delphi with all the MS SDK samples included and ported to delphi.
Go here to Clooties main website and download the latest DirectX 9.0 August 2005 SDK for Delphi:
http://www.clootie.ru/delphi/download_dx92.html
Also download all the samples, DLL's and Media archives.
When you have all the files from the above link, create a folder and extract
them all to the folder.
Depending on your Delphi version add the path in delphi for the Clootie_Directx92/Borland_D? folder and also the Common folder (you could copy all the files from these 2 folders into one folder and just use a single path ie create a folder in Delphi/lib/directx92 and copy them there)
For the DLL's (if you don't have the MS DirectX SDK) you must copy them all into your Windows/System32 folder.
For the SDKMedia to be accessable (if you don't have the MS DirectX SDK) there is a file called RegisterMedia.exe which will add the path to the SDKMedia folder to the registry, this is so the Samples work correctly and can find the Media folder.
It's a bit of a pain to go through but when it's all done you can then start using the latest DirectX SDK in your Delphi apps.
I'm using the Clootie Delphi SDK and it's excellent for Delphi with all the MS SDK samples included and ported to delphi.
Go here to Clooties main website and download the latest DirectX 9.0 August 2005 SDK for Delphi:
http://www.clootie.ru/delphi/download_dx92.html
Also download all the samples, DLL's and Media archives.
When you have all the files from the above link, create a folder and extract
them all to the folder.
Depending on your Delphi version add the path in delphi for the Clootie_Directx92/Borland_D? folder and also the Common folder (you could copy all the files from these 2 folders into one folder and just use a single path ie create a folder in Delphi/lib/directx92 and copy them there)
For the DLL's (if you don't have the MS DirectX SDK) you must copy them all into your Windows/System32 folder.
For the SDKMedia to be accessable (if you don't have the MS DirectX SDK) there is a file called RegisterMedia.exe which will add the path to the SDKMedia folder to the registry, this is so the Samples work correctly and can find the Media folder.
It's a bit of a pain to go through but when it's all done you can then start using the latest DirectX SDK in your Delphi apps.
Quote:Original post by Marmin
I see you found the Clootie page. Bookmark it, you'll going to use it a lot. ^_^
To program DirectX, you will need the Headers, and the DLL files, they all go into your game directory and are to be included in your distribution.
DelphiX is hopelessly old. If you are really interested in DirectX programming, you 'll have to learn the API yourself.
Take a look at the MSDN site, search Google for tutorials, learn to translate from C plus plus to Object Pascal, and experiment.
I use DirectX 8 myself, but I don´t see any reason why you shouldn´t use DX 9. I know the DLL is much larger..
Remember, DirectX is a difficult API.
Thank you for your reply... Clootie has kept up with the latest DirectX changes on his own site - but it confused me at the numer of various Delphi + DirectX headers on the web. I wasn't exactly sure where to begin when I had 20 different flavors or thereabouts according to my googling.
I did a direct site:gamedev.net DelphiX & unDelphiX search through Google and the multitude of results overwhelmed me in terms of many things which weren't relevant to what I was looking for.
I purchased the book: RPG Programming with DirectX version 2 - and although I'm not settled on creating an RPG, by my research it was one of the more in-depth start to finish books on handling DirectX in game programming.
It has been 5 years since I've touched C++... I was hoping to get around it since I've been doing Delphi for the past two years. I'm pleased at the number of people (mostly foreign) who do what I'm trying to learn with Delphi... but naturally there are some language barriers in some of these areas.
Quote:Original post by BedlamukThank you very much. I've also found that by importing the ProjectJEDI setup, it will automatically link the libraries with my version of Delphi.
It's a bit of a pain to go through but when it's all done you can then start using the latest DirectX SDK in your Delphi apps.
I'm using Delphi7 at home, although I use Delphi7 and Delphi2005 at work.
Thank you sir.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement