This content originally appeared on DEV Community and was authored by echo3D
Whether you’re hosting a ping pong championship or need to change out assets for projects deployed on multiple platforms, echo3D makes it easy to do this by simply using an API key and updating in 1 place. Assets are stored on the echo3D cloud and called at runtime so you can focus on other things. Like ping pong. Or trying out more open-source projects on our Github.
In this tutorial, you will play ping pong against another player (or the other side of your brain!)
Click this link https://go.echo3d.co/b1Cm or scan this QR code to see the ping pong championship logo in AR.
Register
Don’t have an echo3D account? Register for FREE at echo3D.
Version
Setup
- Clone this repo, see the full README
- Import the Unity SDK
- Add the assets to the echo3D console from the Unity ‘Models’ folder
- Uncheck the Security box in your console
- In Unity, open the GameBoard scene
- Drag the echo3D script onto Background object in the Hierarchy
- Add the API key and entry ID for each object in the Inspector
- In the Hierarchy, make sure to the boxes are unchecked for the Sprite Renderer for Background
- Adjust the metadata of the Background in the echo3D console. These may work for you: BackgroundImage: scale: .1, zAngle: 180, height: 1180, xAngle: 90, width: 1920, x: .1
Run
- Press Play in Unity. Left player: w and s keys Right player: up and down keys
Switch Out Assets
- Find new asset in the echo3D console (You can upload your own or choose from our library)
- Get the API key and entries ID
- Swap them out on the echo3D script in the Unity Hierarchy and see your assets change when you run in Play mode
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.coor join our support channel on Slack.
Sources
- Ping pong background asset: freepik
Support
Feel free to reach out at support@echo3D.co or join our support channel on Slack. For additional troubleshooting, debug here.
Screenshots
More Tutorials
For more easy tutorials, check these out:
- Build a 3D Balloon Pop game in Unity
- Get a Quarantine Dog in AR
- How to Create 3D Content and See It In AR
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.
This content originally appeared on DEV Community and was authored by echo3D
![](https://www.radiofree.org/wp-content/plugins/print-app/icon.jpg)
echo3D | Sciencx (2022-07-21T23:08:09+00:00) Make a Ping Pong Game in Unity (Tutorial). Retrieved from https://www.scien.cx/2022/07/21/make-a-ping-pong-game-in-unity-tutorial/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.