UI Experiments

I only had an hour or two of down-time at work today, but I was able to put together some quick prototype stuff to experiment with the 3D animated UI I mentioned in the previous (double) post. Here is some video of what I did in action. It's obviously not production code, just testing some concepts.

When a player-controlled unit is activated, the UI animates into place. When the unit is deactivated, the UI elements ease back off the screen. In this test, the UI consists solely of the animated character portrait and 2 test action icons. The icons aren't "hooked up" yet; I haven't implemented any hit-testing code yet, so it's still all hotkey driven. This is just a proof of concept of sorts, for me to see if the idea works for me. It needs a lot of polishing, but I think the core idea of it is sound.

I like it so far, to be honest. I think the concept has merit, and it's certainly simple enough to do. All of the various elements are just sort of piled up in locations off-screen in the overlay scene manager, hooked up to ease-in/ease-out animators that swap them into place as needed. The character portrait eases in from the side, the icons swivel up from the bottom. I'm thinking I would probably animated the icon platforms as well, since there is really no need to have them on-screen when the AI units are acting. I imagine they could ease in from the bottom, perhaps stair-stepped by giving each a different offset, so that they animated into place sequentially from left to right; similarly with their associated icons. Add some bounce, make it jolly. I think it could be fun.

It's something I'll need to iterate on, but I think the core idea is pretty good so I'll run with it and see how it goes.

Also, you might not want to call them gnoblins. There are real gnoblins lurking about the gamedeve.net journal section, and from what I've seen of them in the alpha they're very obedient and polite. A little too obedient and polite, if you catch my drift. The kind of creepy obedient and polite that has their neighbors saying "He was such a nice, quiet young gnoblin. I never in a million years would have thought he'd ever pick up an axe and chop anyone into thirteen different pieces with it."