🎉 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!

Untitled

posted in DruinkJournal
Published July 31, 2006
Advertisement
Yay, GUI objects can now move nicely. I'm happy. Next up, I want to modify my tecture manage slightly so I can fit irregular objects into it (E.g. a 200x150 texture gets turned into 32x32 blocks and stuffed in one of those sheets). I'm not sure how well that'll work, or if it's worthwhile, but we'll see. I want to create windows that aren't a power of two width and height.

After that (Or before), I want to be able to drag windows around, and click on objects. That'll probably be the same code actually, just have it so a window responds to dragging, and a button doesn't.

I also need Z-order for windows, that's fairly important. Aaannd, I want a nicer window background. But my art [Read: MS Paint] skills suck, so I might just use an XP screenshot for testing. If I can get everything behaving exactly like standard Windows controls, I'll be a happy chappy.

So, my todo list, with approximate times. 1 day is about 2.5 hours (travelling into work and lunch)

  • Clickable/draggable windows / widgets (1 day)

  • Different sized windows (Sprite manager code) (2-3 days)

  • Z-ordering for windows (< 1 day)

  • Pretty windows (< 1 day)


Not much there, I know. I can't be bothered writing any more.
Previous Entry Untitled
Next Entry Untitled
0 likes 2 comments

Comments

Ravuya
I also want to get draggable windows working in Propane UI, but I'm not sure it's 100% necessary. Games with a draggable in-game UI (like Ultima Online) just piss me off.

Also, you can create arbitrarily sized windows by just producing eight sprites (corners and edges) and just stretching out the edges. It's what classic Mac OS does, and I'm sure Windows does the same thing.

I suppose it won't make uniquely-shaped windows (such as Ultima VII's bizarrely shaped frobs).
July 31, 2006 11:03 AM
Evil Steve
Quote: Original post by Ravuya
Also, you can create arbitrarily sized windows by just producing eight sprites (corners and edges) and just stretching out the edges. It's what classic Mac OS does, and I'm sure Windows does the same thing.

I suppose it won't make uniquely-shaped windows (such as Ultima VII's bizarrely shaped frobs).
I was thinking about this, but I decided I wanted wierd windows. I can always support both without any problems of course.
July 31, 2006 11:38 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement