DEV Community

Cover image for Play Tic-Tac-Toe with Friends in AR
echo3D for echo3D

Posted on

Play Tic-Tac-Toe with Friends in AR

Here's a simple multiplayer Tic-Tac-Toe demo created with Unity, AR Foundation, and echo3D. The full demo can also be found on echo3D's GitHub.

Register

Don't have an API key? Make sure to register for FREE at echo3D.

Setup

  • Clone this project and open in Unity
  • Set your echo3D API key in the echo3D prefab
  • Add the models from the models folder to the echo3D console
  • Add the corresponding metadata from the metadata folder to the model on the echo3D console
  • Update the following variables in CustomBehaviour.cs: string APIKey and string playerName

Run

  • Build and run the AR application.
  • Build two instances of the game, one instance with string playerName = "o" and another instance with string playerName = "x" to simulate multiplayer

Learn more

Refer to our documentation to learn more about how to use Unity and echo3D.

Support

Feel free to reach out at support@echo3D.co or join our support channel on Slack.

Screenshots


echo3D (www.echo3D.co; Techstars 19') is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content.

Top comments (0)