PDA

View Full Version : DarkGDK 4 Delphi



djoker
31-05-2008, 07:11 PM
hi ppl my new wrapper ;)

as far as I know, there is no problem from compiling the API into a DLL GDK license.
i include the GDK help file but i changed the api names

names in the help file is dbSyncOn
on delphi is dgSyncOn

db 2 dg :oops:

http://depositfiles.com/files/5712449

i think tomorrow i have same demos and screen shots ;)

sory mi English :(


program teste;
uses
windows,sysutils,
GDKGlobal,
GDKCore,
GDKAnimation,
GDKBasic2D,
GDKBasic3D,
GDKBitmap,
GDKCamera,
GDKDisplay,
GDKFtp,
GDKImage,
GDKInput,
GDKLight,
GDKMatrix,
GDKMultiplayer,
GDKMusic,
GDKParticles,
GDKSound,
GDKSprites,
GDKTerrain,
GDKWorld,
GDKText,
GDK3DMaths,
GDKMemblocks;

begin

dgInitGDK('GDK 4 Delphi');
dgSyncOn;

while dgLoopGDK do
begin
dgClear(0,0,45);
dgText(10,10,pchar('FPS'+inttostr(dgScreenFPS)));
dgElipse(100,100,20,40);
dgSync;
end;
end.


The Dark GDK contains the following features:

*

*
6 2D Image Formats Supported
*
5 3D Object File Formats Supported
*
Over 1000 game orientated commands
*
Binary Space Partioning (BSP) Support
*
Potential Visibility Set (PVS)
*
Nodetree Optimisation
*
Bump Mapping
*
Light Mapping
*
Environment Mapping
*
Sphere Mapping
*
Cubic Mapping
*
Multi-texturing
*
Bone Based Animations
*
Pixel and Vertex Shaders
*
Cartoon Shading
*
Rainbow Rendering
*
Code your own Shaders
*
Vector and Matrix Manipulation
*
Real Time Shadows
*
True Reflections
*
Lights (Omni, Spot, Directional)
*
Matrices and Terrains
*
Particle System
*
Extremely fast 2D Sprites
*
Polygon Collision and Response
*
Create Multi-player Games (Lan and Internet)
*
Fully Windows XP compliant
*
3D Studio and Direct X Object Support
*
Sprite support including flipping, scaling and collision
*
Set and control sounds in 3D space
*
Load, Play and Loop Music files
*
Control 3D Fog depth, distance and colour
*
Full Object Rotation control
*
Control Object Limbs (direction, angle, rotation, size)
*
Create and Delete Object Meshes
*
Global or Object based automatic 3D Collision Detection
*
Automatic Camera and Camera to Object Orientation Commands
*
Create, Position and Colour Lights
*
Build, Texture and Map Matrix Landscapes
*
System Test Commands let you check for compatibility

arthurprs
31-05-2008, 07:44 PM
all darkgdk lib functions are avaliable on the wrapper?

djoker
31-05-2008, 09:59 PM
all darkgdk lib functions are avaliable on the wrapper?

yes you have the full power of darkbasic pro on delphi

arthurprs
31-05-2008, 10:52 PM
all darkgdk lib functions are avaliable on the wrapper?

yes you have the full power of darkbasic pro on delphi

:shock: great!

(probably on fpc too)

detvog
01-06-2008, 04:32 PM
Hmmm....djoker

Are you sure, that this wrapper work ? :roll:

I can not see the Elipse in your sample and after new compiling. :(

djoker
01-06-2008, 08:39 PM
Hmmm....djoker

Are you sure, that this wrapper work ? :roll:

I can not see the Elipse in your sample and after new compiling. :(

on my pc work fine expect new release with demos ;)

you must have the d3dx9_30 dx dll

detvog
02-06-2008, 08:37 AM
Hmmm....djoker

Are you sure, that this wrapper work ? :roll:

I can not see the Elipse in your sample and after new compiling. :(

on my pc work fine expect new release with demos ;)

you must have the d3dx9_30 dx dll


I have the dll.
I work with Vista and DirectX10. The dll is in the folder.
I have DarkbasicPro and it works. All my other directx progs works too.

Hmm... :roll:

djoker
02-06-2008, 06:40 PM
Hmmm....djoker

Are you sure, that this wrapper work ? :roll:

I can not see the Elipse in your sample and after new compiling. :(

on my pc work fine expect new release with demos ;)

you must have the d3dx9_30 dx dll


I have the dll.
I work with Vista and DirectX10. The dll is in the folder.
I have DarkbasicPro and it works. All my other directx progs works too.

Hmm... :roll:

but don't work?

detvog
03-06-2008, 04:31 AM
It works. But i can not see the graphic.
Under WinXP it works good. I can see the graphic.

Hm...i have no problem with my progs on Vista, but this thing ?

I use your irrlicht-wapper under vista too and it works.

I have found a DarkGDK wrapper for Blitzmax. It works too on vista.
But blitzmax is not my world. 8)



05.06.2008

:twisted: I'am crazy. All my progs work under vista.
The orginal DarkGDK works too.
The Blitzmax wrapper of DarkGDK works too.
Your wrapper do not show the graphic.
On my old laptop under xp your wrapper works.
But my old laptop is to slow... :cry:

detvog
07-06-2008, 03:07 PM
?Ñh Djoker,

can you help me ?

I'am searching a c++ framework for making a c++ dll for delphi.

harrypitfall
22-06-2008, 03:22 AM
I download and test the demo, and is perfect...
I really want to see a small demo or game in darkgdk c++ source, and try to port into delphi!!!! :) just to kicks!!! is possible?