Jump to content
  • Advertisement
  • entries
    17
  • comments
    28
  • views
    27273

Event Subsystem, Optimization, and Gui Foundation

Sign in to follow this  
Nit

354 views

Since my last post, I have been spending my efforts on integrating game events into Azrial. So far, so good.

After completing the event subsystem, I moved onto writing a generic user interface system. I am aware of all of the libraries out there that already do this for you, but 90% of the fun of game development is doing to work yourself and learning from your own mistakes.

Anyway, so I decided to develop my interface as a heirarchical tree. I will describe the gui more in a later post, when I get a few more generic UI components written up (buttons, textfield, textarea).

The components that I did complete include:
-Panels
-Borders (can be added to any component)
-Labels

I was off to a great start, until I decided to make a panel that displays my current FPS. I was shocked to find out that my FPS was down to 40 (I had a bug in my original fps log file).

I went on an optimization kick, and brought the fps back up to 65. I still have more tricks up my sleeve, but it suffices for now.

Next post, I'll show off my new generic interface system with some screenshots, and perhaps some code snippets for the gamedev community.
Sign in to follow this  


2 Comments


Recommended Comments

No no. I wasn't implying that the G in GUI stood for generic. I just spelled out user interface because some people read this journal that don't have a programming background.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!