๐Quick Setup
If you want to start right away, we provide you with a simple snippet of code to include in your project. It shows how to connect with the MyOWO App and how to send a sensation.
To make a basic integration, you will need:
Our Visualizer tool: To validate the connection and sensations sending.
Our API: To integrate our technology in your project code.
Optionally, you could also use our Sensations Creator to create and modify your own Sensations.
public async Task Main()
{
await Connect();
await SendBakedSensation();
SendDynamicSensation();
OWO.Disconnect();
}
Task Connect()
{
//Here we declare two baked sensations, Ball(0) and Dart(1)
var auth = GameAuth.Parse("0~Ball~100,1,100,0,0,0,Impact|0%100,1%100,2%100,3%100,4%100,5%100~impact-0~#1~Dart~12,1,100,0,0,0,Impact|5%100~impact-1~");
OWO.Configure(auth);
return OWO.AutoConnect(); //This operation can be awaited
}
void SendDynamicSensation() => OWO.Send(Sensation.Dagger);
Task SendBakedSensation()
{
OWO.Send("0"); //This ID belongs to the Ball sensation in the GameAuth
return Task.Delay(100); //We wait for the baked sensation to finish
}
Last updated