Skip to main content

Avatar Class

7 replies [Last post]
xgyang
Offline
Joined: 2009-04-06
Points: 0

This might be a stupid question: does anyone know where I can find the Avatar class?

In avatarbase module, WIAvatarCharacter extends imi.character.avatar.Avatar class. Where can I find the source code of this class? Or is it from included libraries? Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
xgyang
Offline
Joined: 2009-04-06
Points: 0

What I am trying to do is attempting to change the avatar's movement, does anyone know which source file I should look at? Thanks!

jagwire
Offline
Joined: 2008-06-21
Points: 0

xgyang,

You can kind of manipulate the key bindings in WlAvatarCharacter.java in the avatarbase module found in modules/world/avatarbase. It looks like if you want to go further than that, you'll have to checkout the actual avatar project from java.net.

Hope this helps,

jW

xgyang
Offline
Joined: 2009-04-06
Points: 0

Thanks jW! I will check out the Avatar project. So, does Wonderland include the Avatar project in a jar?

jagwire
Offline
Joined: 2008-06-21
Points: 0

xgyang,

Looks like avatars.jar is in the lib directory of the avatarbase module.

jW

xgyang
Offline
Joined: 2009-04-06
Points: 0

Thanks jW!

rdahlgren
Offline
Joined: 2008-10-14
Points: 0

The Avatar project will be undergoing some sweeping API changes over the next week and a half. Please keep this in mind if you code to the current module!

Ron

Doug Twilleager

It's in a separate repository: avatars.dev.java.net

Doug

On Jun 17, 2009, at 8:02 PM, wonderland@javadesktop.org wrote:

> This might be a stupid question: does anyone know where I can find
> the Avatar class?
>
> In avatarbase module, WIAvatarCharacter extends
> imi.character.avatar.Avatar class. Where can I find the source code
> of this class? Or is it from included libraries? Thanks!
> [Message sent by forum member 'xgyang' (xgyang)]
>
> http://forums.java.net/jive/thread.jspa?messageID=351740