Sponsored By

Newsletter #47 - Mutant Hat

Drag and drop works, drawing of a bone monster, and a sketch of a mutant hat.

Michael Grand, Blogger

September 17, 2009

1 Min Read
Game Developer logo in a gray background | Game Developer


News

No news to report this week.


From the Programmer
Written by Invisible

The reference counting system works, and supports strong as well as weak references. Because of this, I was finally able to get the problems with the drag and drop system fixed. The GUI system keeps a strong reference to the GUI elements, and the GUI system's user keeps weak references to the GUI elements so that it can talk to them. This way the GUI system "owns" all GUI elements, and you never have a GUI element existing outside of the GUI system.

I am planning on cleaning up various parts of the GUI and other systems before moving on to the next GUI element type. One of the changes will be containing registering user input handlers inside of the GUI system. If the user interface needs to detect a keypress (for example, to move the character or exit the game) or other user input, it will register a user input handler with the root GUI element instead of directly to the user input system.


Artist's Easel
Written by GreyKnight

iScribble Sketches #5

(Click to enlarge)

(Click to enlarge)


Community Spotlight
Written by Invisible

Sorry, there isn't a community spotlight article this week.

Read more about:

2009Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like