Blog

By DigitalRune Team on Wednesday, November 30, 2011
It is time to make the game menu built in the previous two blog posts (Part 1, Part 2) more dynamic. Currently all screens are static. When another game screen is opened the change is instant – there is no transition phase between screens.

This is what we want to achieve:



The DigitalRune Animation library provides an animation system for animating objects. In Part 1 and Part 2 the animation system has already been set up and is ready to be used.

Animations...
By DigitalRune Team on Tuesday, November 29, 2011

This is the second part of the step-by-step tutorial for building a simple game menu in XNA. Previously we have set up the project, the game loop, and added the UI theme. Now it’s time to implement the game logic…

By DigitalRune Team on Monday, November 28, 2011

The latest release of the DigitalRune Engine contains a new sample called GameStatesSample which covers a some of the basics:

  • How to set up the game loop.
  • How to define a theme for rendering the user-interface.
  • How to create a game menu which can be controlled via gamepad, mouse, and keyboard.
  • How to manage different game screens using a state machine.
  • How to transition between screens using animations.

The result is a stripped down XNA application – no fancy graphics, no gameplay, just a few screens and menus. Take a look:

...

By DigitalRune Team on Friday, October 07, 2011

This article is a step-by-step description of my first attempt to create a tree view control. I spent less than 4 hours of work on the control and this was the result:

image

In this article I will explain the development steps, as well as my thought process. At the end of the article you can download the source code.

By DigitalRune Team on Tuesday, October 04, 2011

This time we take a look at how the DigitalRune Game UI library handles input.

Overview

Here is a class diagram showing only the types and type members related to input processing:

By DigitalRune Team on Friday, September 30, 2011

While we discussed the GUI rendering process in the last article, we left out any details about the default UI renderer. if you plan to create custom controls, you will want to extend the standard renderer, and this blog post will hopefully provide the missing explanations.

By DigitalRune Team on Wednesday, September 28, 2011

In the last article about the DigitalRune Game UI we examined how the size and position of a GUI control is determined. Yet we have not discussed where and how the controls are drawn to the screen. This the topic of this article. – This will be another rather dry article, but we are trying to get a lot of information and knowledge across for those who want to extend or learn from our DigitalRune Game UI library. So let’s jump right in…

 

By DigitalRune Team on Monday, September 26, 2011

Here is another in-depth article about the DigitalRune Game UI. This article discusses the layout process of GUI controls.

By DigitalRune Team on Thursday, September 22, 2011

So you need a custom control in your XNA game? A new control that is not yet supported in the DigitalRune Game UI? - No problem. There are many ways to extend the DigitalRune Game UI library - as we will discuss in this and upcoming blog posts. We will start by describing a few core concepts that you need to understand before you can take full advantage of the DigitalRune Game UI library.

In this first post we will discuss the concept of UI control properties and events.

By DigitalRune Team on Friday, July 22, 2011

Complex-ToolTipTogether with yesterday’s update we have also put a new version of DigitalRune Game UI online. Below you can find a list of a few things that have changed.

Support for Animations

The most important – though maybe not obvious – change is that all GUI controls can now be animated using our new DigitalRune Animation library. Properties such as foreground color, background color, x, y, width, height, opacity, etc. can easily be controlled using animations. A new sample is included which demonstrates some of the possibilities.

By DigitalRune Team on Wednesday, July 13, 2011

The current alpha release of the DigitalRune Game UI does not not have built-in support for animations. This will change when we release our DigitalRune Animation library. Here is a preview video of an XNA application with animated GUI controls:

By DigitalRune Team on Tuesday, July 12, 2011

ControlsSampe-with-BlendBlue-ThemeThe DigitalRune Game UI is a very flexible XNA GUI library that can be used in games for Windows, Xbox 360 and Windows Phone 7. The library can be used to create a simple menu in a console game or a complex GUI in a game editor.

It contains several predefined UI themes. Yesterday, we have created a new theme that will be included in the next release. This blog post shows the necessary steps to create a new UI theme.

By DigitalRune Team on Friday, May 06, 2011

ThemeAeroThe DigitalRune Game UI package is a set of .NET libraries that help to handle device input and create graphical user interfaces (GUIs) in XNA. The libraries support Windows, Xbox 360 and Windows Phone 7. The GUI can be controlled using mouse, keyboard, gamepad or touch input.

With the DigitalRune Game UI you can create a simple game menu for your Xbox 360 or Windows Phone 7 game. Or, you can create a complex user interface for your MMORPG or your game editor. The GUI can be a normal 2D user interface, but is also possible to project the GUI onto 3D surfaces to create in-game user interfaces.