Jump to content
  • Advertisement
  • entries
  • comments
  • views

Notification System

Sign in to follow this  


[Notification System]
I've added a nice little notification system to my UI library. Here's a shot of it in action:

Here's a better shot, taken with the Window's Snipping Tool; an actual screenshot doesn't contain the notification. The notification you can see at the bottom of the image in the notification is one like in the original image.

I also updated the Notification class to include:
- Icon size; I didn't want to force a specific size, but if I just draw the whole image it can really throw things off.
- Tag data so that it can be used for processing on the OnNotification method of the game engine class.

So now I can show notifications via UIEnvironment.ShowNotification(Notification). Notification has a few options:
- Message
- Icon (texture and region)
- Alignment
- Position/Offset
- Display duration

I was originally adding this as a replacement for the 'tutorial' popups, but it's not really that good of an idea as there would be a large, annoying, non-user-controlled popup somewhere on the screen. Which, in my opinion, is worse than a game-stopping popup.

[Treasure House Demo]
I realized today that I designed the entire demo without any sort of a puzzle; it's basically "just get these items and read some dialog." Definitely need to fix that.

For anyone that missed it: Treasure House Demo Beta

Sadly, nothing else to report today; I slept most of the night away and now I need to get ready for bed so I can get up and go to work tomorrow.
Sign in to follow this  

1 Comment

Recommended Comments

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!