Bowling Home VR - My little project for VR content on Focus platform

Vive Staff

Re: Add Leaderboard / Achievement for Bowling Home VR

Hi @iMMERGENCE,

 

2Bears Studio from HTC has implemented Leaderboard on Super Puzzle Galaxy (published on Viveport) based on Viveport SDK, and you can take a look first.

If you need any more assitant, I can help to link related RD to support you for implementation.

Thanks.

iMMERGENCE
Builder

Re: Add Leaderboard / Achievement for Bowling Home VR

Ok thanks. I found this for beginning . i will try to integrate in my project.
https://developer.viveport.com/documents/sdk/en/api_leaderboard.html

iMMERGENCE
Builder

Re: Add Leaderboard / Achievement for Bowling Home VR

I had an error about initializion vor Viveport SDK

"Please make sure init & isReady are successful.

i add viveportDemo.cs in scene and try to call function for see what's happen.

 

i added AppKey in one lign, is it OK ?

 

static string APP_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMhFbyz+a8LhBlah3GLty9kcAPBc9yYWC9f3+3ZnaYpa2OaK24vJyV4wt6MsQpVH2Amk4+G8V+wWRxFi85MWMoQpGPRnC9ghFY97aQPUOwb5PJiUztumA8OzCiNJfmg+UmWkDRxtw7US+lWkyKkolazGMmKmTquzoK/LgVXr9ObwIDAQAB";

 


shot.JPG

 

 

 

 

 

 

iMMERGENCE
Builder

Re: Add Leaderboard / Achievement for Bowling Home VR

i added in manifest

 <uses-permission android:name="com.viveport.CHECK_LICENSE"/>

but not inittialization yet ... i search why

iMMERGENCE
Builder

Re: Add Leaderboard / Achievement for Bowling Home VR

allright i found.  i understood. need to call first in Start function

 

public void InitViveApp(){
		if (bInit == false)
			Api.Init(InitStatusHandler, APP_ID);
	}

and after when opening leaderboard menu by example use this

 

	public void InitReady(){
		if (bInit == true)
			UserStats.IsReady(IsReadyHandler);
	}

After that all functions works fine !

 

@Tony PH Lin

iMMERGENCE
Builder

Re: Add Leaderboard / Achievement for Bowling Home VR

look it's ok for Get user name and image but didn't receive anything with leaderboard, stats and achievment.

i don't have callback function when i used downloadStats() or anything else.

 

i make a video for show a little (sorry for quality) need to invest i think in Vysor

 

 

i tried this by example but not work correclty for me, anybody can help please

 

	public void GetAchievment(){

		if (bInit == true && bIsReady == true) {
			bool bAchievement = false;
			bAchievement = UserStats.GetAchievement (achivToEdit);

			Viveport.Core.Logger.Log ("Get achievement => " + achivToEdit + " , and value is => " + bAchievement);
			infoTextLeaderboard.text = "Get achievement => " + achivToEdit + " , and value is => " + bAchievement;
		} else {
			Viveport.Core.Logger.Log ("Please make sure init & isReady are successful.");
			infoTextLeaderboard.text = "Please make sure init & isReady are successful.";
		}
	}



	public void SetAchievment(){
		if (bInit == true && bIsReady == true)
		{
			UserStats.SetAchievement(achivToEdit);
			Viveport.Core.Logger.Log("Set achievement => " + achivToEdit);
			infoTextLeaderboard.text = "Set achievement => " + achivToEdit;
		}
		else
		{
			Viveport.Core.Logger.Log("Please make sure init & isReady are successful.");
			infoTextLeaderboard.text = "Please make sure init & isReady are successful.";
		}
	}

 

 ( @yakingkuo)

iMMERGENCE
Builder

Re: Add Leaderboard / Achievement for Bowling Home VR

Yes please let me know how can you help for better implementation. It's ok now i can get username and userphoto with viveport SDK but i am block at the moment to leaderboard, stats, and achievment. don't know how use it correctly for retrieve information. i created multiple leaderboard and stats in dashboard application. i try to link together for build all necessary component for have a good bowling game.

Best,
Loic
Vive Staff

Re: Add Leaderboard / Achievement for Bowling Home VR

@iMMERGENCE@yakingkuo provides support on the Viveport SDK and should be able to review this thread later today. 

To reach Viveport's customer service team, email customerservice@viveport.com

To connect with a live support agent for hardware support, go to www.vive.com/support, click on "contact us" in the top righthand corner, and then opt to speak with a Live Chat agent

David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM

Vive Staff

Re: Add Leaderboard / Achievement for Bowling Home VR

Hi @iMMERGENCE,

 

Our colleague, Yaking, met access problem to reply here.

I have sent you a PM to follow up, please check it.

Thanks.

iMMERGENCE
Builder

Controller Update Bad for me

Since the update of the controller, my game is less playable for throw my ball now. Smiley Sad

When controller is not display in camera view, the controller rotate strangly and it is very difficult to throw the ball in front of the player. for me it was better before update !

 

So how retrieve controller before update controller ? possible or not

 

 

iMMERGENCE
Builder

Re: Controller Update Bad for me

it is not just in my game but everywhere i saw,

the controller is really not cool for interaction now. it rotating strangly everytime, i don't know why,i think you add smooth movement and reorient when camera see the controller maybe..what s going on please. Possibility to back before controller update ? please put an options for this controlle rotate strangly. for me i don't want this feature cause all my work is down now with this controller update. i am disappointed if cannot use controller setting before update.

 

Vive Staff

Re: Controller Update Bad for me

Is this caused the new setting (Follow Head) has been set as default so the controller behavior is changed?

FollowHead.png

iMMERGENCE
Builder

Re: Controller Update Bad for me

ok i understand i am so scared, me i used input vive Utility with VivePoseTracker

i don't used Wave Vr Controller Loader but i will replace my old script from vive utility to this behaviour.

it give you feedback soon.

Thx

 

iMMERGENCE
Builder

Soon available. What you think about my spot?

what do you think of my spot made with my small means ? please review

Play Bowling anywhere, anytime. just now with Bowling Starlight Game. Features : # Single Mode / Vs. CPU / until 4 Players # Change Ball and Glove Equipment # Win Some Badges & Cups # REAL PHYSICS integrated # Dynamic Focus Ball # NightClub Atmosphere Soon available on Viveport for Vive Focus ...
Vive Staff

Re: Soon available. What you think about my spot?

Hi @iMMERGENCE,

 

Vey excited you finished the game shortly, and I'm interested how you manage interaction of controller with game play design. If you don't mind to share the apk privately, I can invite some senior colleagues from 2 Bears Studio help to provide some comments.

A quick feedback for this short video, I like it's good and obviously to see 4 players can play together and when one is playing, others can enjoy from the streaming via Miracast. The night club atmosphere is awesome in the game, and I can image it's a good demo for friends or family gathering on Friday night etc. However it's not 100% matching with children (maybe it's culture difference Smiley Happy Maybe provide 3 or 4 scene places for selection is one of possible direction.

One question since I haven't played it, is it easy for flow change when player switch?

This is just my two cents.