🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Newsletter #47 - Mutant Hat

posted in IfThen Software
Published September 17, 2009
Advertisement



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.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement