Dance Party

My first widget that uses the transparency feature:

http://www.fugugames.com/ElektraDance.wdgt.zip

Also the first widget where it makes sense to have more than one up at a time - start up iTunes and start dancing! (see pic)

There’s also a more scenery-filled web player:

http://www.fugugames.com/ElektraDance.html

which runs at 4fps on my old Mac Mini but half-decent on my MacBook Pro.

I always wondered what the Silent Hill cast did after hours… They get down with Marvin Gaye and Eric Clapton! Groovy. :wink:

Interesting though…
-Jeremy

LOL - thats why the Silent Hill characters are so angry - Marvin Gaye will do that to you.

Cool animation tho - its not mocap is it?

Shaun :slight_smile:

I’m pretty sure it’s mocap. The character and animation were provided by my friends at http://www.elektrashock.com/ as an fbx exported from Maya, and I believe they have a Vicon system.

The music is a long sample I grabbed out of GarageBand. Everything else is from Standard Assets and the Nature Pack.

The character looked a lot more corpsified earlier, when I had to manually reattach the normal map on the body and first ran it through Generate Bump Map - bad idea. Just dragging it into the bump material without additional processing worked better.

I’m sure I’m not alone in this when I say

AAAAAAAAAAAAAAAAAAAAAAHHHHHHH!

that’s really cool - i had no idea you could have moving transparency like that in a widget.

You can activate transparency (or translucency) in your widget via Edit->Project Settings->Player->Use Alpha in Dashboard.

It’s not a highly advertised feature, and I only found it by randomly trying out settings, but it’s cool to have a widget-specific feature so all my web players and widgets don’t look exactly alike. And there are some cool non-Unity widgets that have transparency (like one where you drag up individual widgets each of which is a Lego-like brick).

One tricky thing is the widget border - if you don’t want the standard border around your transparent widget you have to go into the widget html and remove them, but then you also have to adjust the player dimensions to cover that space (or change the total widget size in the plist file). I just left the bottom edge of the border so you can still drag the widget around and have a place for the maximize and info buttons.

Hey should the camera be set to depth only for this? Im getting streaking all over the show…Thanks
AC

I don’t see any streaking (unless you’re talking about the dancing nude) on my MacBook Pro or Mac Mini. This is with the widget, right, not the web player? (that has an intentional blurring effect at the beginning)

And by depth-only, you mean the camera clear flag? The widget has it set to Skybox, which should be OK - that falls back to the background color, which is fully transparent. Are you running the latest web player? What hardware and OS are you using?

Heh I was talking about my own app. I set it to skybox like you said and it worked fine, the other camera settings were not working. Thanks Technicat.
AC

Solid Color should also work as the camera clear flag. Skybox is the same if you have no skybox, but if you do have a skybox, that can be cool, too, e.g. transparent sky with semitransparent clouds (only useful result I can think of for the import-with-grayscale-alpha settings of the Standard Assets skyboxes)