Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm messing around with DX9c + VB.NET 2005, and am fishing around for the best (as in most efficient) way to implement a custom GUI in a fullscreen DirectX game.

 

The drawing isn't much of a problem, though currently ugly visually, I have an ObjectManager class that holds all the windows (and other game objects that need to be drawn) and each window has it's own control collection to handle labels, textboxes, etc.

 

What I'm looking for is a decent way to add in mouse / keyboard events. I'm using DirectInput to handle them at the moment, however, I'm not sure how to go about 'redirecting' input to the topmost form that I've got drawn over the game GUI, and of course, that means I've got no clue how to do anything as involved as events...

 

So... Any suggestions? :)

Posted

Hello,

 

RetinaX has clean and easily understandable window/widget framework with event and input implementation. You can find the project in source forge:

 

http://sourceforge.net/projects/retinax/

 

best regards,

Tommi Laukkanen

 

PS. If you are interested in UI development with Managed DirectX maybe we could join forces.

 

I'm messing around with DX9c + VB.NET 2005, and am fishing around for the best (as in most efficient) way to implement a custom GUI in a fullscreen DirectX game.

 

The drawing isn't much of a problem, though currently ugly visually, I have an ObjectManager class that holds all the windows (and other game objects that need to be drawn) and each window has it's own control collection to handle labels, textboxes, etc.

 

What I'm looking for is a decent way to add in mouse / keyboard events. I'm using DirectInput to handle them at the moment, however, I'm not sure how to go about 'redirecting' input to the topmost form that I've got drawn over the game GUI, and of course, that means I've got no clue how to do anything as involved as events...

 

So... Any suggestions? :)

  • 2 weeks later...
Posted
For a really good example of a GUI System in Managed code you should look at http://www.c-unit.com, on the site Chad has a tutorial for creating a GUI System simular to the one used in the sample framework that is supplied in the SDK.

Glenn "Mykre" Wilson, DirectX MVP

Inner Realm

Managed DirectX and Game Programming Resources

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...