06-26-2017 05:32 AM
06-26-2017 05:32 AM
Hey
Can you explain how to integrate the Arcade Sessions functionality?
Like when/where in the Game does arcade session need to be Started and Stopped. Is it for example every time a round based game starts/ends or when the Game was first started and quit?
Does it need to be as a button for arcade owners? Please explain in detail. I am using Unity engine.
Also as i understand only mandatory integrations for Viveport SDK is the script for initializing viveport, based on ID-s(ViveportDemo.cs for Unity)?
All the best,
Rando
07-05-2017 11:34 PM
07-05-2017 11:34 PM
Hi @WadupGames
Can you explain how to integrate the Arcade Sessions functionality? Like when/where in the Game does arcade session need to be Started and Stopped. Is it for example every time a round based game starts/ends or when the Game was first started and quit?
Ans. Please refer to:https://developer.viveport.com/documents/sdk/en/api_session.html#viveport-arcade-session-work-flow
Does it need to be as a button for arcade owners? Please explain in detail. I am using Unity engine. Ans. Game should design its own way to start/stop a session. Take a famous arcade game “Street Fighter” as example: A session starts after the player chooses a character and starts the first fight. You should call Start() at this moment. After the player loses twice, game is over, and a session ends. You should call Stop()
Also as i understand only mandatory integrations for Viveport SDK is the script for initializing viveport, based on ID-s(ViveportDemo.cs for Unity)?
Ans. Please refer to: https://developer.viveport.com/documents/sdk/en/api_session.html#how-to-use-sessions-api
Cory.C