纳金网

标题: IMVU API for Unity(导出版) [打印本页]

作者: 710960383    时间: 2017-4-1 10:53
标题: IMVU API for Unity(导出版)
Requires Unity 5.2.4 or higher.
The IMVU API for Unity is here!

Get the attention of millions of IMVU customers by letting them play your games with their avatars and their friends!

The IMVU API for Unity is a library that allows users to authenticate with IMVU and load their Mecanim avatar into your app AND load their friends' avatars as well. You can leverage their IMVU assets (avatars and outfits) and their social network in WebGL, iOS and Android.

IMVU has one of the most dynamic economies on the Internet. Users are always searching for ways to spend IMVU Credits (our virtual currency.) Start building apps now and leverage the IMVU economy and the huge IMVU social community.

Note: if you intend to use Photon networking, get our other version of this API: here.

FEATURES:

* Attachment animations: you can choose to have an Avatars attachments (tails, wings, pets) animate automatically

* Avatar Outfits: load images of each of the user's outfits. Load each outfit as a new avatar in your app and show outfit details

* Blinking:  you can choose whether or not loaded Avatars will blinks their eye(s)

* Connect to IMVU: Users connect with their IMVU username (WebGL apps that are published to the IMVU site will auto-authenticate)

* Gaze: The avatar's eyes can gaze at something, allowing control of where the eyes are looking.

* IMVU Feed: read images from IMVU feeds and post screenshots to the user's personal IMVU feed (IMVU has personal, subscribed and recommended feeds)

* Load a user's avatar, directly into Unity, with the outfit they are currently wearing

* Load a user's info and 2d images for the user's avatar

* Load a the user's list of friends, paginated

* Load friend avatars from the user's friend list to be used as NPCs (loads their "profile" outfit, not the currently worn outfit)

* Automatic support for level of detail (LOD), keeping your frame rate up

* When loading IMVU assets and data we handle network retries and throttling for you, keeping your app robust

* Messaging: Apps can send an invitation asking a user's friends if they'd like to play your application

* Monetization - You can now create in-app purchases allowing users to spend IMVU credits in your app

* Multi-User support: Added network support and samples for multi-user experiences. The UNetAssetLoader component will synchronize the loading of IMVU assets. (IMVU's API has 2 unity packages available. One supports Photon, the other does not require Photon and can be used with UNet.)

* 0Auth Support: IMVUnity now uses OAuth for connection to IMVU. You are required to register your app with IMVU (as noted in the setup documents) and now customers will leverage the safe and secure OAuth flow for logging in. [You are strongly encouraged to leverage our QuickStart guide to get up and running painlessly.]

Once the avatar is in your game you can use ragdoll, equip the character with items, add actions, etc. Anything you can do in Unity3d you can do with these new avatars...and IMVU customers can use THEIR avatars within the experience you create. IMVU users can also spend IMVU credits within your game and you can cash out those credits for profit.

CODING EXAMPLES:

These scenes, along with sample code, are shipping with the API for your reference:

* Action: animate the attachments on an Avatar and adjust whether or not the Avatar automatically blinks it's eye(s)

* Connection: Show how to connect and disconnect a user from IMVU

* Equip: Load the user's avatar into the scene and provide 4 buttons that equip the avatar with swords

* Feed: Read and display 7 images from the user's personal IMVU feed

* FeedPostTest: Take a screenshot and display a dialog allowing the user to post that screenshot to their personal IMVU Feed

* Friends: Load a paginated list of the user's friends and load each friend avatar into the scene when clicked

* FriendsProfile: Load a paginated list of the user's friends and load the profile info of each friend when clicked

* Gaze: Load an avatar, have it gaze at an object and let the user move that object around while the avatar watches it

* Identity: Load the user's avatar into the scene and display a 2D image of the avatar along with some user details

* InAppPurchases: Load and purchase items you have defined as "on sale" within your app and check purchase status

* MaterialType: load an avatar and look at it using Lit, Unlit and Physically Lit shaders. (Unlit shaders greatly reduce the GPU overhead, and are particularly useful on mobile.)

* Messaging: a demo to test the sending of IMVU messages to a user's friends

* MorphFBXDemo: Show how to apply an FBX imported morph animation on an IMVU avatar

* Outfit: Display images for each of the user's outfits. When the user selects a look his/her avatar is updated with that outfit

* Ragdoll: Load the user's avatar into the scene and provide buttons to drop the avatar into ragdoll mode and back

* UNet: Run multiple instances of this sample and load multi

1.png (358.19 KB, 下载次数: 204)

1.png

2.jpg (99.53 KB, 下载次数: 200)

2.jpg

3.jpg (72.22 KB, 下载次数: 199)

3.jpg

4.jpg (69.7 KB, 下载次数: 270)

4.jpg

5.jpg (98.19 KB, 下载次数: 190)

5.jpg

6.jpg (58.33 KB, 下载次数: 201)

6.jpg

IMVUnity.zip

3.21 MB, 阅读权限: 10, 下载次数: 30






欢迎光临 纳金网 (http://wwww.narkii.com/club/) Powered by Discuz! X2.5