views:

280

answers:

7

I want to create a game in Delphi

Is there any good game engine for Delphi?

based on directx 10 or OpenGL?

I need it for 3D games, or only I can do that with C++?

+3  A: 

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.

Mason Wheeler
+2  A: 

Here is the list of Games Related Delphi Links.

(Feel free to add to this list)

Robert Love
I can't help but wonder how current that delphi.about.com link is. It's got a WinG sprite kit listed. AFAIK WinG has been deprecated for at least ten years...
Mason Wheeler
+1 for glSence, Works well
Christopher Chase
they are games frameworks, not games engines
A: 

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)

Ken Bourassa
+1  A: 

there are unDelphiX

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

DelphiDev
+2  A: 

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

Forlan07
A: 

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.

Robert C
+1  A: 

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.

Incredulous Monk