freelanceprogrammers.org Forum Index » Delphi

How can i do this?


View user's profile Post To page top
silviu74list Posted: Wed Oct 23, 2002 12:41 am


Joined: 23 Oct 2002

Posts: 1
How can i do this?
Hi,
Please help me with this problem.
Let`s say we have a D3D or DDraw game running in full screen, for
example Unreal Tournament, Starcraft etc..
I want to display a small textbox in the corner of the screen from my
application.
How can i do this? Any ideas are welcomed, in any programming languages.

Thank you,
Silviu
Reply with quote
Send private message
View user's profile Post To page top
jasonkaler Posted: Thu Oct 24, 2002 2:59 pm


Joined: 18 Jun 2001

Posts: 8
How can i do this?
Hi,

There are a few ways you can do this:
1) have you tried simply using a `normal` dialogue box ? in some
situations this will work - it just might look a little strange if
windows is set to one resolution and your game is in another.
Normal delphi controls can be drawn on a directdraw surface.

2) most games have their own visual controls which are rendered onto
the scene.
On a 3D scene, draw onto a surface and render it facing the camera,
as in the billboards example
On a 2D scene, maintain a list of objects to be drawn and draw your
textbox last.

Jason

--- In delphigamesprogramming@y..., "Silviu Bardasu"
<silviu.bardasu@u...> wrote:
>
> Hi,
> Please help me with this problem.
> Let`s say we have a D3D or DDraw game running in full screen, for
> example Unreal Tournament, Starcraft etc..
> I want to display a small textbox in the corner of the screen from
my
> application.
> How can i do this? Any ideas are welcomed, in any programming
languages.
>
> Thank you,
> Silviu
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help